I have my asterisk 18 working with
https://www.doubango.org/sipml5/call.htm?svn=252#
I then tried to take the 15 lines of javascript library API (below) and
when it runs I get
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
The console log says 403 forbidden.
Is there a trick to get the API working ?
Any pointers to share ? Thanks.
Jerry
SIPml.init(
function(e){
var stack = new SIPml.Stack({realm: 'example.org',
impi: 'bob', impu: 'sip:[email protected]', password: 'mysecret',
events_listener: { events: 'started', listener:
function(e){
var callSession =
stack.newSession('call-audiovideo', {
video_local:
document.getElementById('video-local'),
video_remote:
document.getElementById('video-remote'),
audio_remote:
document.getElementById('audio-remote')
});
callSession.call('alice');
}
}
});
stack.start();
}
);
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users