Hello,
i'm trying to implement phone with jssip, but stuck with issue:
after connecting and registering jssip don't receive any events on income call, but works great on outcome.
let socket = new JsSIP.WebSocketInterface(`wss://${this.server}:8089/ws`);
let UAConfig = {
sockets: [socket],
uri: `sip:${this.sipValue}@${this.server}`,
password: this.pwdValue,
display_name: this.nameValue,
realm: 'asterisk',
use_preloaded_route: true,
register: true
};
if (UAConfig.uri && UAConfig.password) {
this.phone = new JsSIP.UA(UAConfig);
......
this is how i'm connecting and if i make call from browser is works great, but when i'm trying to call from linphone to SIP in browser - SILENCE, no events. Also, if log into (for example) simpl5 demo app and logout, refresh window with my phone, then it will receive income calls.
Maybe i need extra options in user agent?