Push notifications will allow the softphone to wake-up on incoming call or chat even if the device is sleeping or the app is closed.
The Android softphone already has a built-in FCM profile which should be fine for trial usage however, for more serious production usage you might configure your own project.
Firebase Cloud Messaging (FCM) is a free service by Google.
Step by step instructions:
- Log in to the Firebase Console at https://console.firebase.google.com
- In the Firebase console, click Add project, then select or enter any project name
- Click "Continue" and skip or setup Google Analytics
- Click on "Create Project" and the "Continue"
- In the center of the project overview page, click the Android icon to setup your project
- Enter the correct Android package name!!! This will be set to com.companyname.brandname.app (normalized with all special characters removed)
- Click on "Register App" and then download the google-services.json.
- Upload your google-services.json file to the softphone builder web service.
- The API key can be found at Project Settings -> Cloud Messaging tab -> Server key
There are multiple ways to handle push notifications:
- Disabled: set the "enablepush" parameter to 0 to disable push notifications
- If you don't configure any google-services.json and API key: push notifications can be handled by our push-SIP service using our Firebase profile
- If you configure the google-services.json (but not the API key): push notifications can be handled directly by your server (if it has push support)
- If you configure both google-services.json and API key: push notifications can be handled by our push-SIP service using your Firebase account
More help: