Softphones Then to now
When softphones first appeared in the market, they had to maintain a steady network connection with a server in order to receive calls and data. This resulted in frequent device wakes and wasted energy.
changed the game
With push notifications, softphone apps don’t need to run in the foreground, or even background, all the time. When a push notification is received, the app displays an alert, providing an option to accept or reject the call.
- Apps running in the background on a mobile phone consume processing power and battery energy. With softphones, this translates into a huge battery drain, as the app needs to listen to its network for new events, like incoming calls, all the time.
- Push notifications on Tragofone reduce this energy drain by shifting the continuous listening function from the mobile device to the server-side of the network. When a call or message comes in, the server sends a notification to the user’s device – the user activates the app and accepts the call.
- The main purpose for push notifications is to wake up sleeping or closed SIP applications when a new call or message is received – thus reducing battery usage and boosting availability.
- A message box (alert) that contains a text message, like `Boss Calling’, with buttons to accept or reject the call.
- A sound alert, like a phone ringtone.
- A message displayed with the app’s icon that announces the type of event – like an incoming call or text message.
Tragofone uses Firebase Cloud Messaging (FCM) on Android devices and APNS (Access Point Name Service) on iOS smartphones to relay incoming call alerts.
Here’s how the process of sending push notifications works
Go to Setting
Tap on Tragofone
Tap on Notification
Ensure that ”Allow Notifications” is on
Select either Banners or Alerts in ”Alert Style”.
Ensure the following are On
To use Tragofone’s push notification services, ensure that your device has access to Apple and Google servers via a public internet. Push notifications work if your SIP account can register from the public internet and not a PBX with a private IP.
The incoming call settings can be managed in the advanced settings of the SIP account if a user wants to use different settings for different accounts.
When the server detects that a registration is about to expire, it sends a silent push notification to the Tragofone app. This wakes up the app to re-register. Every registration requires up to 30 seconds, using maximum power on a 3G/4G network – resulting in high battery drain. Therefore, the longer the time gaps between registrations, the better the battery life.