mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-19 04:17:44 +00:00
reanchor media for A leg
This commit is contained in:
@@ -1086,6 +1086,9 @@ class CallSession extends Emitter {
|
||||
sessionTracker.add(cs.callSid, cs);
|
||||
}
|
||||
if (tasks) {
|
||||
if (!this.ep) {
|
||||
await this.reAnchorMedia();
|
||||
}
|
||||
const t = normalizeJambones(this.logger, tasks).map((tdata) => makeTask(this.logger, tdata));
|
||||
this.logger.info({tasks: listTaskNames(t)}, 'CallSession:_lccCallHook new task list');
|
||||
this.replaceApplication(t);
|
||||
|
||||
Reference in New Issue
Block a user