linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Latest iPhone build not receiving calls when a


From: BIENKOWSKI Guillaume
Subject: Re: [Linphone-developers] Latest iPhone build not receiving calls when app is in background
Date: Tue, 17 Dec 2013 09:52:02 +0100

It depends heavily on your phone setup.
If you have lots of apps in the background, Linphone could be killed and its TCP socket goes with it.

In this case, if you're using sip.linphone.org, you'll still be able to receive calls and messages through Push notifications.
If you're using another sip provider, it is up to them to support push notifications.
The message format is not clearly specified in the documentation, but it is available in the code, in LinphoneAppDelegate.m, - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo

As for the calls not reaching in, could you take a look at the logs? TCP should be reliable.

Cheers,

Guillaume BIENKOWSKI
http://www.belledonne-communications.com/


On Mon, Dec 16, 2013 at 8:41 PM, Richard Zinn <address@hidden> wrote:
Thanks Seamus.  I've got it set to this now and the interesting thing now is that it only works some of the time.  Do you know why it would only work part of the time?  When it isn't working, doing a hard reboot of the phone seems to fix it.  I've tried things like killing other SIP apps and Skype, and none of that seems to help.

Also, does this app support getting push notifications in the background to wake up for incoming calls?  If so, is there a spec for what the push notification message should look like?

Thanks again.


On Mon, Dec 16, 2013 at 5:02 AM, Seamus Cantillon <address@hidden> wrote:
Change the transport to TCP.  This is a limitation in iOS.  You'll only get notifications in the background when listening on TCP connections.


On Tue, Dec 3, 2013 at 3:28 PM, Richard Zinn <address@hidden> wrote:
I looked through the archives and this problem hasn't been reported since March of 2011.  I can do SIP registration just fine, and even receive calls when the app is in the foreground, but when the app is backgrounded I don't get anything.

Also the app outputs no log information when the app is backgrounded, so I'm unsure how to go about debugging this.  Any thoughts on what to look at?  The network settings are all the defaults, UDP, default port, etc.

Thanks!

RZ

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



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



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



reply via email to

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