[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] R: Linphone iPhone background incoming call proble
From: |
Barbieri Davide |
Subject: |
[Linphone-developers] R: Linphone iPhone background incoming call problem |
Date: |
Wed, 7 Sep 2011 01:48:16 +0200 |
Ok, if we speak about the NAT limitation.
But just keep the UDP socket active to receive packets also when app is in
background should not be a problem in terms of battery consuming. What's the
difference compared to TCP in this case?
________________________________________
Da: address@hidden address@hidden per conto di Gunnar Hellström address@hidden
Inviato: martedì 6 settembre 2011 22.08
A: address@hidden
Oggetto: Re: [Linphone-developers] Linphone iPhone background incoming call
problem
Yes, TCP is good because of the lower frequency needed on the keep-alive.
RFC 5626 recommends 14 minutes keep-alive interval for battery operations.
http://tools.ietf.org/html/rfc5626#page-18 section 4.4.1.
/Gunnar
--------------------------------------------------------------------------------
Simon Morlat skrev 2011-09-06 21:21:
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+ ☹
From: Simon MORLAT [mailto:address@hidden On Behalf Of Simon Morlat
Sent: lunedì 5 settembre 2011 22:36
To: address@hidden<mailto: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> [mailto:address@hidden On Behalf Of
Jehan Monnier
Sent: lunedì 5 settembre 2011 12:02
To: address@hidden<mailto: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
www.linphone.org<http://www.linphone.org>
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> [mailto:address@hidden On Behalf Of
Jehan Monnier
Sent: lunedì 5 settembre 2011 11:22
To: address@hidden<mailto: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
www.linphone.org<http://www.linphone.org>
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<mailto: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<mailto:address@hidden>
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden<mailto:address@hidden>
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden<mailto:address@hidden>
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden<mailto: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<mailto: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<mailto: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<mailto: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.
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Jehan Monnier, 2011/09/05
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Barbieri Davide, 2011/09/05
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Jehan Monnier, 2011/09/05
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Barbieri Davide, 2011/09/05
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Barbieri Davide, 2011/09/05
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Simon Morlat, 2011/09/05
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Barbieri Davide, 2011/09/06
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Simon Morlat, 2011/09/06
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Gunnar Hellström, 2011/09/06
- [Linphone-developers] R: Linphone iPhone background incoming call problem,
Barbieri Davide <=
- Re: [Linphone-developers] R: Linphone iPhone background incoming call problem, Gunnar Hellström, 2011/09/07
- Re: [Linphone-developers] R: Linphone iPhone background incoming call problem, Barbieri Davide, 2011/09/07
- Re: [Linphone-developers] R: Linphone iPhone background incoming call problem, Gunnar Hellström, 2011/09/07
- Re: [Linphone-developers] R: Linphone iPhone background incoming call problem, Barbieri Davide, 2011/09/07
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Stas Khirman, 2011/09/07
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Simon Morlat, 2011/09/08
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Stas Khirman, 2011/09/08
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Barbieri Davide, 2011/09/16
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Jehan Monnier, 2011/09/16
- Re: [Linphone-developers] Linphone iPhone background incoming call problem, Barbieri Davide, 2011/09/16