[sr-dev] git:master: dialog: set again the dialog ids in context for BYE processing

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 24 23:47:22 CEST 2014


Module: sip-router
Branch: master
Commit: 5b733fa361afced0418947c965b256dbe7ae3a68
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5b733fa361afced0418947c965b256dbe7ae3a68

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Sep 24 23:46:00 2014 +0200

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

- they can be reset by event route execution

---

 modules/dialog/dlg_handlers.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/dialog/dlg_handlers.c b/modules/dialog/dlg_handlers.c
index 16c711f..d804310 100644
--- a/modules/dialog/dlg_handlers.c
+++ b/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;




More information about the sr-dev mailing list