浏览代码

tmx(k): missing type for mi_tm_uac_dlg callback

sr tm t_uac() does not automatically register any transaction
callback (unlike old ser or kamailio versions). If a callback is
desired, besides the callback pointer, the callback type mask must
also be specified (in this case TMCB_LOCAL_COMPLETED).
Andrei Pelinescu-Onciul 16 年之前
父节点
当前提交
beb71da826
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules_k/tmx/t_mi.c

+ 1 - 0
modules_k/tmx/t_mi.c

@@ -623,6 +623,7 @@ struct mi_root*  mi_tm_uac_dlg(struct mi_root* cmd_tree, void* param)
 	{
 		uac_r.cb = mi_uac_dlg_hdl;
 		uac_r.cbp = (void*)cmd_tree->async_hdl;
+		uac_r.cb_flags = TMCB_LOCAL_COMPLETED;
 	}
 	n = _tmx_tmb.t_uac(&uac_r);