|
|
|
@ -579,6 +579,15 @@ JitsiConference.prototype.toggleRecording = function (token, followEntity) { |
|
|
|
|
reject(new Error("The conference is not created yet!"))}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns true if the SIP calls are supported and false otherwise |
|
|
|
|
*/ |
|
|
|
|
JitsiConference.prototype.isSIPCallingSupported = function () { |
|
|
|
|
if(this.room) |
|
|
|
|
return this.room.isSIPCallingSupported(); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Dials a number. |
|
|
|
|
* @param number the number |
|
|
|
@ -6753,6 +6762,15 @@ ChatRoom.prototype.toggleRecording = function (token, followEntity) { |
|
|
|
|
reject(new Error("The conference is not created yet!"))}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Returns true if the SIP calls are supported and false otherwise |
|
|
|
|
*/ |
|
|
|
|
ChatRoom.prototype.isSIPCallingSupported = function () { |
|
|
|
|
if(this.moderator) |
|
|
|
|
return this.moderator.isSipGatewayEnabled(); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Dials a number. |
|
|
|
|
* @param number the number |
|
|
|
@ -10552,7 +10570,7 @@ function Moderator(roomName, xmpp, emitter) { |
|
|
|
|
// Sip gateway can be enabled by configuring Jigasi host in config.js or
|
|
|
|
|
// it will be enabled automatically if focus detects the component through
|
|
|
|
|
// service discovery.
|
|
|
|
|
this.sipGatewayEnabled = |
|
|
|
|
this.sipGatewayEnabled = this.xmppService.options.hosts && |
|
|
|
|
this.xmppService.options.hosts.call_control !== undefined; |
|
|
|
|
|
|
|
|
|
this.eventEmitter = emitter; |
|
|
|
|