Module: kamailio
Branch: 4.4
Commit: 0cd00fc0c84b1d3d80fff9ae809835057bbe6a4e
URL:
https://github.com/kamailio/kamailio/commit/0cd00fc0c84b1d3d80fff9ae8098350…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2016-10-19T12:00:36+02:00
modules/tmx: fix mi command t_uac_cancel
(cherry picked from commit 81be737f29cbb9e4fd67a09cf2207150b2649e91)
---
Modified: modules/tmx/t_mi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0cd00fc0c84b1d3d80fff9ae8098350…
Patch:
https://github.com/kamailio/kamailio/commit/0cd00fc0c84b1d3d80fff9ae8098350…
---
diff --git a/modules/tmx/t_mi.c b/modules/tmx/t_mi.c
index 485b160..beab1c5 100644
--- a/modules/tmx/t_mi.c
+++ b/modules/tmx/t_mi.c
@@ -641,6 +641,7 @@ struct mi_root* mi_tm_cancel(struct mi_root* cmd_tree, void* param)
init_cancel_info(&cancel_data);
cancel_data.cancel_bitmap = ~0; /*all branches*/
+ _tmx_tmb.prepare_to_cancel(trans, &cancel_data.cancel_bitmap, 0);
_tmx_tmb.cancel_uacs(trans, &cancel_data, 0);
_tmx_tmb.unref_cell(trans);