Hi Kevin
Thank you for your kind reply.
There was a mistake in my initial inquiry. I apologize.
I will correct the mistake, so could you please check again?
11:00 AM:
The PBX server requests a VoIP PUSH notification from APNs.
The app was connected to the Internet, but did not receive VoIP PUSH.
** There was an error in the explanation here last time. **
It is unclear whether the iPhone was within the range of a network that could connect to the Internet or outside of it.
It is certain that it is not connected to the LAN (Wi-Fi) at least. The extension is not working.
The following are hypotheses.
The APNs server was unable to send the VoIP PUSH to the iPhone. Or...,
The VoIP PUSH reached the iPhone, but the delegate (didReceiveIncomingPushWithPayload) was not called.
14:31 PM:
The iPhone connected to the LAN (Wi-Fi). The extension started working.
14:55:11 PM:
A call comes in from my server (PBX) via the local network,
and NetworkExtension calls the iOS API (API name is reportIncomingCall).
However, iOS does not call the delegate didReceiveIncomingCallWithUserInfo
for reportIncomingCall.
14:55:11 PM:
At almost the same time, iOS calls the VoIP PUSH delegate didReceiveIncomingPushWithPayload.
(Instead of calling the delegate didReceiveIncomingCallWithUserInfo for reportIncomingCall?)
The content of this VoIP (APNs) PUSH was the 11:00 AM call.
This is just my guess.
It is unlikely that APNs notified the VoIP PUSH that occurred at 11:00 AM at 14:55:11 PM (due to processing delay). The 11:00 VoIP PUSH reached the iPhone, but got stuck inside iOS. At 14:55:11 PM, the extension called reportIncomingCall, which triggered the VoIP PUSH delegate didReceiveIncomingPushWithPayload to be called.
We apologize for the confusion.
Unfortunately, we were unable to obtain diagnostic logs and have not issued a bugreport.
Could you please let us know if there is a known issue? Is there a possibility that this can be avoided by implementing it on the application side?
Best Regards,
Topic:
App & System Services
SubTopic:
Notifications
Tags: