Hitman666 / ios-voip-push

Sample app in Swift and ObjectiveC that can receive VoIP push notifications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not show voip Tokon on the console

masiiha opened this issue · comments

Hello @Hitman666 , @wangw469
I wrote a pjsip voip program that I want to run in the background, and the voip registry will be logged in and the incoming call will be made. So I did all the parts in the same way, but did not print the token, or I would say that the whole extension was never Does not run
Can you help me?

I'm sorry but I don't understand what you're asking. Could you be more specific?

Hello @Hitman666
I want to start voip app working in the background
I used your code with all the details
But it does not work your code
Do not do that on the output of the token

Are you getting any errors? How have you tried debugging it?

@Hitman666
I got a license from Apple
After that, I made the necessary adjustments
And then I moved the codes
You're in the outlet (2016-09-19 10: 08: 53.793
VoipTest Nikola [1876: 2020432]
App launched with state UIApplicationState
  But (09/19 2019 10: 08: 53,877
VoipTest Nikola [1876: 2020432]
Voip token: <>) can not be printed

2017-10-16 21:02:15.399 voipTestNikola[1508:1049731] app launched with state 1
2017-10-16 21:02:15.514 voipTestNikola[1508:1049731] PushCredentials:

this is my log

apn push "<40cc4209 d0f3ac25 95a7e937 3282897b 211231ef ba66764c 6fd2befa b42076cb>" -c VOIP.pem -m "Testing VoIP notifications!"
I run this code from terminal and got response on terminal like
" 1 push notification sent successfully"
but in my device I did not get any notification

@prasenraj did you use the correct VOIP.pem file? You have to create this one yourself on your machine.