mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
Fix/issue 676 (#680)
* fix bargin is not working * fix bargin is not working
This commit is contained in:
@@ -684,7 +684,8 @@ class CallSession extends Emitter {
|
|||||||
}
|
}
|
||||||
task = await this.backgroundTaskManager.newTask('bargeIn', gather);
|
task = await this.backgroundTaskManager.newTask('bargeIn', gather);
|
||||||
task.sticky = autoEnable;
|
task.sticky = autoEnable;
|
||||||
task.once('bargeIn-done', () => {
|
// listen to the bargein-done from background manager
|
||||||
|
this.backgroundTaskManager.once('bargeIn-done', () => {
|
||||||
if (this.requestor instanceof WsRequestor) {
|
if (this.requestor instanceof WsRequestor) {
|
||||||
try {
|
try {
|
||||||
this.kill(true);
|
this.kill(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user