From 673827cce3b97dc1cbb94c9be1b92cbd626babd7 Mon Sep 17 00:00:00 2001 From: Hoan Luu Huu <110280845+xquanluu@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:08:15 +0700 Subject: [PATCH] fixed adulting call session does not send status callback if hangup is used (#907) --- 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 0df53522..d8e850af 100644 --- a/lib/utils/place-outdial.js +++ b/lib/utils/place-outdial.js @@ -447,6 +447,8 @@ class SingleDialer extends Emitter { }); 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')); return cs; }