瀏覽代碼

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

Klaus Darilion 15 年之前
父節點
當前提交
9d38adf732
共有 1 個文件被更改,包括 4 次插入0 次删除
  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);