How does Fonality know my server's public IP address?
Within every PBXtra a number of utilities are constantly running monitoring the system's health and keeping critical functions free and clear of any possible errors.
One of these utilities is called ping_main.pl. It's a PERL script that announces the Internal and External IP address of your server to Fonality at regular intervals. Using these two IP addresses, Fonality then generates the Server Hostname ( sNNNN.pbxtra.fonality.com and sNNNNx.pbxtra.fonality.com ). When you register a remote phone or use HUD remotely, the device/HUD looks for the IP address of your server. The request for the IP address comes to Fonality, and Fonality's Proxy servers reply with the External IP address if the hostname is sNNNNx.pbxtra.fonality.com .
Using ping_main.pl Fonality can detect whenever the IP address assigned to your PBXtra changes. If you move the server for example, or if you change the network subnet at some point.
Because of ping_main.pl you never need to tell Fonality about any IP changes on your system!
ping_main.pl runs every 15 minutes by default, or during the bootup sequence for your server.