Windows & Apple phones doesn’t run applications in the background. This means that when you are not actively using the Lync app, it doesn’t have a connection to the server and hence will not be able to receive any communications at that time. In order to overcome that, we need to configure push notification for these type of mobile phones, so that a notification is sent to the phones whenever there is any communication.
Configuring push notification is easy enough. The push notification service is hosted by Microsoft along with the Lync Online deployment and hence the first step is to federate with Lync Online if you haven’t done so. Check my article for the exact steps to configure the federation using the control panel. If you are into PowerShell, you can run the following from the Lync Shell to achieve the same result.
New-CsHostingProvider –identity “LyncOnline” –Enabled $true –ProxyFqdn “sipfed.online.lync.com” –VerificationLevel UseSourceVerification
Next step is to allow push.lync.com as an allowed domain in the on-premise Lync deployment. Run the following from the Lync Shell.
New-CsAllowedDomain –identity push.lync.com –Comment “Push Notification for Windows & Apple phones”
By default, the push notification is not enabled, even after deploying the mobility service. Hence, the next step will be to enable it. Run the following from the Lync Shell.
Set-CsPushNotificationConfiguration –EnableApplePushNotificationService $true –EnableMicrosoftPushNotificationService $true
If you have followed my various article series, you would have federation enabled for all users. If not, you need to enable it. Check my article (towards the end) for steps using the control panel. Alternatively, run the one-liner from the Lync Shell.
Set-CsAccessEdgeConfiguration –AllowFederatedUsers $true
Apple devices which are connected to your internal network needs to talk to the Apple Push Notification Service by initiating an outbound TCP connection using port 5223. Hence, if you want your internally connected (over company WiFi) Apple devices to get all push notifications, you need to open TCP port 5223.
That’s it. Your Windows & Apple phone users will be happy now
This completes the mobility service deployment article series.