fixed adulting call session does not send status callback if hangup is used (#907)

This commit is contained in:
Hoan Luu Huu
2024-09-19 21:08:15 +07:00
committed by GitHub
parent c4c5ad33d8
commit 673827cce3

View File

@@ -447,6 +447,8 @@ class SingleDialer extends Emitter {
}); });
cs.req = this.req; cs.req = this.req;
// fixed hangup an adulting session does not send status callback Completed
cs.wrapDialog(this.dlg);
cs.exec().catch((err) => newLogger.error({err}, 'doAdulting: error executing session')); cs.exec().catch((err) => newLogger.error({err}, 'doAdulting: error executing session'));
return cs; return cs;
} }