Ah good, I was worried I was missing something. Unfortunately no, it is not working. I am certain I must be missing something, I am wondering if it is something to do with the environment I am testing with, it’s an AWS EC2 instance, that is using an Elastic IP for a fixed public IP, otherwise, the IP address of the server instance changes if I have it turned off for any length of time. That did initially cause me a minor challenge or two but I was able to get almost everything working, except for the push notifications. I am not averse to reinstalling VPBX as there is nothing to lose at this point, just in case it is an issue with a previous update.
Also please correct me if I am misunderstanding, is the SessionPush 1.2 meant to be Unreachable or Reachable?
I have the same here too, nice to know I am not alone, I am wondering if the three contacts that are unreachable, that show the IP address of the PUsh server are all failed attempts for the Push server to contact the PBX correctly?
I think if for example if you set the Max contacts to 3 for an extension, it allows up to three items to be contactable for that extension. when you open the app, one of the three contacts turns green and shows as contactable and also shows the IP of the SIP device. I wonder if every time the Push server fails to connect it creates another contact and tries again until the Max Contacts for the extension are met?
Thanks for the reply, I have checked the device profile that is used by the extensions, it matches your except for the Ice support:
Also, on my AWS EC2 instance, I have already added the Push Server IP address and allowed all traffic through from its IP:
I have also tested the firewall for my EC2 instance by allowing all traffic for everything temporarily, this also made no difference, but it was a great test for the intrusion detection, it blocked 2 different attempts in the 30 mins I had the firewall in that state
Hi, I have just been looking deeper into my issue, and with using sngrep, I have spotted MANY attempts from the Push Notification server doing the following:
Hi @miguel , Thank you all seems to be working perfectly for the Android app now, but unfortunately, I still cannot get the iOS app to ring with the push notifications. I have reinstalled the iOS app and registered it to a new extension. I have noticed that there is an additional IP connection I presume as a push service (35.176.110.61), I have looked it up and I can confirm that this is a SessionTalk push server, so I have made sure to white list it on Vital and also whitelisted it on my EC2 instance firewall too.
When I push the app to the background on iOS or lock the device, I can see my iOS app contact, de-registering, then is quickly replaced by a contact to a push server, and it is green which is great! however, I still get no push notification through to the iOS device.
Thank you for the reply, Am in the UK and my VPB instance was using the US east Push server, so I have removed that from my white list and made sure that the two UK IPS are whitelisted now.
I have updated my Vital instance this morning too, to version 3.1.6-1.
I have deleted my extensions and made them fresh, each with 3 contacts. removed and reinstalled the app on my iOS and Android device, scanned the fresh QR Codes, they both register perfectly. But, as soon as my devices go to sleep or the app is pushed to the background the Android app continues to works perfectly and gets the push notifications, but the iOS device does not get any push notifications at all.
while the apps are asleep and dereggistered, I can see that both extensions are registered with a UK push server which is great!
I saw that there were a few Push servers with two located in the UK recently, but I see that they are no longer on the post here: How to correctly configure VitalPBX Mobile.
Have they gone?
If so, are there any plans to bring them back?
How would I set my instance to prefer a certain push server(s)?