Module: kamailio
Branch: master
Commit: 81be737f29cbb9e4fd67a09cf2207150b2649e91
URL:
https://github.com/kamailio/kamailio/commit/81be737f29cbb9e4fd67a09cf220715…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2016-10-19T11:32:25+02:00
modules/tmx: fix mi command t_uac_cancel
---
Modified: modules/tmx/t_mi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/81be737f29cbb9e4fd67a09cf220715…
Patch:
https://github.com/kamailio/kamailio/commit/81be737f29cbb9e4fd67a09cf220715…
---
diff --git a/modules/tmx/t_mi.c b/modules/tmx/t_mi.c
index c3b14fb..d6ada3e 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);