PBXes » English » Terminal Equipment » RE: TCP settings
Print Page | Recommend to Friend | Add Thread to Favorites
Post New Thread Post Reply
Author
Post « Previous Thread | Next Thread »
gor


Registration Date: 01.01.1970
Posts:

TCP settings Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

I am trying to optimise the battery usage of my iphone running acrobits softphone connecting to PBXes

I am connecting using TCP to enable more efficient battery use.

Does anyone know what the maximum maximum TCP expiry is for PBXes?

18.09.2011 01:52 gorstj is offline Search for Posts by gorstj Add gorstj to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

RE: TCP settings Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

When using the Acrobits Softphone on an iPhone, the way to minimize battery drain is to use their intermediate SIP Proxy, which sends a Push notification to the iPhone, that in turn reloads their Softphone or Groundwire into an active state, in order to answer the incoming call.

Their explanation can be found here: About Push Notifications. The only drawback when using this method, is that it takes a bit longer for the iPhone to start ringing on an inbound call. But the battery savings are amazing.

19.09.2011 07:37 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
gor


Registration Date: 01.01.1970
Posts:

RE: TCP settings Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Thank you for the advice. I have tried the push service but it requires me to remember to open the softphone every x amount of time otherwise the Acrobits server will de-register me!

In the document you link to there is a way to background, in a battery friendly manner, connecting with TCP. This is how Sipdroid works with PBXes.

Does anyone know what TCP settings Sipdroid uses with PBXes?

Cheers

20.09.2011 11:00 gorstj is offline Search for Posts by gorstj Add gorstj to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

RE: TCP settings Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

The basic idea of using the Acrobits intermediate SIP Proxy, is for their iPhone App not to be loaded into memory, unless there is an incoming call which obviously needs to be answered. If the registration from their intermediate SIP Proxy towards PBXes is not being maintained, then you should inquire with them, why the registration is lost.

Connecting to PBXes via TCP through any soft-phone, will reduce the amount of re-connections, but it will not eliminate them. Your battery will drain slower, but it will drain nonetheless. On Android based phones, using SipDroid via TCP or using CSIPsimple via TCP, will drain your battery at the same rate. It's a better option than using UDP, but it cannot be compared with using an intermediate SIP Proxy, to hold the registration for their iPhone based Apps, and use Push notification to load their Apps into memory to answer incoming calls.

This is definitely not how Sipdroid works with PBXes. There is no magic solution in this situation, without using an intermediate SIP Proxy. I don't like it since it introduces an element of security risk, but it's the only way I am aware of, to reduce the battery drain and use VoIP efficiently on an iPhone.

It requires a few disparate settings in various places of the Acrobits' Apps, but it seems to work properly on the iPhones I have configured it.

20.09.2011 11:35 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
mon
Premium Account


Registration Date: 17.10.2007
Posts: 106

RE: TCP settings Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Acrobits suggest as following to make work TCP...

Note for Asterisk Users: To enable TCP for Acrobits Softphone while leaving UDP as the primary protocol for other SIP clients, please add the following to sip config (you must have Asterisk 1.6):

tcpenable=yes
transport=udp,tcp

30.09.2011 12:30 montoo is offline Search for Posts by montoo Add montoo to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

RE: TCP settings Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

As far as I know this has been active, since SipDroid was in Beta testing. Otherwise, there wouldn't be any support for TCP in PBXes.

On which server is your PBXes account hosted?

03.10.2011 07:29 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
 
Post New Thread Post Reply
Go to:

Powered by Burning Board Lite 1.0.2 © 2001-2004 WoltLab GmbH
English Translation by Satelk