support direct call to conference (#746)

* support direct call to conference

* wip

* wip

* wip
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2024-05-28 10:30:52 -04:00
1 parent 10b98630d3
commit c53ad89154
4 files changed
+29 -5

No files matched your search

+2 -2
View File
@@ -1276,7 +1276,7 @@ class CallSession extends Emitter {
async _lccConferenceParticipantAction(opts) {
const task = this.currentTask;
if (!task || TaskName.Conference !== task.name || !this.isInConference) {
return this.logger.info('CallSession:_lccConferenceParticipantState - invalid cmd, call is not in conference');
return this.logger.info('CallSession:_lccConferenceParticipantAction - invalid cmd, call is not in conference');
}
task.doConferenceParticipantAction(this, opts);
}
@@ -1528,7 +1528,7 @@ Duration=${duration} `
return this._lccTag(opts);
}
else if (opts.conferenceParticipantAction) {
return this._lccConferenceParticipantState(opts);
return this._lccConferenceParticipantAction(opts.conferenceParticipantAction);
}
else if (opts.dub) {
return this._lccDub(opts);