Christopher Mendes

Results 19 comments of Christopher Mendes

Its in the readme to listen for events `endpoint.addListener("call_changed", (newCall) => { if (call.getId() === newCall.getId()) { // Our call changed, do smth. } }` Look at the sample app,...

Did you try the other events? If so which ones did you try and which event are you exactly looking for that is not working?

Why are you not using SIP ringing? You probably want to use call.getState() and look for PJSIP_INV_STATE_CONFIRMED. Mostly all are in the example app. Please take the time to go...

@platonish Probably should open a separate issue instead of linking tickets that are possible not related since this was knowing call state. The other ticket sounds closer to your issue

How come you do await on `const endpoint = await new Endpoint();` ? This is mine: `const endpoint = new Endpoint(); const state = await endpoint.start({ service: { ua: Platform.select({...

Sorry, I have no idea. I use mine with redux and I have it setup similar to the demo app without any issue: https://github.com/datso/react-native-pjsip-app/blob/master/app/modules/pjsip.js

What is receiving the call like is it another instance of your RN app? Do you have any SIP traces?

I am also having the same issue. For me, onBillingError() is not being called so the trick with calling purchase() is not going to work. My setup is being called...

Ok well I think I have a working fix for me. It was mainly due to onActivitiyResult() not being called in the fragment due to startIntentSenderforResult(). I'm not too deep...

I tried was playing around with Windows and have the same issue with no audio. From this ticket, it looks like support for Windows still needs to be tested out:...