Yunhan Xia

Results 10 comments of Yunhan Xia

Same issue, I'm crashing when I try to createAccount after registerAccount(account, false) and deleteAccount(account), I'm trying to do Login and Logout

I think you forgot to add the port, your domain should be look like this "131.191.161.131:5161"

about your username, i don't think you can use a number from trunk, try something local, like "something#123", also make sure you configured for PJSIP

let configuration = { "name": "something#extension", "username": "something#extension", "transport": "UDP", "domain": "address:port", "password": "password" }; Did you configure PJSIP at asterisk side ?

your server I mean

Can you send the full code of creating account and make call ?

let options = { headers: { 'P-Asserted-Identity': 'Header Example', 'X-UA': 'React native' } }; let call = await endpoint.makeCall(account, "sip:" + number + "@" + domain, options); thats my makecall

I don't have access to my server's source config (asterisk), but we have an admin platform that i can update an extension on PJSIP or SIP. In my App, I...

I think you forgot to add the port, your destination should be look like this "sip:[email protected]:5161"