I have develop VOIP call functionality using TWilio Client iOS SDK.
I get success to App to App call between two user.
I have three case for App to App call.
Case 1 : User 1 and User 2. User 1 have a active app and User 2 have also active app. In this case I have successful establish call between them.
Case 2 : User 1 and User 2. User 1 have a active app and User 2 have Inactive app(Background app mean minimize app). I have an implement local notification in this case and i get local notification.
Case 3 : User 1 and User 2. User a have a active app and User 2 have a suspended app (App is kill). For this case i have implement voip push notification. User 2 get voip push notification. When user 2 click on push notification nothing happen. Call is not establish.
I have manage twilio client token and also ask user to accept , reject and ignore call.
I have message from twilio that use below link :
I follow all step as mention in doc. But call is not establish after app is suspended (App is kill). How twilio client is listen current user when app is kill. How can we establish call ? many many question are in my mind.
I post question previously in stack Can we do VOIP push notification using Twilio iOS SDK?
How can i resume twilio device connection when app is open from push notification?
I also contact twilio developer but nothing happen.
Please please help me as soon as possible.
Twilio Client doesn't have Apple's Push Notification Service integrated.
The suggested workaround is to integrate your own push-notification service and use the push-notification as a "fallback mechanism" that when the mobile client failed to connect to a callee (not due to rejection but some network connectivity issue or the callee is "not present"). Example for implementation:
pushRegistry:didUpdatePushCredentials:forType:delegate method, save the device token as well as the Twilio client-name used in the capability token to set up the
TCDevice, so that the application can send push notification to the device with the client-name associated with the notification device token (credentials).
connection:didFailWithError:delegate callback method (assuming the scenario of "callee not reachable at the time"), trigger a push-notification from the caller mobile client application to notify the callee about the missed call.
Please tell me if this helps at all.