Module: sip-router
Branch: kamailio_3.0
Commit: 1e663ffa8129c4b24f21563c09a5bea4ecd65784
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1e663ff…
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
---
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 f0d0dbb..5911f8c 100644
--- a/modules_k/siputils/contact_ops.c
+++ b/modules_k/siputils/contact_ops.c
@@ -165,6 +165,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);