[Top][All Lists]

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

Re: [Linphone-developers] Cannot Receive Call in Background mode

From: Barbieri Davide
Subject: Re: [Linphone-developers] Cannot Receive Call in Background mode
Date: Thu, 18 Oct 2012 09:04:25 +0000

Play a silent audio streams in silent mode is an optimal solution to maintain UDP socket alive in background. Create a parallel audio session and set property “mixwithothers” and launch play every few seconds with a timer.


Other method is logging GPS position but in this context Apple will not permit you if it’s not necessary.


Davide Barbieri

Concept Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100

 Concept Reply

From: linphone-developers-bounces+address@hidden [mailto:linphone-developers-bounces+address@hidden On Behalf Of Wei Eric
Sent: giovedì 18 ottobre 2012 06:39
To: address@hidden
Subject: Re: [Linphone-developers] Cannot Receive Call in Background mode


Dear Cheers, 


Thank you for your reply. What if UDP is a must, is there any solution for this ?  


I found some possible solutions shown as follows.

1. Client periodically registers to SIP Proxy within 3 mins.

2. Play audio streams when an app runs in background mode.


Any comments for this ?  




On Wed, Oct 17, 2012 at 11:13 PM, Dario Fiumicello <address@hidden> wrote:

Il 17/10/2012 16:06, Wei Eric ha scritto:


Dear all,

I tested the Linphone with iPhone4 iOS 5.0 and iPad2 iOS5.1.
When LinPhone runs in background mode, it cannot receive any VOIP call.

Has this issue been solved or no solutions ?


Hi, in iOS, as far as I know, UDP sockets are closed when phone goes to background. If you want to receive calls in background you should use SIP over TCP.


Dario Fiumicello

Linphone-developers mailing list


The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

reply via email to

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