Explorar o código

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

- they can be reset by event route execution
Daniel-Constantin Mierla %!s(int64=11) %!d(string=hai) anos
pai
achega
5b733fa361
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;