How Push Notification Works
in Tragofone
PUSH notifications in SIP softphone client allow you to receive calls and messages without having to keep your VoIP softphone running all the time.
With PUSH Notifications enabled on one’s softphone client app, they will never miss another important communication from anyone again!
Softphones then to Now
The new push notification feature in softphones has made them much better for users. Before, softphones had to always be connected to a server to get calls and data. This caused phones to wake up a lot and wasted energy. But with push notifications, things have gotten a lot better.
Now, SIP client app can get quick updates and messages without needing to stay connected all the time. This means users can be more efficient, and their phones use less energy.
VoIP Push Notifications
Changed the Game
With push notifications, SIP 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.
What are Softphone
Push Notifications
Push notifications serve as a server-to-client message delivery mechanism. They awaken dormant or closed Android, iPhone, Windows and Mac applications, as well as browser-based web applications, by delivering messages upon the arrival of SIP calls or messages.
They let SIP users stay reachable without keeping the app on all the time, saving energy.
What are Softphone
Push Notifications
SIP Push notifications are a server-to-client message delivery mechanism where a message is sent to an Android application, an iOS application, or a browser-based web application in order to wake up sleeping or closed applications on incoming SIP calls or messages.
They enable SIP users to stay available in an energy-efficient way, without the app running constantly in the background.
Why SIP Client Apps Shouldn’t Run in the Background
Apps running in the background on a mobile phone consume processing power and battery energy. With SIP client app, 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 client app 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 client app and accepts the call.
The main purpose for SIP 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.
Types of Push Notifications
on Tragofone
A push notification can arrive in three forms
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.
How Push Notifications Work in Tragofone
Tragofone uses Firebase Cloud Messaging (FCM) on Android devices and APNS (Access
Point Name Service) on iPhone smartphones to relay incoming call alerts.
Here’s how the process of sending push notifications works
The Tragofone app requests a device token from APNS or FCM.
The app registers to the IP PBX with a SIP `REGISTER’ message.
When the Tragofone app receives a call, the PBX sends an `INVITE’ message to the contact address and sends a push notification with a device token to the APNS or FCM.
The mobile device receives the push notification and alerts the user about the incoming call. The user accepts the call.
Tragofone uses APNS to send push notifications to iOS devices and Google FCM for Android phones.
The app receives the token, which functions as the address to which the push notification has to be sent.
The user terminates the app.
Since the softphone app is in a terminated state, it will not receive the `INVITE’ message. The APNS/FCM will send a push notification to the device.
The Tragofone app requests a device token from APNS or FCM.
The app registers to the IP PBX with a SIP ‘REGISTER’ message.
When the Tragofone app receives a call, the PBX sends an `INVITE’ message to the contact address and sends a push notification with a device token to the APNS or FCM.
The mobile device receives the push notification and alerts the user about the incoming call. The user accepts the call.
Tragofone uses APNS to send push notifications to iOS devices and Google FCM for Android phones.
The app receives the token, which functions as the address to which the push notification has to be sent.
The user terminates the app.
Since the softphone app is in a terminated state, it will not receive the `INVITE’ message. The APNS/FCM will send a push notification to the device.
How to Activate Push Notifications on Tragofone
Step 1
Go to Setting
Step 2
Tap on Tragofone
Step 3
Tap on Notification
Step 4
Ensure that ”Allow Notifications” is on
Step 5
Select either Banners or Alerts in ”Alert Style”.
Step 6
Ensure the following are On
Sound: On
Badge: On
Advantages of using Push Notifications
Handy Tips
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.