<div dir="ltr">Just fix your ACL&#39;s to allow it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 6:11 PM, Thomas <span dir="ltr">&lt;<a href="mailto:lists@virtues.net" target="_blank">lists@virtues.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Uh, if I diagnosed this correctly, the local subnet fails the candidate checks, because it&#39;s not part of the wan.auto<br>
list. Can this be a configuration thing? Or is there a reason to disallow RTP traffic on the LAN?<br>
<div class="HOEnZb"><div class="h5"><br>
On 14.09.2015 17:35, Thomas wrote:<br>
&gt; Hello list,<br>
&gt;<br>
&gt; testing some things on a LAN, I noticed Chrome and FS having problems establishing a direct LAN connection. Without any<br>
&gt; ICE servers and the SDP being limited to the host address, FS rejects what looks like a perfectly fine SDP with a codec<br>
&gt; negotiation error.<br>
&gt;<br>
&gt; When TURN servers are available, Chrome already puts a TURN server&#39;s IP into the c= line. Other than that, there are<br>
&gt; just additional relay ice candidates. FS will choose the TURN server in the c= line first, but later &quot;auto change&quot; to<br>
&gt; the LAN address.<br>
&gt;<br>
&gt; I could not find any other differences between the two SDPs. I&#39;ve added some delay and checked listening ports to make<br>
&gt; sure this isn&#39;t a timing issue on Chrome&#39;s end: It does listen on the ports it announced ...<br>
&gt;<br>
&gt; Is there a configuration option, which could cause this? I can&#39;t quite believe this being a bug, because a lot of people<br>
&gt; should have noticed ...<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Thomas<br>
&gt;<br>
&gt;<br>
&gt; P.S.:<br>
&gt;<br>
&gt; Log snippet of rejected call:<br>
&gt;<br>
&gt; 2015-09-14 16:12:54.962238 [DEBUG] switch_core_media.c:3260 Save audio Candidate cid: 1 proto: udp type: host addr:<br>
&gt; <a href="http://192.168.1.113:50602" rel="noreferrer" target="_blank">192.168.1.113:50602</a><br>
&gt; 2015-09-14 16:12:54.962238 [DEBUG] switch_core_media.c:3260 Save audio Candidate cid: 2 proto: udp type: host addr:<br>
&gt; <a href="http://192.168.1.113:50603" rel="noreferrer" target="_blank">192.168.1.113:50603</a><br>
&gt; 2015-09-14 16:12:54.962238 [DEBUG] switch_core_media.c:3300 Searching for rtp candidate.<br>
&gt; 2015-09-14 16:12:54.962238 [DEBUG] switch_core_media.c:3300 Searching for rtcp candidate.<br>
&gt; 2015-09-14 16:12:54.962238 [DEBUG] switch_core_media.c:3344 sofia/internal/<a href="mailto:tauge@sip.abc.com">tauge@sip.abc.com</a> no suitable candidates found.<br>
&gt; 2015-09-14 16:12:54.962238 [DEBUG] switch_core_media.c:4427 Set 2833 dtmf send/recv payload to 126<br>
&gt; 2015-09-14 16:12:54.962238 [ERR] mod_sofia.c:2284 CODEC NEGOTIATION ERROR.  SDP:<br>
&gt;<br>
&gt;<br>
&gt; Broken SDP:<br>
&gt;<br>
&gt; v=0<br>
&gt; o=ABC-WEB-2.0 6876809645794559979 2 IN IP4 127.0.0.1<br>
&gt; s=-<br>
&gt; t=0 0<br>
&gt; a=group:BUNDLE audio<br>
&gt; a=msid-semantic: WMS ec8f8f88-2e4f-4cbc-9c38-f51d6e6850d8<br>
&gt; m=audio 64149 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 126<br>
&gt; c=IN IP4 192.168.1.113<br>
&gt; a=rtcp:64150 IN IP4 192.168.1.113<br>
&gt; a=candidate:2624638470 1 udp 2122260223 192.168.1.113 64149 typ host generation 0<br>
&gt; a=candidate:2624638470 2 udp 2122260222 192.168.1.113 64150 typ host generation 0<br>
&gt; a=candidate:3539153654 1 tcp 1518280447 192.168.1.113 0 typ host tcptype active generation 0<br>
&gt; a=candidate:3539153654 2 tcp 1518280446 192.168.1.113 0 typ host tcptype active generation 0<br>
&gt; a=ice-ufrag:BOWdiCKMBJ5j5dcx<br>
&gt; a=ice-pwd:zn1o5HVNk8ZjbFUlouk2bT3O<br>
&gt; a=fingerprint:sha-256 9C:A5:CB:27:A8:B1:3D:4D:41:1A:F5:2A:B7:60:B9:06:6B:A3:A4:8F:5A:F6:AD:1D:50:28:E5:AE:28:70:28:AD<br>
&gt; a=setup:actpass<br>
&gt; a=mid:audio<br>
&gt; b=AS:96<br>
&gt; a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level<br>
&gt; a=extmap:3 <a href="http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time" rel="noreferrer" target="_blank">http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time</a><br>
&gt; a=sendrecv<br>
&gt; a=rtcp-mux<br>
&gt; a=rtpmap:111 opus/48000/2<br>
&gt; a=fmtp:111 useinbandfec=1; usedtx=0; maxplaybackrate=48000; sprop-maxcapturerate=48000; maxaveragebitrate=64000;<br>
&gt; sprop-stereo=0; stereo=0<br>
&gt; a=rtpmap:103 ISAC/16000<br>
&gt; a=rtpmap:104 ISAC/32000<br>
&gt; a=rtpmap:9 G722/8000<br>
&gt; a=rtpmap:0 PCMU/8000<br>
&gt; a=rtpmap:8 PCMA/8000<br>
&gt; a=rtpmap:126 telephone-event/8000<br>
&gt; a=maxptime:60<br>
&gt; a=ssrc:1980631361 cname:3nFhXh/3h3cqLn4p<br>
&gt; a=ssrc:1980631361 msid:ec8f8f88-2e4f-4cbc-9c38-f51d6e6850d8 f63ca3d0-1e11-43ec-8bba-e3cf9beb55c2<br>
&gt; a=ssrc:1980631361 mslabel:ec8f8f88-2e4f-4cbc-9c38-f51d6e6850d8<br>
&gt; a=ssrc:1980631361 label:f63ca3d0-1e11-43ec-8bba-e3cf9beb55c2<br>
&gt;<br>
&gt;<br>
&gt; Working SDP:<br>
&gt;<br>
&gt; v=0<br>
&gt; o=ABC-WEB-2.0 8443069933158526980 2 IN IP4 127.0.0.1<br>
&gt; s=-<br>
&gt; t=0 0<br>
&gt; a=group:BUNDLE audio<br>
&gt; a=msid-semantic: WMS 5aa672c6-f6ac-49ee-a7fa-758e85f1d569<br>
&gt; m=audio 54843 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 126<br>
&gt; c=IN IP4 184.173.227.184<br>
&gt; a=rtcp:50649 IN IP4 184.173.227.184<br>
&gt; a=candidate:2624638470 1 udp 2122260223 192.168.1.113 57019 typ host generation 0<br>
&gt; a=candidate:2624638470 2 udp 2122260222 192.168.1.113 57020 typ host generation 0<br>
&gt; a=candidate:3539153654 1 tcp 1518280447 192.168.1.113 0 typ host tcptype active generation 0<br>
&gt; a=candidate:3539153654 2 tcp 1518280446 192.168.1.113 0 typ host tcptype active generation 0<br>
&gt; a=candidate:2388703359 1 udp 25108223 184.173.227.184 54843 typ relay raddr 200.86.231.43 rport 2480 generation 0<br>
&gt; a=candidate:2388703359 2 udp 25108222 184.173.227.184 50649 typ relay raddr 200.86.231.43 rport 2483 generation 0<br>
&gt; a=candidate:296579010 1 udp 25108223 46.37.165.198 51332 typ relay raddr 200.86.231.43 rport 2486 generation 0<br>
&gt; a=candidate:296579010 2 udp 25108222 46.37.165.198 61376 typ relay raddr 200.86.231.43 rport 2489 generation 0<br>
&gt; a=candidate:296579010 1 udp 8331007 46.37.165.198 63945 typ relay raddr 200.86.231.43 rport 2485 generation 0<br>
&gt; a=candidate:296579010 1 udp 8331007 46.37.165.198 64219 typ relay raddr 200.86.231.43 rport 2484 generation 0<br>
&gt; a=candidate:296579010 2 udp 8331006 46.37.165.198 52149 typ relay raddr 200.86.231.43 rport 2488 generation 0<br>
&gt; a=candidate:296579010 2 udp 8331006 46.37.165.198 61407 typ relay raddr 200.86.231.43 rport 2487 generation 0<br>
&gt; a=ice-ufrag:6aKotQHXO+YIa4SB<br>
&gt; a=ice-pwd:x26eZydsmKS3CujQnJt+yagB<br>
&gt; a=fingerprint:sha-256 9C:A5:CB:27:A8:B1:3D:4D:41:1A:F5:2A:B7:60:B9:06:6B:A3:A4:8F:5A:F6:AD:1D:50:28:E5:AE:28:70:28:AD<br>
&gt; a=setup:actpass<br>
&gt; a=mid:audio<br>
&gt; b=AS:96<br>
&gt; a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level<br>
&gt; a=extmap:3 <a href="http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time" rel="noreferrer" target="_blank">http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time</a><br>
&gt; a=sendrecv<br>
&gt; a=rtcp-mux<br>
&gt; a=rtpmap:111 opus/48000/2<br>
&gt; a=fmtp:111 useinbandfec=1; usedtx=0; maxplaybackrate=48000; sprop-maxcapturerate=48000; maxaveragebitrate=64000;<br>
&gt; sprop-stereo=0; stereo=0<br>
&gt; a=rtpmap:103 ISAC/16000<br>
&gt; a=rtpmap:104 ISAC/32000<br>
&gt; a=rtpmap:9 G722/8000<br>
&gt; a=rtpmap:0 PCMU/8000<br>
&gt; a=rtpmap:8 PCMA/8000<br>
&gt; a=rtpmap:126 telephone-event/8000<br>
&gt; a=maxptime:60<br>
&gt; a=ssrc:3496827522 cname:useDs2Io3ldUsLU6<br>
&gt; a=ssrc:3496827522 msid:5aa672c6-f6ac-49ee-a7fa-758e85f1d569 687fb926-afe8-433f-8b82-793d1e6f2f2a<br>
&gt; a=ssrc:3496827522 mslabel:5aa672c6-f6ac-49ee-a7fa-758e85f1d569<br>
&gt; a=ssrc:3496827522 label:687fb926-afe8-433f-8b82-793d1e6f2f2a<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div>
</div>