Module: kamailio Branch: master Commit: caad49279e6db7e85e3f2b84276f9defb0aa4eef URL: https://github.com/kamailio/kamailio/commit/caad49279e6db7e85e3f2b84276f9def...
Author: Xenofon Karamanos xk@gilawa.com Committer: Henning Westerholt hw@gilawa.com Date: 2025-06-18T09:07:59+02:00
tmx: Update to use new tm FLAG for CANCEL
---
Modified: src/modules/tmx/tmx_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/caad49279e6db7e85e3f2b84276f9def... Patch: https://github.com/kamailio/kamailio/commit/caad49279e6db7e85e3f2b84276f9def...
---
diff --git a/src/modules/tmx/tmx_mod.c b/src/modules/tmx/tmx_mod.c index aae6547834d..4e1e7c78289 100644 --- a/src/modules/tmx/tmx_mod.c +++ b/src/modules/tmx/tmx_mod.c @@ -333,7 +333,7 @@ static int t_cancel_branches_helper(sip_msg_t *msg, int n) LM_DBG("canceling %d/%d\n", n, (int)cancel_data.cancel_bitmap); if(cancel_data.cancel_bitmap == 0) return -1; - _tmx_tmb.cancel_uacs(t, &cancel_data, 0); + _tmx_tmb.cancel_uacs(t, &cancel_data, F_CANCEL_LOCAL); return 1; }
@@ -408,7 +408,7 @@ static int ki_t_cancel_callid_reason( cancel_data.reason.cause = rcode; cancel_data.cancel_bitmap = 0; _tmx_tmb.prepare_to_cancel(trans, &cancel_data.cancel_bitmap, 0); - _tmx_tmb.cancel_uacs(trans, &cancel_data, 0); + _tmx_tmb.cancel_uacs(trans, &cancel_data, F_CANCEL_LOCAL);
//_tmx_tmb.unref_cell(trans); _tmx_tmb.t_sett(bkt, bkb);