<div dir="ltr"><div><div>Hi,<br><br></div>For SIpml5 tried to configure by this way : <a href="https://wiki.asterisk.org/wiki/display/AST/WebRTC+tutorial+using+SIPML5">https://wiki.asterisk.org/wiki/display/AST/WebRTC+tutorial+using+SIPML5</a><br>
</div>This is working fine for me.<br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 2, 2014 at 8:06 PM, Sameer Rathod <span dir="ltr"><<a href="mailto:sameer@hostnsoft.com" target="_blank">sameer@hostnsoft.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>I am getting <br><b>Can't provide secure audio requested in SDP offer</b><br>
<br></div>with sipml5 client hosted on my local system <br clear="all"><div><div><div><br><br><br>[1060] ; This will be WebRTC client<br>
type=friend<br>username=1060 ; The Auth user for SIP.js<br>host=dynamic ; Allows any host to register<br>secret=sameer ; The SIP Password for SIP.js<br>encryption=yes ; Tell Asterisk to use encryption for this peer<br>avpf=yes ; Tell Asterisk to use AVPF for this peer<br>
icesupport=yes ; Tell Asterisk to use ICE for this peer<br>ignorecryptolifetime=yes<br>context=sameer ; Tell Asterisk which context to use when this peer is dialing<br>;directmedia=yes ; Asterisk will relay media for this peer<br>
transport=udp,ws ;Asterisk will allow this peer to register on UDP or WebSockets<br>;disallow=allow<br>;allow=vp8<br>canreinvite=yes<br>;directrtpsetup=yes<br>nat=force_rtp,comedia<br>dtmfmode=rfc2833<br>qualify=yes<br><br>
[1061] ; This will be the legacy SIP client<br>type=friend<br>username=1061<br>host=dynamic<br>secret=sameer<br>context=sameer<br>ignorecryptolifetime=yes<br>nat=force_rtp,comedia<br>encryption=yes<br>avpf=yes ; Tell Asterisk to use AVPF for this peer<br>
icesupport=yes ; Tell Asterisk to use ICE for this peer<br>;context=default ; Tell Asterisk which context to use when this peer is dialing<br>;directmedia=yes ; Asterisk will relay media for this peer<br>transport=udp,ws ; Asterisk will allow this peer to register on UDP or WebSockets<br>
;disallow=allow<br>;allow=vp8<br>canreinvite=yes<br>;directrtpsetup=yes<br>dtmfmode=rfc2833<br>qualify=yes<br><br><br><br><br></div><div>This is my sip.conf <br><br><br></div><div>on the one side I am using zoiper client with 1060 (same pc with ip 192.168.1.191)<br>
</div><div>and for second client I am using sipml5 on chrome <br></div><div><br></div><div>both the client displays a message Not acceptable here <br><br></div><div>I am using asterisk 12.3 <br><br>== WebSocket connection from '<a href="http://192.168.1.191:55561" target="_blank">192.168.1.191:55561</a>' for protocol 'sip' accepted using version '13'<br>
-- Registered SIP '1061' at <a href="http://192.168.1.191:55561" target="_blank">192.168.1.191:55561</a><br> > Saved useragent "IM-client/OMA1.0 sipML5-v1.2014.04.18" for peer 1061<br> == Using SIP RTP CoS mark 5<br>
[Jul 2 19:57:04] WARNING[26672][C-00000071]: chan_sip.c:10648 process_sdp: Can't provide secure audio requested in SDP offer<br><br><br></div><div>If any more information is needed please let me know <br><br></div><div>
My goal is do do peer to peer calling with asterisk+webrtc (i.e. webphone)<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br><br></div><div><br></div>
<div> <br></div><div><br></div><div><br><br><br>-- <br><div>Regards</div>Sameer Rathod<div>8109413462 <br>
<div><br></div></div>
</div></font></span></div></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Thanks,<br>Bhavik Patel<br>
<br>
</div>