Hello.
I have a problem. I don't understand the logic of incoming calls. What methods from the documentation should I use at each step to make incoming calls work?
I'm connecting now _ua = new JsSIP.UA(
{
***
});
Start successfully
this._ua.start();
Outgoing call works
function call(callid) {
this.session = this._ua.call(number, {
pcConfig:
{
hackStripTcp: true,
rtcpMuxPolicy: 'negotiate',
iceServers: []
},
'extraHeaders': [ 'X-CRM-ID : '+callid ],
mediaConstraints:
{
audio: true,
video: false
},
rtcOfferConstraints:
{
offerToReceiveAudio: 1,
offerToReceiveVideo: 0
}
});
}
But the incoming call doesn't work.
Give me a roadmap of my actions for success please.