Module: kamailio
Branch: master
Commit: 8a0015140dabaa7de4ad47744903cb722dba674a
URL:
https://github.com/kamailio/kamailio/commit/8a0015140dabaa7de4ad47744903cb7…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2016-10-19T11:59:44+02:00
Merge pull request #825 from kamailio/t_uac_cancel-fix
modules/tmx: fix mi command t_uac_cancel
---
Modified: modules/tmx/t_mi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8a0015140dabaa7de4ad47744903cb7…
Patch:
https://github.com/kamailio/kamailio/commit/8a0015140dabaa7de4ad47744903cb7…
---
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);