Hi,
I've made a little progress. I can now set up a call from the softphone to the browser via webrtc2sip and asterisk. The reverse direction fails with an error though, and it seems to depend on a softphone that supports srtp.
The setup is as follows:
Browser (firefox) -> webrtc2sip ->asterisk (13.3.2) ->SFLPhone on Ubuntu
SFLPhone is set up with SRTP key exchange via SDES, and 'fallback on RTP on SDES failure'.
If I place a call from the FF browser to the SFLPhone the call is placed, but then dropped when the call is answered at the remote end. A warning appears on the asterisk console:
[May 6 16:46:44] WARNING[20191][C-0000000d]: chan_sip.c:10484 process_sdp: Failing due to no acceptable offer found
(I've attached SipML5 log, webrtc2sip log, plus the asterisk peers entries for both extensions [60002 is the browser, 60007 is the SFLPhone], plus the dialplan and sip.conf).
I've got two problems here
1) I haven't been able to place a call to any other softphone (Linphone, Ekiga) at all. Only SFLPhone gets as far as setting up the call, and that seems to be because it supports SDES
2) I can only place a call from SFLPhone to the browser, not from the browser back to SFLPhone.
I think what's happening is the configuration wants the connection to be encrypted from end to end - from the softphone to the browser. I need to be able to support SIP softphones that don't have encryption though. I understand that the webrtc standards require the browser->webrtc2sip connection to be encrypted, but can't the connection from Asterisk to the softphone be left unencrypted?
Could someone suggest where I'm going wrong?
Thanks,
Charles.