linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Notifications doesnt arrive on iOS after app g


From: German Cancio
Subject: Re: [Linphone-developers] Notifications doesnt arrive on iOS after app goes to Background
Date: Thu, 3 Dec 2020 19:02:12 +0000

Juvi,

we don’t use flexisip at our site for issuing PN’s so I can’t tell whether there is something wrong from your logs. Are you sure api.development.push.apple.com is the right APNS server to use (see also this link)? Another potential problem (we ran into) is to use a wrong VoIP certificate - and APNS doesn’t provide any negative feedback...

Germán


On 3 Dec 2020, at 19:17, yuvraj.narula@diseo.com wrote:

Hi German

See this is the payload data we get from server 

2020-12-03 11:51:11:663 flexisip-debug-AppleClient[0x1faff00][1]: sending PNR 0x1fafd80:
:method = POST
:scheme = https
:path = /3/device/98E51CA5F61AE7F42C39778296D5073C38073BA02C7BDE542D72621F1D11A755
host = api.development.push.apple.com
apns-expiration = 0
apns-topic = com.diseo.circles.voip

{
"aps": {
"sound": "",
"loc-key": "IM_MSG",
"loc-args": ["Pusher"],
"call-id": "",
"uuid": "",
"send-time": "2020-12-03 11:51:11"
},
"from-uri": "sip:toto@sip.linphone.org",
"display-name": "Pusher",
"pn_ttl": 2592000
}
2020-12-03 11:51:11:829 flexisip-debug-AppleClient[0x1faff00][1]: receiving HTTP2 header [:status = 200]
2020-12-03 11:51:11:829 flexisip-debug-AppleClient[0x1faff00][1]: PNR 0x1fafd80 succeeded
2020-12-03 11:51:11:829 flexisip-debug-AppleClient[0x1faff00][1]: receiving HTTP2 header [apns-id = C802569E-C31C-AA96-49E3-C6D6A1F18EC2]
2020-12-03 11:51:11:829 flexisip-debug-AppleClient[0x1faff00][1]: stream closed with error code [0]
2020-12-03 11:51:11:829 flexisip-debug-AppleClient[0x1faff00][1]: end of PNR 0x1fafd80
1 push notification(s) sent, 1 successfully and 0 failed.
job is done, thanks for using ./flexisip_pusher. Bye!

 

Still we do not receive push on iPhone

Any suggestions.

Regards

Yuvi

 

German Cancio wrote on 02.12.2020 14:03 (GMT +05:30):

Yuvi, 
 
unfortunately there might be many reasons why push notifications are not received and you need to dive into each of the components to understand where the problem comes from. You may have problems with your server-side setup (are you using flexisip?) for issuing the push, or with your VoIP certificates used. Then, you may want to check whether VoIP push notification are presented to your device at all.
 
Germán


On 2 Dec 2020, at 08:57, yuvraj.narula@diseo.comwrote:

Hi German

We have integrated all however still not receiving the push.

Regards

yuvi

 

German Cancio wrote on 01.12.2020 13:41 (GMT +05:30):

Yuvi,
 
it seems you haven’t configured push notifications - have you read 
 
 
cheers, Germán


On 1 Dec 2020, at 08:50, yuvraj.narula@diseo.com wrote:

Hi Team

We have installed Linphone iOS sdk in our app.

As soon as app goes to background , upto 1 minute notification arrives for the call but not after that.

I think app goes to Inactive mode, but what can we do that notification should arrive even if the app is killed or on inactive mode?

Regards

Yuvi

_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
Linphone-developers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-developers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]