Hi @Naresh Khuriwal ,
Welcome to the Microsoft Q&A Platform!
Azure Notification Hub does support iOS VoIP push notifications, but certain specific configurations are required to ensure they are sent correctly.
APNs VoIP Certificate
Use a VoIP-specific APNs certificate generated from the Apple Developer portal.
- Upload the
.p12
file to Azure Notification Hub. - Include
content-available: 1
in the payload to indicate background processing.{ "aps": { "content-available": 1, "alert": { "title": "Incoming Call", "body": "You have an incoming call." } } }
Headers
Set the following headers:
-
apns-push-type
:voip
-
apns-priority
:10
-
apns-topic
:<Bundle Identifier>.voip
Bundle Identifier
Ensure the app’s Bundle Identifier matches the apns-topic
.
Device Token:
- Use a VoIP-specific device token generated with
pushRegistry.desiredPushTypes = [.voIP]
Test with APNs
- Use tools like
curl
to test VoIP push notifications directly with APNs.
Azure Notification Hub Logs
- Enable and review diagnostic logs in the Azure portal for errors or mismatches.
If the answer is helpful, please click "Accept Answer" and kindly upvote it.