[Freeswitch-users] WebRTC Call

Joel Rosenfield joelrosenfield at yahoo.com
Wed Dec 12 06:04:46 MSK 2012


In the default FreeSWITCH configuration, I used the webrtc2sip proxy to connect a Chrome 23 client to user 1001.  The SIP signaling is fine for REGISTER and INVITE, however FreeSWITCH returns 488 Not Acceptable Here.
I saw a post on the discuss-doubango Google Groups list from July 20 that said:

"The problem is not with the crypto its with the a=crypto being inside the AVP vs SAVP (denoting secure)
see http://jira.freeswitch. org/browse/FS-636

I am willing to lift this restriction or at least make it configurable since the alternative is you must send a double sized sdp with AVP for non secure stuff and SAVP for the secure."

Is there something that I need to configure on FreeSWITCH to remove this restriction?  Or, what should be different in the SDP offer from webrtc2sip so that FreeSWITCH will accept it?
Below is the output from the FreeSWITCH version command, the SDP offer from webrtc2sip, and FreeSWITCH error message.

Thanks,
- Joel

version

FreeSWITCH Version 1.3.8b+git~20121205T191750Z~ 924c524197 (git 924c524 2012-12-05 19:17:50Z)
. . . . 
   ----------------------------- ------------------------------ -------------
recv 1931 bytes from udp/[10.159.25.56]:10060 at 22:42:51.414083:
   ----------------------------- ------------------------------ -------------
   INVITE sip:9195@ . . . 
    . . . 
   User-Agent: webrtc2sip Media Server 2.0

   P-Preferred-Identity: <sip:webrtc2sip>

   v=0
   o=doubango 1983 678901 IN IP4 10.159.25.56
   s=-
   c=IN IP4 10.159.25.56
   t=0 0
   m=audio 60326 RTP/AVP 0 8 101
   c=IN IP4 10.159.25.56
   a=ptime:20
   a=silenceSupp:off - - - -
   a=rtpmap:0 PCMU/8000/1
   a=rtpmap:8 PCMA/8000/1
   a=rtpmap:101 telephone-event/8000/1
   a=fmtp:101 0-16
   a=tcap:1 RTP/SAVP
   a=pcfg:1 t=1
   a=sendrecv
   a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline: CG0ol5gUQjNxOXyMhXSIV2RltFltbx 99IkjHmXsT
   a=crypto:2 AES_CM_128_HMAC_SHA1_32 inline:aiZ33ixxaTy5dX5iy72n/ OAORs8lIezYKhuzti6G
   a=rtcp-mux
   a=ssrc:2783445458 cname:ldjWoB60jbyQlR6e
   a=ssrc:2783445458 mslabel:6994f7d1-6ce9-4fbd- acfd-84e5131ca2e2
   a=ssrc:2783445458 label:Doubango
   a=ice-ufrag:kWutfVwWe7bWeB4
   a=ice-pwd: ziAr5WnKhzu1KsZsMinJw
   a=mid:audio
   a=candidate:35wALsfKp 1 udp 2130706431 10.159.25.56 60326 typ host
   a=candidate:35wALsfKp 2 udp 2130706430 10.159.25.56 60327 typ host
   a=candidate:srflx35wA 2 udp 1694498814 107.21.197.144 60327 typ srflx
   a=candidate:srflx35wA 1 udp 1694498815 107.21.197.144 60326 typ srflx
   ----------------------------- ------------------------------ -------------
send 400 bytes to udp/[10.159.25.56]:10060 at 22:42:51.414473:
   ----------------------------- ------------------------------ -------------
   SIP/2.0 100 Trying
   . . . 
   ----------------------------- ------------------------------ -------------
2012-12-11 22:42:51.734425 [INFO] mod_dialplan_xml.c:498 Processing 1001 <1001>->9195 in context default
-> 2012-12-11 22:42:51.894429 [ERR] sofia_glue.c:4922 a=crypto in RTP/AVP, refer to rfc3711
2012-12-11 22:42:51.894429 [NOTICE] switch_channel.c:3484 Hangup sofia/internal/1001 at . . . 
 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]
send 924 bytes to udp/[10.159.25.56]:10060 at 22:42:52.054746:
   ----------------------------- ------------------------------ -------------
   SIP/2.0 488 Not Acceptable Here
   Via: SIP/2.0/UDP 10.159.25.56:10060;branch= z9hG4bK1356314285436;rport= 10060

NOTE:  I hacked the webrtc2sip to send "a=tcap:1 RTP/SAVP" rather than "a=tcap:1 RTP/SAVPF", but as you can see, no luck; same result either way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121211/b3f224c2/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list