Jun 25, 2018 19:01Mobile Apps for Android / iOS: FAQ
Below there is a list of the frequently asked questions and answers which explain the behavior of Android and iOS with push notifications.
Updated: June 2018
Q1: I continue to receive calls and messages even when the app is closed
This is how PUSH notifications work! Thanks to them, you are sure not to miss any important call or message.
If you do not want to receive any notifications, log out from the app or set "Offline" status.
Q2: I’ve updated both the PBX and the Android app, but I still don’t receive calls and messages in idle
On some Android devices push notification are blocked by default.
To enable them:
- HUAWEI P8/ P8 Lite: Settings -> Protected Apps, enable the option for Wildix and restart the app
HUAWEI P9 / P9 Lite: Settings -> Battery -> App Power Saving -> Close apps after screen lock, disable Close apps after screen lock and restart the app
Note: On Huawei P8, P9 and some other devices with EMUI version <= 5, the apps are not allowed to receive notifications when not running. They must be authorized explicitly in the battery saving settings.
- Xiaomi: Security (App) -> Permissions -> Autostart - Enable the option for Willdix and restart the app
Q3: I don’t want to receive calls and messages when I’m not at work, e.g. during closing hours
To disable push notifications and disconnect from VoIP and Presence server, open the app and set user status to Offline. Otherwise, log out from the app.
Q4: Which ports must be open for push notifications?
- PBX must be connected to the Internet and be able to communicate with push.wildix.com server
- iOS: a direct, unproxied connection to Apple Push Notification servers from smartphone is necessary on ports TCP 5223; TCP 2195; TCP 2196; TCP 443
- Android: a direct, unproxied connection to the Google Cloud Messaging server on ports 5228, 5229 and 5230 from smartphone is necessary
- More information: https://manuals.wildix.com/ports-used-by-wildix-services/
Q5: After the app goes to background, Android / iOS client disappears from the list of active devices from Collaboration
Android / iOS device is present in Collaboration device choice only when SIP registration is present (when app is active).
On Android you can enable continuous SIP connection in Application Settings -> Advanced ->Run in background: the app will be running in background all the time. IMPORTANT: enabling this option leads to high battery usage!
Q6: A different user on a different PBX was logged in on my device. After I logged in again with my user, I continue to receive calls of the previous user
This happens because the previous user has not logged out correctly, your phone is still subscribed to receive push notifications of the previous user.
- Log in again with that user (make sure the phone is connected to the internet and that PBX is accessible)
- Press Log out (it is not sufficient to change PBX name and access credentials)
To check if push (Web push / iOS / Android push) are enabled for an extension: access via SSH as root and launch the following command
Check push notifications subscription
kamcmd htable.dump mobile_devices_data | grep EXT
where EXT = extension of user
Remove push notifications subscription
push_remove -h -> display help
push_remove -list -> display list of extensions that subscribed to push notifications
push_remove 315 -> remove push notifications for extension 315
push_remove 315 316 317 -> remove push notifications for extensions 315, 316 and 317
Q7: Call history is empty inside the Wildix mobile app
For PBX admin: make sure that
- Backend for CDR is enabled in WMS Settings -> PBX -> CDR
- ACL group of your user does not have restriction “Cannot use” -> “History”
Q8: Pictures and videos taken with iOS11 on iPhone 7 or higher and sent via Collaboration app cannot be opened
Currently pictures/ videos taken with iOS11 on iPhone 7 or higher are saved in HEIC/ HEVC format and are not converted to JPEG/ H.264 format automatically when they are sent via Collaboration app.
The issue is that pictures/ videos received in HEIC/ HEVC format cannot be opened then on MacOS Sierra or less/ on Windows. They are opened only on MacOS High Sierra.
To resolve the issue:
- Go to iPhone Settings -> Camera -> Formats
- Enable Most Compatible option
When you take a picture / a video next time, it will be converted to JPEG / H.264 format and can be opened on any OS mentioned above.