From b867395d878abccdfb52c42ce127215c10d775d5 Mon Sep 17 00:00:00 2001 From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com> Date: Tue, 23 Jan 2024 19:12:43 +0700 Subject: [PATCH] fix aldulting call does not send status callback when hhangup (#623) --- lib/utils/place-outdial.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils/place-outdial.js b/lib/utils/place-outdial.js index c45e281c..b5d18193 100644 --- a/lib/utils/place-outdial.js +++ b/lib/utils/place-outdial.js @@ -415,6 +415,8 @@ class SingleDialer extends Emitter { this.accountInfo.account.webhook_secret); else app.notifier = {request: () => {}, close: () => {}}; } + // Replace old application with new application. + this.application = app; const cs = new AdultingCallSession({ logger: newLogger, singleDialer: this,