<div dir="ltr">I have my asterisk 18 working with <a href="https://www.doubango.org/sipml5/call.htm?svn=252#">https://www.doubango.org/sipml5/call.htm?svn=252#</a><div><br></div><div>I then tried to take the 15 lines of javascript library API (below) and when it runs I get </div><div>asterisk console message about "failed to authenticate".    I took ALL the same settings I was using in the above URL - and plugged into the javascript function below </div><div><br></div><div>The console log says 403 forbidden.</div><div><br></div><div>Is there a trick to get the API working ?</div><div><br></div><div>Any pointers to share ? Thanks.</div><div><br></div><div>Jerry</div><div><br></div><div>          SIPml.init(<br>                    function(e){<br>                        var stack =  new SIPml.Stack({realm: '<a href="http://example.org">example.org</a>', impi: 'bob', impu: '<a href="mailto:sip%3Abob@example.org">sip:bob@example.org</a>', password: 'mysecret',<br>                            events_listener: { events: 'started', listener: function(e){<br>                                        var callSession = stack.newSession('call-audiovideo', {<br>                                                video_local: document.getElementById('video-local'),<br>                                                video_remote: document.getElementById('video-remote'),<br>                                                audio_remote: document.getElementById('audio-remote')<br>                                            });<br>                                        callSession.call('alice');<br>                                    } <br>                                }<br>                        });<br>                        stack.start();<br>                    }<br>            );<br></div></div>