[Top][All Lists]

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

Re: [Linphone-developers] latest linphone on iOS 8 closes background con

From: Ákos Szente
Subject: Re: [Linphone-developers] latest linphone on iOS 8 closes background connections
Date: Wed, 11 Feb 2015 12:55:39 +0000

Apple has made some changes to the local notification API in iOS8. These changes have already been implemented in Linphone months ago. 

Are you using the latest Linphone or did you fork an older version? If you're using an older version, see this question on StackOverflow:

Check your device logs because iOS should dispatch a warning about the deprecated API through ASL. 

registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later.
If you're using the latest version then I don't really have any idea. Works fine for us. 


On 11 February 2015 at 05:03, Henrik Husted <address@hidden> wrote:
Hi Peter 

We're having a similar setup and don't see any problems. Right now I'm on iOS 8 connected to a Freeswitch server on a TLS connection. 
Your issue could be a number of things. 

Have you checked that your app permissions are okay? There should be an entry in iOS settings for your app with the permissions to run in the background are enabled. 

Does the app lose connection straight after entering background mode? Or does it take a few minutes? 
Does the SIP server say that the user is still online and with the correct IP? I guess all this should be fine since it works on iOS 7. 

My best guess is that background permissions are not properly set. 


On 10/02/2015, at 21.34, Peter Villeneuve <address@hidden> wrote:

Anyone else using linphone on iOS?

Can you please confirm this behaviour?



On Mon, Feb 9, 2015 at 3:35 PM, Peter Villeneuve <address@hidden> wrote:

Has anyone else noticed that iPhones that have iOS 8 seem to lose their registrations on the SIP servers?

I have my own SIP (kamailio) proxy setup with TLS (yes I know that iOS closes UDP sockets after some minutes), and it seems that iPhones that are still on iOS 7 stay registered in the background as they should, while iPhones with the newer IOS 8 seem to go offline and stay offline until the app is opened.

I have the exact same settings setup for both iPhones (with iOS 7 and iOS8), so that shouldn't be the problem:
TLS transport, Proxy set, Outbound Proxy checked, Edge Optimization checked.

Has something relevant changed with iOS 8? Has anyone managed to keep linphone registered in the background with iOS 8?



Linphone-developers mailing list

Linphone-developers mailing list

reply via email to

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