Browse Source

- fix bug when RURI was changed before and newuri will be used
(cherry picked from commit 1e663ffa8129c4b24f21563c09a5bea4ecd65784)

Klaus Darilion 15 years ago
parent
commit
9d38adf732
1 changed files with 4 additions and 0 deletions
  1. 4 0
      modules_k/siputils/contact_ops.c

+ 4 - 0
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);