Browse Source

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 years ago
parent
commit
beb71da826
1 changed files with 1 additions and 0 deletions
  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);