[Freeswitch-users] Setting Webrtc Call using FreeSwitch (Windows) and SipMl5

sachin snehsach at rediffmail.com
Tue May 2 16:25:16 MSD 2017


Hello All,​I am trying to setup the Webrtc call between 2 SIPML5 client. I am using FreeSWITCH Version 1.6.14 on Windows. I am using internal LAN. My setup is as followsSIPML5<-----> FS v1.6.14) (Windows) <----> SIPML5​I am using Firefox 53.0 browserThe clients are getting registered over wss. I have created self signed certificates.  In var.xml I have set the codecs setting as follows  <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMU,PCMA">  <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA">​Please find attached the log.txt for detail log. When I try to make the call it gives me the error as "mod_sofia.c:2332 CODEC NEGOTIATION ERROR.  SDP:". 2017-05-02 17:51:06.337143 [INFO] mod_dialplan_xml.c:637 Processing 1001 <1001>->1002 in context default2017-05-02 17:51:06.357163 [INFO] switch_ivr_async.c:4166 Bound B-Leg: *1 execute_extension::dx XML features2017-05-02 17:51:06.357163 [INFO] switch_ivr_async.c:4166 Bound B-Leg: *2 record_session::C:/Program Files/FreeSWITCH/recordings/1001.2017-05-02-17-51-06.wav2017-05-02 17:51:06.357163 [INFO] switch_ivr_async.c:4166 Bound B-Leg: *3 execute_extension::cf XML features2017-05-02 17:51:06.366663 [INFO] switch_ivr_async.c:4166 Bound B-Leg: *4 execute_extension::att_xfer XML features2017-05-02 17:51:06.397185 [INFO] switch_core_session.c:2631 Sending early media2017-05-02 17:51:06.397185 [WARNING] switch_core_media.c:3421 NO candidate ACL defined, Defaulting to wan.auto2017-05-02 17:51:06.397185 [ERR] mod_sofia.c:2332 CODEC NEGOTIATION ERROR.  SDP:v=0o=mozilla...THIS_IS_SDPARTA-53.0 1042623354377839900 0 IN IP4 127.0.0.1s=Doubango Telecom - firefoxt=0 0a=sendrecva=fingerprint:sha-256 D2:CB:EC:EC:B9:81:9A:28:2C:24:BD:85:AF:44:89:01:33:42:3A:DC:57:C6:BD:44:AD:D5:58:94:99:CC:2F:E9a=ice-options:tricklea=msid-semantic:WMS *m=audio 62834 UDP/TLS/RTP/SAVPF 109 9 0 8 101c=IN IP4 192.168.1.3a=rtpmap:109 opus/48000/2a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1a=rtpmap:9 G722/8000/1a=rtpmap:0 PCMU/8000a=rtpmap:8 PCMA/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-15a=candidate:0 1 UDP 2122252543 192.168.1.3 62834 typ hosta=candidate:1 1 UDP 2122187007 192.168.2.5 62835 typ hosta=candidate:0 2 UDP 2122252542 192.168.1.3 62836 typ hosta=candidate:1 2 UDP 2122187006 192.168.2.5 62837 typ hosta=end-of-candidatesa=extmap:1/sendonly urn:ietf:params:rtp-hdrext:ssrc-audio-levela=ice-pwd:e3aca7bfa237d621bbf4f3d709e0ab2ea=ice-ufrag:9b911841a=mid:sdparta_0a=msid:{fb4d37bb-a6b4-40f9-ba27-75f868ec8426} {a8ecd3ca-97c4-4bc8-91b3-98fa5634c298}a=rtcp:62836 IN IP4 192.168.1.3a=rtcp-muxa=setup:actpassa=ssrc:690260622 cname:{b99ab296-c01f-49ed-a57a-c262cb73a13c}
2017-05-02 17:51:06.397185 [NOTICE] switch_channel.c:3514 Hangup sofia/internal/1001 at 192.168.1.3 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]send 892 bytes to wss/[192.168.1.3]:62283 at 12:21:06.446220:   ------------------------------------------------------------------------   SIP/2.0 488 Not Acceptable Here   Via: SIP/2.0/WSS df7jal23ls0d.invalid;branch=z9hG4bKaFdSEd6k7URebn5TtkvKmi9sOtWbdohr;rport=62283;received=192.168.1.3   Max-Forwards: 70   From: "1001"<sip:1001 at 192.168.1.3>;tag=ns1luRrOuQhBdWIHhFa9   To: <sip:1002 at 192.168.1.3>;tag=c264gFt1Seymr   Call-ID: 69cfc0c1-d7a1-e71d-4fb1-1855a268442c   CSeq: 12200 INVITE   User-Agent: FreeSWITCH-mod_sofia/1.6.14~64bit   Accept: application/sdp   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE   Supported: timer, path, replaces   Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer   Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"   Content-Length: 0   Remote-Party-ID: "1002" <sip:1002 at 192.168.1.3>;party=calling;privacy=off;screen=no
   ------------------------------------------------------------------------2017-05-02 17:51:06.446720 [NOTICE] switch_core_session.c:1665 Session 9 (sofia/internal/1001 at 192.168.1.3) Ended2017-05-02 17:51:06.446720 [NOTICE] switch_core_session.c:1669 Close Channel sofia/internal/1001 at 192.168.1.3 [CS_DESTROY]recv 400 bytes from wss/[192.168.1.3]:62283 at 12:21:06.474240:​Please  let me know what could be the issue.​Thanks and Regards​SD 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170502/692fa711/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.txt
Url: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170502/692fa711/attachment-0001.txt 


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