Module: kamailio
Branch: 6.0
Commit: 5d82b77ad9852d8d584edef97ec11e16879a1fd6
URL: 
https://github.com/kamailio/kamailio/commit/5d82b77ad9852d8d584edef97ec11e16879a1fd6

Author: Xenofon Karamanos <x...@gilawa.com>
Committer: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com>
Date: 2025-06-18T08:39:33Z

dialog: Update to use new tm FLAG for CANCEL

(cherry picked from commit 9740f5ea7ee0b9827cf3e113bc1c458f72b8cbf7)

---

Modified: src/modules/dialog/dlg_req_within.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/5d82b77ad9852d8d584edef97ec11e16879a1fd6.diff
Patch: 
https://github.com/kamailio/kamailio/commit/5d82b77ad9852d8d584edef97ec11e16879a1fd6.patch

---

diff --git a/src/modules/dialog/dlg_req_within.c 
b/src/modules/dialog/dlg_req_within.c
index 773ae788e3b..57c2df5475e 100644
--- a/src/modules/dialog/dlg_req_within.c
+++ b/src/modules/dialog/dlg_req_within.c
@@ -407,7 +407,7 @@ static inline int send_bye(
                                LM_DBG("\"%d %.*s\" sent to caller\n", 
bye_early_code,
                                                bye_early_reason.len, 
bye_early_reason.s);
                        } else {
-                               d_tmb.cancel_all_uacs(cell->t, 0);
+                               d_tmb.cancel_all_uacs(cell->t, F_CANCEL_LOCAL);
                                LM_DBG("CANCEL sent to callee(s)\n");
                        }
                        return 0;

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to