I've used tokbox for video calling, and implemented VoIP push notification by following steps from here.
As the script run son the backend it shows that push has been sent successfully, but VoIP push didn't received at app side.
While application is receiving the APNs notifications successfully.
Can any one please suggest the solution for this?
Yes, After googling and healthy searching finally I got the problem with solution.
Actually problem was, when be try to getting the VoIP notification then we also need to enable the push notification as well.
Second thing is, I was testing the VoIP notification with the APN tester which was not right. then I tried houston to send the VoIP notification. There is different approach to send the VoIP notifications.
For houston these commands I've used:
Install houston:
$ (sudo) gem install houston
Send VoIP notification: $ apn push "<token>" -c /path/to/apple_push_notification.pem -m "Hello from the command line! "
Hope this will help someone else!!
Happy coding :)