WebRTC issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

WebRTC issue

edrperes
This post has NOT been accepted by the mailing list yet.
I have a FreeSwicth at a development enviroment.
It works fine. We are using WebRTC (SIP.JS) to connect to FreeSwitch.
We enable  in order to accomplish this.
The browser (FireFox) access FreeSwitch using only local network, not internet.

The problem is... When we deploy a FreeSwitch with the exact same configuration
in another local network the calls initiated by WebRTC never complete.

For example if call a softphone (XLite) we can hear it ringing for a moment then
the call drops.

We extract this piece of FreeSwitch log...

323fa770-d92e-4f25-8d2f-0a6446c92937 2016-04-29 10:10:13.132991 [ERR] switch_core_media.c:5806 AUDIO RTP REPORTS ERROR: [Remote Address Error!]
323fa770-d92e-4f25-8d2f-0a6446c92937 2016-04-29 10:10:13.132991 [NOTICE] switch_core_media.c:5807 Hangup sofia/internal/1018@192.168.5.106 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]
323fa770-d92e-4f25-8d2f-0a6446c92937 2016-04-29 10:10:13.132991 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/1018@192.168.5.106 [KILL]
323fa770-d92e-4f25-8d2f-0a6446c92937 2016-04-29 10:10:13.132991 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/1018@192.168.5.106 [BREAK]
323fa770-d92e-4f25-8d2f-0a6446c92937 2016-04-29 10:10:13.132991 [ERR] mod_sofia.c:2247 CODEC NEGOTIATION ERROR.  SDP:
323fa770-d92e-4f25-8d2f-0a6446c92937 v=0
323fa770-d92e-4f25-8d2f-0a6446c92937 o=- 9214223538934283028 2 IN IP4 127.0.0.1
323fa770-d92e-4f25-8d2f-0a6446c92937 s=-
323fa770-d92e-4f25-8d2f-0a6446c92937 t=0 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=group:BUNDLE audio
323fa770-d92e-4f25-8d2f-0a6446c92937 a=msid-semantic: WMS 0IOh4QWGwrYELxS7Kq5YldtdbxTjWDXoVkvW
323fa770-d92e-4f25-8d2f-0a6446c92937 m=audio 63036 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
323fa770-d92e-4f25-8d2f-0a6446c92937 c=IN IP4 177.103.153.183
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtpmap:111 opus/48000/2
323fa770-d92e-4f25-8d2f-0a6446c92937 a=fmtp:111 minptime=10; useinbandfec=1
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtpmap:103 ISAC/16000
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtpmap:104 ISAC/32000
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtpmap:9 G722/8000
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtpmap:0 PCMU/8000
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtpmap:8 PCMA/8000
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtpmap:106 CN/32000
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtpmap:105 CN/16000
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtpmap:13 CN/8000
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtpmap:126 telephone-event/8000
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtcp:63038 IN IP4 177.103.153.183
323fa770-d92e-4f25-8d2f-0a6446c92937 a=candidate:1814586005 1 udp 2122255103 2001::9d38:90d7:34e0:1d16:4e98:6648 63035 typ host generation 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=candidate:310647166 1 udp 2122194687 192.168.5.106 63036 typ host generation 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=candidate:1814586005 2 udp 2122255102 2001::9d38:90d7:34e0:1d16:4e98:6648 63037 typ host generation 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=candidate:310647166 2 udp 2122194686 192.168.5.106 63038 typ host generation 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=candidate:2479628234 2 udp 1685987070 177.103.153.183 63038 typ srflx raddr 192.168.5.106 rport 63038 generation 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=candidate:2479628234 1 udp 1685987071 177.103.153.183 63036 typ srflx raddr 192.168.5.106 rport 63036 generation 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=candidate:581672549 1 tcp 1518275327 2001::9d38:90d7:34e0:1d16:4e98:6648 9 typ host tcptype active generation 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=candidate:1544021390 1 tcp 1518214911 192.168.5.106 9 typ host tcptype active generation 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=candidate:581672549 2 tcp 1518275326 2001::9d38:90d7:34e0:1d16:4e98:6648 9 typ host tcptype active generation 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=candidate:1544021390 2 tcp 1518214910 192.168.5.106 9 typ host tcptype active generation 0
323fa770-d92e-4f25-8d2f-0a6446c92937 a=ice-ufrag:o0icBo3ZaqSTiFoy
323fa770-d92e-4f25-8d2f-0a6446c92937 a=ice-pwd:E3X4+fXKrbtjX6h72lbFPGGZ
323fa770-d92e-4f25-8d2f-0a6446c92937 a=fingerprint:sha-256 D0:68:8C:6C:F3:F1:46:E1:B3:32:A8:A7:95:81:82:4F:63:83:8D:01:FE:0B:05:9E:85:5C:5C:7C:CB:F4:08:E8
323fa770-d92e-4f25-8d2f-0a6446c92937 a=setup:actpass
323fa770-d92e-4f25-8d2f-0a6446c92937 a=mid:audio
323fa770-d92e-4f25-8d2f-0a6446c92937 a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
323fa770-d92e-4f25-8d2f-0a6446c92937 a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtcp-mux
323fa770-d92e-4f25-8d2f-0a6446c92937 a=rtcp-fb:111 transport-cc
323fa770-d92e-4f25-8d2f-0a6446c92937 a=maxptime:60
323fa770-d92e-4f25-8d2f-0a6446c92937 a=ssrc:1588530524 cname:+a87EP3FMvCEdplz
323fa770-d92e-4f25-8d2f-0a6446c92937 a=ssrc:1588530524 msid:0IOh4QWGwrYELxS7Kq5YldtdbxTjWDXoVkvW b0c14689-1cc8-4c2b-ba80-b76d846d4c56
323fa770-d92e-4f25-8d2f-0a6446c92937 a=ssrc:1588530524 mslabel:0IOh4QWGwrYELxS7Kq5YldtdbxTjWDXoVkvW
323fa770-d92e-4f25-8d2f-0a6446c92937 a=ssrc:1588530524 label:b0c14689-1cc8-4c2b-ba80-b76d846d4c56
323fa770-d92e-4f25-8d2f-0a6446c92937
323fa770-d92e-4f25-8d2f-0a6446c92937 2016-04-29 10:10:13.132991 [DEBUG] switch_ivr_originate.c:1193 sofia/internal/1018@192.168.5.106 Media Establishment Failed.
323fa770-d92e-4f25-8d2f-0a6446c92937 2016-04-29 10:10:13.132991 [DEBUG] switch_ivr_originate.c:3723 Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]
7f45a2cc-3c8f-4edc-b30b-612bd81ad985 2016-04-29 10:10:13.132991 [NOTICE] switch_ivr_originate.c:3812 Hangup sofia/internal/sip:1017@192.168.5.106:60607 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
7f45a2cc-3c8f-4edc-b30b-612bd81ad985 2016-04-29 10:10:13.132991 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/sip:1017@192.168.5.106:60607 [KILL]
7f45a2cc-3c8f-4edc-b30b-612bd81ad985 2016-04-29 10:10:13.132991 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/sip:1017@192.168.5.106:60607 [BREAK]

We think the signaling is ok but not RTP...

The calls from a softphone (XLite) to another softphone (Zoiper) complete ok

Whats wrong? Thanks...
Reply | Threaded
Open this post in threaded view
|

Re: WebRTC issue

edrperes
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Finally i did it work
I was using FreeSwitch 1.5.15 windows x64
Updating to version 1.7.0 windows x64 the problem disappeared