Module: sip-router
Branch: 4.1
Commit: 6f9519b001a608af20787e0cfaf4a3a0d2dfc1fb
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6f9519b001a608af20787e0cfaf4a3a0d2dfc1fb

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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

(cherry picked from commit 5b733fa361afced0418947c965b256dbe7ae3a68)

---

 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 45292b3..9ccdfe8 100644
--- a/modules/dialog/dlg_handlers.c
+++ b/modules/dialog/dlg_handlers.c
@@ -1280,6 +1280,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;


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to