mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-02-13 01:39:26 +00:00
This reverts commit 761b7f26e7.
This commit is contained in:
@@ -465,7 +465,7 @@ class Conference extends Task {
|
|||||||
|
|
||||||
doConferenceMute(cs, opts) {
|
doConferenceMute(cs, opts) {
|
||||||
assert (cs.isInConference);
|
assert (cs.isInConference);
|
||||||
this.logger.info(`Conference:doConferenceMute ${mute ? 'muting' : 'unmuting'} member`);
|
|
||||||
const mute = opts.conf_mute_status === 'mute';
|
const mute = opts.conf_mute_status === 'mute';
|
||||||
this.ep.api(`conference ${this.confName} ${mute ? 'mute' : 'unmute'} ${this.memberId}`)
|
this.ep.api(`conference ${this.confName} ${mute ? 'mute' : 'unmute'} ${this.memberId}`)
|
||||||
.catch((err) => this.logger.info({err}, 'Error muting or unmuting participant'));
|
.catch((err) => this.logger.info({err}, 'Error muting or unmuting participant'));
|
||||||
@@ -568,8 +568,8 @@ class Conference extends Task {
|
|||||||
/**
|
/**
|
||||||
* mute or unmute side of the call
|
* mute or unmute side of the call
|
||||||
*/
|
*/
|
||||||
async mute(callSid, doMute) {
|
mute(callSid, doMute) {
|
||||||
this.doConferenceMute(this.callSession, {conf_mute_status: doMute ? 'mute' : 'unmute'});
|
this.doConferenceMute(this.callSession, {conf_mute_status: doMute});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user