Has Anyone Succeeded In Making A WebRTC Call From Mozilla Nightly To Asterisk?

Home » Asterisk Users » Has Anyone Succeeded In Making A WebRTC Call From Mozilla Nightly To Asterisk?
Asterisk Users 1 Comment

I am using Asterisk 11.3.0 and just updated Nightly to 24.0a1 (2013-06017)
and get a SIP 488 Not Acceptable Here response. I have no problems using the same Asterisk configuration and the same page to make a call from Chrome.

I have seen other people post a similar issue, but I have not seen a solution. If someone with good knowledge of this issue were to respond with “this is a known issue” or “no, and this should be reported to Mozilla”, that would be very helpful for me as well.

Here is the error I see in the Asterisk console after it successfully parses the SDP a lines:
Rejecting secure audio stream without encryption details: audio 62583
UDP/TLS/RTP/SAVPF 109 0 8 101
Trying to put ‘SIP/2.0 488’ onto WS socket destined for www.xxx.yyy.zzz:5060
No compatible codecs for this SIP call.

Here is the sip.conf info. I have tried various permutations of the dtls and encryption parameters with no luck. I do have openssl and srtp built into Asterisk (that solved a different error dealing with the RTP engine).

[webrtc-dtls] ; Add DTLS stuff for Mozilla Nightly (and eventually Firefox)
type=user host=dynamic hassip=yes transport=ws,wss directmedia=no ; proxy the media icesupport=yes ; needed for webrtc avpf=yes ; needed for webrtc context

One thought on - Has Anyone Succeeded In Making A WebRTC Call From Mozilla Nightly To Asterisk?

  • You have to load the module res_srtp (secure media) in Asterisk.

    > module load res_srtp.so

    (this is a requirement to talk websocket)

    If you don’t have it, must build it and install it.

    Cheers,