datso / react-native-pjsip

A PJSIP module for React Native.
http://datso.github.io/react-native-pjsip
GNU General Public License v3.0
272 stars 229 forks source link

Init pjsip service when integrate with React-native-callkit #118

Closed johnfree02 closed 6 years ago

johnfree02 commented 6 years ago

Hi @datso ,

I got problem when i integrate react-native-callkit and react-native-voip-push-notification.

I can display Incoming Call via Callkit when i got voip push notification ? But how can i init pjsip service to answer call ?

Thanks

datso commented 6 years ago

Hey, please see https://github.com/datso/react-native-pjsip/blob/master/docs/ios_push_notifications_callkit.md

datso commented 6 years ago

When iOS application receives this PushNotificaiton it should show incoming call dialog via callkit, and register on server. Server should send INVITE to new registration from this iOS device.

So some changes required on your SIP server to make it work