[Freeswitch-users] Wrong ice candidate (internal ip) when using mod_verto

Adam Ben-Ayoun adam.ben.ayoun1 at gmail.com
Thu Jan 8 01:21:39 MSK 2015


Hi,

I am experimenting with mod_verto and using the demo to call to a
conference on my server (logs on FreeSwitch seems ok generally), the issue
is that I am not receiving/sending any audio (I would expect to hear moh at
this point), I suspect this is because FreeSwitch sends an ice host
candidate set to the internal ip instead of the external, here is the SDP:

o=FreeSWITCH 1420641299 1420641300 IN IP4 10.245.43.195
s=FreeSWITCH
c=IN IP4 10.245.43.195
t=0 0
a=msid-semantic: WMS Z2NxBScFjmpLZIlgYwYbxA7GyEbpC0Br
m=audio 26060 RTP/SAVPF 111 126
a=rtpmap:111 opus/48000/2
a=fmtp:111 maxplaybackrate=48000; minptime=10
a=rtpmap:126 telephone-event/8000
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
a=fingerprint:sha-256
0D:BB:87:E0:B6:8A:AE:0D:32:3F:54:9F:36:FF:9B:89:28:AB:B4:17:BC:95:0D:2E:48:0C:33:30:78:52:5F:24
a=rtcp-mux
a=rtcp:26060 IN IP4 10.245.43.195
a=ssrc:1435389439 cname:TfPkXSQ755IUEU1s
a=ssrc:1435389439 msid:Z2NxBScFjmpLZIlgYwYbxA7GyEbpC0Br a0
a=ssrc:1435389439 mslabel:Z2NxBScFjmpLZIlgYwYbxA7GyEbpC0Br
a=ssrc:1435389439 label:Z2NxBScFjmpLZIlgYwYbxA7GyEbpC0Bra0
a=ice-ufrag:hQuEgraFWcUo2lGL
a=ice-pwd:qmWe5Cb0xJL2tDkAjF4pW5UJ
a=candidate:0460306999 1 udp 659136 10.245.43.195 26060 typ host generation
0

Using Wireshark I see that the client is trying to send packets to
10.245.43.195 which obviously fails..

How can I fix this?

Thanks,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150108/9d7aaddb/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list