BelledonneCommunications / flexisip

Linphone.org mirror for flexisip (git://git.linphone.org/flexisip.git)
http://flexisip.org
GNU Affero General Public License v3.0
140 stars 68 forks source link

RTP connection not established when using IPv4 #111

Open gzdes opened 3 years ago

gzdes commented 3 years ago

We are having issues with SIP calls when using IPv4 with sip.linphone.org.

RTP streams cannot be established because the INVITE SDP only contains an IPv6 address. The 200 Ok answer seems to contain the IP4 address, as expected. If I enable ICE an stun on the caller, it seems to work. But as long as I disable ICE, the stream fails with incorrect family.

I think the IP family detection has been broken, probably on commit 2caed30c8aebb7233ac7384eb438644ebad19a5b