sip.transport | WebSocket wss://mydomain.com:wss_port connected
sip.ua | connection state set to 0
but I am trying to initiate an audio call and here is my code for that
uri: 'myuri',
ws_servers: 'servers parameters',
authorizationUser: 'user',
password: 'pass'
});
var session=null;
var remote= document.getElementById('audio_remote');
var options = {
media: {
constraints: {
audio: true
},
render: {
remote: document.getElementById('audio_remote')
}
}
};
var sipCall = function(){
session = userAgent.invite(document.getElementById('txtPhoneNumber').value, options);
}
var sipHangUp=function(){
session.bye();
}
it just turns on the webcam's light and does nothing. While I am able to call using sipml successfully. Can you help please?