linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Linphone iPhone background incoming call probl


From: Simon Morlat
Subject: Re: [Linphone-developers] Linphone iPhone background incoming call problem
Date: Tue, 06 Sep 2011 21:21:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13

I think there is a good one.
Most NAT routers (3g  and wifi) have timeouts > 30 minutes for TCP connections, while it is often less than a couple of minutes for UDP.
I don't know why this is like this, but it's a fact.
As a consequence there is a need for keepalive every minute for UDP to keep the connection up through the nat, while a keepalive every 30 mn is ok for TCP.
Thus TCP helps in preserving the battery.

I suppose this is why Apple has interest to promote the use of TCP for its VoIP or IM applications instead of UDP.


Simon

On 06/09/2011 10:10, Barbieri Davide wrote:

Ok, thanks.

 

However, I can’t find a reason why Apple disabled this feature since 4.3+  L

 

From: Simon MORLAT [mailto:address@hidden] On Behalf Of Simon Morlat
Sent: lunedì 5 settembre 2011 22:36
To: address@hidden
Cc: Barbieri Davide
Subject: Re: [Linphone-developers] Linphone iPhone background incoming call problem

 

Hi,

The only way to workaround this UDP problem is to force the iphone to stay live by creating a long running background task.
The result is that the device never suspends, which drains the battery very fast.

We don't plan to implement this.
Instead we recommend the use of a TCP/UDP SIP gateway, like our flexisip server running on sip.linphone.org .

Anybody can configure its linphone android or iphone to go through sip.linphone.org to use TCP instead of UDP.
It is rather simple:
domain: your voip provider domain
server: sip.linphone.org
Outbound proxy: yes
Transport: TCP

There is no need to create a SIP account on linphone.org to benefit from this feature.

Regards,

Simon


On 05/09/2011 12:36, Barbieri Davide wrote:

Here you can read official doc for background support for TCP and UDP (as a data socket).

http://developer.apple.com/library/ios/#technotes/tn2277/_index.html

 

And how did Bria’s and Acrobits’ developers succeed instead ?

 

Cheers,

Davide

 

From: address@hidden [mailto:address@hidden] On Behalf Of Jehan Monnier
Sent: lunedì 5 settembre 2011 12:02
To: address@hidden
Subject: Re: [Linphone-developers] Linphone iPhone background incoming call problem

 

Hi,

From Apple's documentations, there is no trace of UDP support for voip socket at all. It used to work from IOS IOS 4.0 to 4.2, but from my understanding,  it has never been officially supported by Apple.

 

Cheers

 

Jehan

 

 

 




 

Le 5 sept. 2011 à 11:30, Barbieri Davide a écrit :




Hi Jehan,

 

is there an official documentation by Apple which states that?

 

Davide

 

From: address@hidden [mailto:address@hidden] On Behalf Of Jehan Monnier
Sent: lunedì 5 settembre 2011 11:22
To: address@hidden
Subject: Re: [Linphone-developers] Linphone iPhone background incoming call problem

 

Hi,

 

It seams UDP background mode is no longer supported in IOS > 4.2. There is no obvious solution except using SIP TCP instead of UDP.

 

Cheers

 

Jehan

 

 

 





 

Le 31 août 2011 à 10:20, Gunnar Hellström a écrit :





Sorry,
That Swedish comment was intended as a comment directly to Ludvig that happened to go to the list.

It merely meant: Good, and good that there are others who have reported the same problem.

Gunnar



-----------------------------------------------


Gunnar Hellström skrev 2011-08-31 10:12:

Bra,
Och bra att det finns en till som rapporterat exakt samma sak.

Gunnar

----------------------------------------------------------------------------------



ludvig davidsson skrev 2011-08-31 09:57:

Hi all,

 

I ran into the very same problem myself. This functionality appears to be broken in the Linphone app 1.0.6 present on the App store. No notifications show from incoming calls when, for instance, the home screen is visible. I have only tested the app on IOS 4.3.X

Does anyone know what might have caused this?


Regards,

Ludvig Davidsson

 

2011/8/31 rex tsai <address@hidden>

Hi all,

 seems the function not worked from "iOS 4.3+"

     ref :  3/31 "It seems that background incoming calls don't work
any more, transport=UDP, backgroundMode=enabled."

 anyone have info about iOS or Linphone update ?



 With Regards,

Rex

_______________________________________________
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

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

 

 


--
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.
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers

 

 


--
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.

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

 



--
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]