Translate this page

 

ACR Phone SIP Foreground Service Info

ACR Phone SIP Foreground Service is used to keep connectivity to SIP server(s). SIP is a VOIP protocol. Consumers can buy services from commercial providers or setup their own sip server for VOIP calling.

ACR Phone includes a SIP client and uses Android ConnectionService for seamless integration of SIP calling to Android Telecom. This feature was native to Android but was deprecated on Android 12. See https://developer.android.com/reference/kotlin/android/net/sip/SipManager

A SIP client must send keep-alive packets to SIP server so that calls can be received successfully. This service starts on boot, establishes connectivity to SIP server(s) added by user. It stops itself as soon as all SIP accounts are removed.

 

Why can't Firebase Push messaging be used

Push messaging systems operate on a different model compared to SIP keep-alive messages. While push messaging can be used to trigger events or notifications, it's not a direct substitute for keep-alive messages in the context of SIP.

 

What is SIP

Push messaging systems, operate on a fundamentally different model compared to SIP keep-alive messages. While push messaging can be used to trigger events or notifications, it's not a direct substitute for keep-alive messages in the context of SIP.

On Android SIP requires FGS in order to send keep-alive messages, keep-alive messages are essential for maintaining the stability, persistence, and reliability of SIP communications, particularly in environments with NAT, firewalls, and load balancers. They help address various network challenges and ensure uninterrupted communication between SIP endpoints.