SIP over TCP and UDP (lower impact on mobile battery usage)


(Marc) #1

Hi

I read that switching to SIP over TCP might reduce battery usage when using a mobile app softphone.

Is it worth it ?
Could both, UDP for trunks and TCP for clients, coexist without issues on a single server ?

I will try to set a server and test but any experience will be reassuring.

Thx


#2

Why not just use TCP for everything? Remember this only handles the SIP signaling, i.e. building and tearing down calls. Audio will still be UDP.


(Lorne Gaetz) #3

You can mix and match signaling for trunks/clients if you want so you can just config a single mobile client for TCP to test with.


#4

I think this is a good suggestion. Or better, use TLS which is TCP with encryption. But some trunking providers offer only UDP.


#5

IMO, additional battery usage caused by an idle SIP app should be zero, just like WhatsApp, FaceTime, etc.

This is accomplished by push notifications. Switching to an app that uses it takes minimal setup and you can continue to use UDP if desired.

My current favorite is Groundwire, which sells for $10. Though there are quite a few negative reviews, I’ve never experienced any of the problems mentioned. One problem I do have is an incompatibility between my phone and car Bluetooth – one cannot answer a call from the car screen (if there’s a passenger, they can answer on the phone and you can use Bluetooth to talk). Unfortunately, other SIP apps I’ve tried have the same issue. If you buy it, test it thoroughly within the first 48 hours; if dissatisfied you can uninstall and request a refund.

One minor change was needed in FreePBX. I set Max Contacts to 4, as there are sometimes quirks when switching between local and push server registrations.


#6

Groundwire is first-class and other popular integrated soft phone solutions use the same SDK. I think low reviews are by folks confused about the purpose or configuration of a SIP soft phone.


(Jeremy Lizzotte) #7

I have enjoyed Groundwire. I bought it before Clearly IP came out with Clearly Anywhere which we use for all of our mobile solutions now. (I believe Sangoma connect is also built from Groundwire as well)