Module: sip-router
Branch: master
Commit: bd8a8dc848f45d7dc40ae9620ffb606f6c781808
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bd8a8dc…
Author: Klaus Darilion <klaus.mailinglists(a)pernau.at>
Committer: Klaus Darilion <klaus.mailinglists(a)pernau.at>
Date: Wed Dec 30 13:51:24 2009 +0000
- fix bug when RURI was changed before and newuri will be used
(cherry picked from commit 1e663ffa8129c4b24f21563c09a5bea4ecd65784)
---
modules_k/siputils/contact_ops.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules_k/siputils/contact_ops.c b/modules_k/siputils/contact_ops.c
index 666332c..5a786cb 100644
--- a/modules_k/siputils/contact_ops.c
+++ b/modules_k/siputils/contact_ops.c
@@ -173,6 +173,10 @@ decode_contact (struct sip_msg *msg,char *unused1,char *unused2)
if (uri.s == NULL)
return -1;
}
+ else
+ {
+ uri = msg->new_uri;
+ }
res = decode_uri (uri, separator, &newUri);