[asterisk-users] Has anyone succeeded in making a WebRTC call from Mozilla Nightly to Asterisk?

Joel Rosenfield joelrosenfield99 at gmail.com
Mon Jun 17 12:02:02 CDT 2013


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=default

encryption=yes
dtlsenable=yes
dtlsverify=no
dtlsrekey=60
dtlscafile=/opt/asterisk/keys/ca.crt
dtlscertfile=/opt/asterisk/keys/asterisk.pem
dtlssetup=actpass
insecure=invite

Here is the SDP offered by Nightly:
v=0
o=Mozilla-SIPUA-24.0a1 25687 1 IN IP4 0.0.0.0
s=Doubango Telecom - firefox
t=0 0
a=ice-ufrag:7194cbcc
a=ice-pwd:e57c14491015e529b84c5a6baf6d7b67
a=fingerprint:sha-256
48:3E:0C:59:BA:EB:6C:F9:5D:65:BF:08:54:63:C3:EA:AF:A9:60:9D:39:47:A5:41:6B:E1:A8:EB:7C:06:BE:D4
m=audio 62583 UDP/TLS/RTP/SAVPF 109 0 8 101
c=IN IP4 www.xxx.yyy.zzz
a=rtpmap:109 opus/48000/2
a=ptime:20
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=candidate:0 1 UDP 2111832319 192.168.1.109 62583 typ host
a=candidate:1 1 UDP 1692467199 www.xxx.yyy.zzz 62583 typ srflx raddr
192.168.1.109 rport 62583
a=candidate:5 1 UDP 2111766783 192.168.56.1 62584 typ host
a=candidate:0 2 UDP 2111832318 192.168.1.109 62585 typ host
a=candidate:1 2 UDP 1692467198 www.xxx.yyy.zzz 62585 typ srflx raddr
192.168.1.109 rport 62585
a=candidate:5 2 UDP 2111766782 192.168.56.1 62586 typ host

Thanks,
- Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130617/2d3a445b/attachment.htm>


More information about the asterisk-users mailing list