fix aldulting call does not send status callback when hhangup (#623)

This commit is contained in:
Hoan Luu Huu
2024-01-23 19:12:43 +07:00
committed by GitHub
parent 1a80910f91
commit b867395d87

View File

@@ -415,6 +415,8 @@ class SingleDialer extends Emitter {
this.accountInfo.account.webhook_secret); this.accountInfo.account.webhook_secret);
else app.notifier = {request: () => {}, close: () => {}}; else app.notifier = {request: () => {}, close: () => {}};
} }
// Replace old application with new application.
this.application = app;
const cs = new AdultingCallSession({ const cs = new AdultingCallSession({
logger: newLogger, logger: newLogger,
singleDialer: this, singleDialer: this,