Browse code

Merge f9246a7fbf0d6b89436f176e076c74d76367ff61 into b3d3cb366b67941ecebd297038522580114e3a0b

Victor Seva authored on 11/06/2021 11:47:06 • GitHub committed on 11/06/2021 11:47:06
Showing 1 changed files
... ...
@@ -1696,7 +1696,7 @@ static inline int replace_sdp_ip(
1696 1696
 		hasreplaced = 1;
1697 1697
 		body1 = body2;
1698 1698
 	}
1699
-	if(!hasreplaced) {
1699
+	if(!hasreplaced && memcmp("a=rtcp", line, 6) != 0) {
1700 1700
 		LM_ERR("can't extract '%s' IP from the SDP\n", line);
1701 1701
 		return -1;
1702 1702
 	}