浏览代码

dialog: set again the dialog ids in context for BYE processing

- they can be reset by event route execution
Daniel-Constantin Mierla 11 年之前
父节点
当前提交
5b733fa361
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/dialog/dlg_handlers.c

+ 1 - 0
modules/dialog/dlg_handlers.c

@@ -1310,6 +1310,7 @@ void dlg_onroute(struct sip_msg* req, str *route_params, void *param)
 
 		_dlg_ctx.cpid = my_pid();
 		_dlg_ctx.expect_t = 1;
+		dlg_set_ctx_iuid(dlg);
 
 		if_update_stat( dlg_enable_stats, active_dlgs, -1);
 		goto done;