[Freeswitch-users] Auto Changing stun/rtp/dtls port every second?

Michael Jerris mike at jerris.com
Mon Jan 12 20:41:35 MSK 2015


Issue seems to be with the sdp from the browser containing multiple working paths.  Not sure why we are changing so much however.  Can you open up a jira on this so we can investigate?


> On Jan 9, 2015, at 10:32 PM, Stephen Dame <sdame at 207me.com> wrote:
> 
> Auto Changing stun/rtp/dtls port every second?
>  
> Just built from master FreeSWITCH Version 1.5.15b+git~20150109T000119Z~d199060249~64bit (git d199060 2015-01-09 00:01:19Z 64bit)
>  
> And when connecting with chrome web-rtc thru sip.js I noticed switch appears to be changing or flipping ports every second bouncing between them.
>  
> Happens with Chrome, But not Firefox.
>  
> 2015-01-10 01:57:22.095932 [NOTICE] switch_rtp.c:1139 Auto Changing stun/rtp/dtls port from xx.xx.xx.xx:42748 to xx.xx.xx.xx:42751
> 2015-01-10 01:57:22.535937 [NOTICE] switch_rtp.c:1139 Auto Changing stun/rtp/dtls port from xx.xx.xx.xx:42751 to xx.xx.xx.xx:42748
> 2015-01-10 01:57:23.095959 [NOTICE] switch_rtp.c:1139 Auto Changing stun/rtp/dtls port from xx.xx.xx.xx:42748 to xx.xx.xx.xx:42751
> 2015-01-10 01:57:23.495890 [NOTICE] switch_rtp.c:1139 Auto Changing stun/rtp/dtls port from xx.xx.xx.xx:42751 to xx.xx.xx.xx:42748
> 2015-01-10 01:57:23.995945 [NOTICE] switch_rtp.c:1139 Auto Changing stun/rtp/dtls port from xx.xx.xx.xx:42748 to xx.xx.xx.xx:42751
> ….continues on every second for duration of call.
>  
> Audio connection seems to be working fine,  but have never seen this in prior builds.
>  
> Not clear to me if this is a real issue, or just annoyance in fs_cli console.
>  
> Thanks in advance for any suggestions.
>  
> I have included the SDPs below for both Chrome and FireFox.
>  
> Regards,
> Stephen
>  
>  
>  
> CHROME REMOTE
>  
> 2015-01-10 02:40:03.535934 [DEBUG] sofia.c:6624 Remote SDP:
> v=0
> o=- 944480236656755000 2 IN IP4 127.0.0.1
> s=-
> t=0 0
> a=group:BUNDLE audio
> a=msid-semantic: WMS YHfGEaiCgFgkdGUVwVMwsXG2j4QFHe1h13N4
> m=audio 44646 UDP/TLS/RTP/SAVPF 111 103 104 0 8 106 105 13 126
> c=IN IP4 xx.xx.xx.xx
> a=rtpmap:111 opus/48000/2
> a=fmtp:111 minptime=10
> a=rtpmap:103 ISAC/16000
> a=rtpmap:104 ISAC/32000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:106 CN/32000
> a=rtpmap:105 CN/16000
> a=rtpmap:13 CN/8000
> a=rtpmap:126 telephone-event/8000
> a=rtcp:44646 IN IP4 xx.xx.xx.xx
> a=candidate:331141188 1 udp 2122260223 192.168.99.220 57065 typ host generation 0
> a=candidate:331141188 2 udp 2122260223 192.168.99.220 57065 typ host generation 0
> a=candidate:693976877 1 udp 2122194687 192.168.52.1 57066 typ host generation 0
> a=candidate:693976877 2 udp 2122194687 192.168.52.1 57066 typ host generation 0
> a=candidate:2448668656 1 udp 2122129151 192.168.142.1 57067 typ host generation 0
> a=candidate:2448668656 2 udp 2122129151 192.168.142.1 57067 typ host generation 0
> a=candidate:4031593493 1 udp 2122063615 192.168.99.193 57068 typ host generation 0
> a=candidate:4031593493 2 udp 2122063615 192.168.99.193 57068 typ host generation 0
> a=candidate:1564421300 1 tcp 1518280447 192.168.99.220 0 typ host tcptype active generation 0
> a=candidate:1564421300 2 tcp 1518280447 192.168.99.220 0 typ host tcptype active generation 0
> a=candidate:1742652381 1 tcp 1518214911 192.168.52.1 0 typ host tcptype active generation 0
> a=candidate:1742652381 2 tcp 1518214911 192.168.52.1 0 typ host tcptype active generation 0
> a=candidate:3748678400 1 tcp 1518149375 192.168.142.1 0 typ host tcptype active generation 0
> a=candidate:3748678400 2 tcp 1518149375 192.168.142.1 0 typ host tcptype active generation 0
> a=candidate:3201220837 1 tcp 1518083839 192.168.99.193 0 typ host tcptype active generation 0
> a=candidate:3201220837 2 tcp 1518083839 192.168.99.193 0 typ host tcptype active generation 0
> a=candidate:3744591831 1 udp 1686052607 xx.xx.xx.xx 44646 typ srflx raddr 192.168.99.220 rport 57065 generation 0
> a=candidate:3744591831 2 udp 1686052607 xx.xx.xx.xx 44646 typ srflx raddr 192.168.99.220 rport 57065 generation 0
> a=candidate:1019216774 1 udp 1685855999 xx.xx.xx.xx 44647 typ srflx raddr 192.168.99.193 rport 57068 generation 0
> a=candidate:1019216774 2 udp 1685855999 xx.xx.xx.xx 44647 typ srflx raddr 192.168.99.193 rport 57068 generation 0
> a=ice-ufrag:vWJYtjRU7/AK7HTV
> a=ice-pwd:tPowc1rLFI4tlG9OuSJsZmhm
> a=ice-options:google-ice
> a=fingerprint:sha-256 60:DB:2E:2E:4C:EC:C8:E4:E8:9A:0A:DD:9E:5B:F5:72:7A:AA:E2:BA:4C:B5:6E:77:1B:08:CA:D0:33:69:76:18
> a=setup:actpass
> a=mid:audio
> a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
> a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time <http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time>
> a=rtcp-mux
> a=maxptime:60
> a=ssrc:207143798 cname:RQHJDeTxW6AqEXek
> a=ssrc:207143798 msid:YHfGEaiCgFgkdGUVwVMwsXG2j4QFHe1h13N4 4c7d7f12-cdc6-4fc7-8fde-ab184c4374c6
> a=ssrc:207143798 mslabel:YHfGEaiCgFgkdGUVwVMwsXG2j4QFHe1h13N4
> a=ssrc:207143798 label:4c7d7f12-cdc6-4fc7-8fde-ab184c4374c6
>  
> 2015-01-10 02:40:03.555959 [DEBUG] sofia.c:6890 (sofia/external/ID-llll at sb.domain.com <mailto:sofia/external/ID-llll at sb.domain.com>) State Change CS_NEW -> CS_INIT
>  
> LOCAL CHROME
>  
> 2015-01-10 02:40:03.555959 [DEBUG] mod_sofia.c:780 Local SDP sofia/external/ID-llll at sb.domain.com <mailto:sofia/external/ID-llll at sb.domain.com>:
> v=0
> o=FreeSWITCH 1420828455 1420828456 IN IP4 126.254.27.18
> s=FreeSWITCH
> c=IN IP4 126.254.27.18
> t=0 0
> a=msid-semantic: WMS nURTbPNjtYX6b7AHGQff8WLdypK5IlTV
> m=audio 29148 UDP/TLS/RTP/SAVPF 111 126
> a=rtpmap:111 opus/48000/2
> a=fmtp:111 minptime=10
> a=rtpmap:126 telephone-event/8000
> a=ptime:20
> a=sendrecv
> a=fingerprint:sha-256 C5:4F:B0:97:3E:08:F7:4D:28:D4:DC:66:B9:CB:40:D1:43:14:00:7F:7E:F9:0B:FE:3D:AD:AC:11:1C:09:44:76
> a=rtcp-mux
> a=rtcp:29148 IN IP4 126.254.27.18
> a=ssrc:1689569427 cname:5AF6gjgz74w81WFy
> a=ssrc:1689569427 msid:nURTbPNjtYX6b7AHGQff8WLdypK5IlTV a0
> a=ssrc:1689569427 mslabel:nURTbPNjtYX6b7AHGQff8WLdypK5IlTV
> a=ssrc:1689569427 label:nURTbPNjtYX6b7AHGQff8WLdypK5IlTVa0
> a=ice-ufrag:DLDCxeGVugR3rAOm
> a=ice-pwd:1kj7tqxqkTpbGVAaw3CU78Gs
> a=candidate:4398516811 1 udp 659136 126.254.27.18 29148 typ host generation 0
> --------------------------------------------------------------------------------------------------------------------------------------------
>  
> REMOTE FIREFOX
> 2015-01-10 02:54:48.315868 [DEBUG] sofia.c:6624 Remote SDP:
> v=0
> o=Mozilla-SIPUA-34.0.5 24651 0 IN IP4 0.0.0.0
> s=SIP Call
> t=0 0
> a=ice-ufrag:0c83e766
> a=ice-pwd:3e4fe41a976d4d295b87ef47898f1bb1
> a=fingerprint:sha-256 A4:64:42:CB:31:42:04:21:4B:23:4A:44:93:73:2C:64:73:AC:CB:64:DD:0B:00:CA:ED:1C:35:5A:F8:19:D2:2B
> m=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101
> c=IN IP4 127.0.0.1
> a=rtpmap:109 opus/48000/2
> a=rtpmap:9 G722/8000
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=ptime:20
> a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
> a=setup:actpass
> a=rtcp-mux
> a=candidate:0 1 UDP 2128609535 192.168.99.193 50443 typ host
> a=candidate:2 1 UDP 2128543999 192.168.99.220 50444 typ host
> a=candidate:4 1 UDP 2128478463 192.168.142.1 50445 typ host
> a=candidate:6 1 UDP 2128412927 192.168.52.1 50446 typ host
> a=candidate:0 2 UDP 2128609534 192.168.99.193 50447 typ host
> a=candidate:2 2 UDP 2128543998 192.168.99.220 50448 typ host
> a=candidate:4 2 UDP 2128478462 192.168.142.1 50449 typ host
> a=candidate:6 2 UDP 2128412926 192.168.52.1 50450 typ host
> a=candidate:3 1 UDP 1692401663 xx.xx.xx.xx 41316 typ srflx raddr 192.168.99.220 rport 50444
> a=candidate:1 1 UDP 1692467199 xx.xx.xx.xx 41315 typ srflx raddr 192.168.99.193 rport 50443
> a=candidate:3 2 UDP 1692401662 xx.xx.xx.xx 41318 typ srflx raddr 192.168.99.220 rport 50448
> a=candidate:1 2 UDP 1692467198 xx.xx.xx.xx 41317 typ srflx raddr 192.168.99.193 rport 50447
>  
> 2015-01-10 02:54:48.315868 [DEBUG] sofia.c:6890 (sofia/external/ID-sss at sb.domain.com <mailto:sofia/external/ID-sss at sb.domain.com>) State Change CS_NEW -> CS_INIT
>  
>  
> LOCAL FIREFOX
>  
> 2015-01-10 02:54:48.335813 [DEBUG] mod_sofia.c:780 Local SDP sofia/external/ID-sss at sb.domain.com <mailto:sofia/external/ID-sss at sb.domain.com>:
> v=0
> o=FreeSWITCH 1420830508 1420830509 IN IP4 126.254.27.18
> s=FreeSWITCH
> c=IN IP4 126.254.27.18
> t=0 0
> a=msid-semantic: WMS 8zLyY4o5MRbtWMdeKRpKz22ilDyNZwPX
> m=audio 27980 UDP/TLS/RTP/SAVPF 109 101
> a=rtpmap:109 opus/48000/2
> a=fmtp:109 useinbandfec=1; usedtx=1; maxaveragebitrate=30000; maxplaybackrate=48000
> a=rtpmap:101 telephone-event/8000
> a=ptime:20
> a=sendrecv
> a=fingerprint:sha-256 C5:4F:B0:97:3E:08:F7:4D:28:D4:DC:66:B9:CB:40:D1:43:14:00:7F:7E:F9:0B:FE:3D:AD:AC:11:1C:09:44:76
> a=rtcp-mux
> a=rtcp:27980 IN IP4 126.254.27.18
> a=ssrc:1689570312 cname:VqmJkBFXjGg5ik9T
> a=ssrc:1689570312 msid:8zLyY4o5MRbtWMdeKRpKz22ilDyNZwPX a0
> a=ssrc:1689570312 mslabel:8zLyY4o5MRbtWMdeKRpKz22ilDyNZwPX
> a=ssrc:1689570312 label:8zLyY4o5MRbtWMdeKRpKz22ilDyNZwPXa0
> a=ice-ufrag:1otrhmztPY6EkLs6
> a=ice-pwd:2FGc6bZfI6aRhaA9oUqw6QPL
> a=candidate:1819979940 1 udp 659136 126.254.27.18 27980 typ host generation 0
>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150112/1712f71f/attachment-0001.html 


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