Explorar o código

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

Klaus Darilion %!s(int64=15) %!d(string=hai) anos
pai
achega
9d38adf732
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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);