Strange provisioning issue with S500 telephone

We have been having issues with provisioning an S500 telephone lately. Everything was working perfectly fine for a long time however we are having issues now.

DHCP option 66 configured to point to PBX http://ipOfPBX:83 and have configured that HTTP is on port 83. All FreePBX firewall rules are perfect.

XML file for provisioning exists (in TFTPBOOT) for the MAC address of the phone.

I factory reset the phone, it gets the password that I configured for the phone in the EPM but not the config.

If I login to the phone and upload the XML file that I downloaded from FreePBX, it works.

Triple checked the mac address and it matches

What do your Apache logs show when you reboot the phone. Does it shown the phone requesting then config file?

What happens if you manually point the phone to the PBX to get the config file and tell it to update.
Do you maybe have a username and password set for provisioning on port 83 and not having your DHcP server provide that. Without logs nobody can help give a clear answer and we would all be guessing.

[Mon Jan 14 19:41:09 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/factory0500.bin
[Mon Jan 14 19:41:11 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/00505850XXXX.cfg
[Mon Jan 14 19:41:11 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 19:45:01 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/factory0500.bin
[Mon Jan 14 19:45:03 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/00505850XXXX.cfg
[Mon Jan 14 19:45:03 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 19:45:36 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring4.bin
[Mon Jan 14 19:45:36 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring5.bin
[Mon Jan 14 19:45:36 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring6.bin
[Mon Jan 14 19:45:36 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring7.bin
[Mon Jan 14 19:45:36 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring8.bin
[Mon Jan 14 19:45:36 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring9.bin
[Mon Jan 14 19:45:36 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring10.bin
[Mon Jan 14 19:48:46 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/factory0500.bin
[Mon Jan 14 19:48:48 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/00505850XXXX.cfg
[Mon Jan 14 19:48:48 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 19:49:21 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring4.bin
[Mon Jan 14 19:49:21 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring5.bin
[Mon Jan 14 19:49:21 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring6.bin
[Mon Jan 14 19:49:21 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring7.bin
[Mon Jan 14 19:49:21 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring8.bin
[Mon Jan 14 19:49:21 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring9.bin
[Mon Jan 14 19:49:21 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring10.bin
[Mon Jan 14 19:54:20 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/factory0500.bin
[Mon Jan 14 19:54:22 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/00505850XXXX.cfg
[Mon Jan 14 19:54:22 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 19:54:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring4.bin
[Mon Jan 14 19:54:22 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 19:54:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring4.bin
[Mon Jan 14 19:54:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring5.bin
[Mon Jan 14 19:54:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring6.bin
[Mon Jan 14 19:54:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring7.bin
[Mon Jan 14 19:54:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring8.bin
[Mon Jan 14 19:54:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring9.bin
[Mon Jan 14 19:54:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring10.bin
[Mon Jan 14 19:58:41 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/factory0500.bin
[Mon Jan 14 19:58:43 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/00505850XXXX.cfg
[Mon Jan 14 19:58:43 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 19:59:15 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring4.bin
[Mon Jan 14 19:59:15 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring5.bin
[Mon Jan 14 19:59:15 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring6.bin
[Mon Jan 14 19:59:15 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring7.bin
[Mon Jan 14 19:59:15 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring8.bin
[Mon Jan 14 19:59:15 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring9.bin
[Mon Jan 14 19:59:15 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring10.bin
[Mon Jan 14 20:01:02 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/factory0500.bin
[Mon Jan 14 20:01:04 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/00505850XXXX.cfg
[Mon Jan 14 20:01:04 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 20:02:53 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/factory0500.bin
[Mon Jan 14 20:02:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/00505850XXXX.cfg
[Mon Jan 14 20:02:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 21:36:20 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/factory0500.bin
[Mon Jan 14 21:36:22 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/00505850XXXX.cfg
[Mon Jan 14 21:36:22 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 21:36:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring4.bin
[Mon Jan 14 21:36:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring5.bin
[Mon Jan 14 21:36:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring6.bin
[Mon Jan 14 21:36:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring7.bin
[Mon Jan 14 21:36:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring8.bin
[Mon Jan 14 21:36:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring9.bin
[Mon Jan 14 21:36:55 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring10.bin
[Mon Jan 14 21:59:34 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/factory0500.bin
[Mon Jan 14 21:59:36 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/00505850XXXX.cfg
[Mon Jan 14 21:59:36 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 22:00:09 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring4.bin
[Mon Jan 14 22:00:09 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring5.bin
[Mon Jan 14 22:00:09 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring6.bin
[Mon Jan 14 22:00:09 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring7.bin
[Mon Jan 14 22:00:09 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring8.bin
[Mon Jan 14 22:00:09 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring9.bin
[Mon Jan 14 22:00:10 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring10.bin

P192 and P237 of the XML provisioning file that FreePBX creates does show the HTTP username and password however it’s not enabled in System Admin nor do I have it configured in my DHCP options.

EPM lists “Authentication of HTTP or HTTPS provisioning requests from endpoints is currently disabled . Configuration of provisioning ports and credentials is done through [Sysadmin Provisioning Management ]

You can see the System Admin settings for HTTP provisioning (blurred out creds)

I just rebooted the phone and got the following.

The phone showed Registration Failed for a few minutes and then showed Registered

[Mon Jan 14 23:03:02 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/factory0500.bin
[Mon Jan 14 23:03:04 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/00505850XXXX.cfg
[Mon Jan 14 23:03:04 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/cfg00505850XXXX
[Mon Jan 14 23:03:36 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring4.bin
[Mon Jan 14 23:03:37 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring5.bin
[Mon Jan 14 23:03:37 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring6.bin
[Mon Jan 14 23:03:37 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring7.bin
[Mon Jan 14 23:03:37 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring8.bin
[Mon Jan 14 23:03:37 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring9.bin
[Mon Jan 14 23:03:37 2019] [error] [client 192.168.55.106] File does not exist: /tftpboot/ringtones/formatted/ring10.bin

Just to provide more details about my testing.

I tried the same thing on a different PBX with a different S500 phone. I checked the XML file and the creds were in it. This PBX also had http creds disabled. DHCP option 66 is configured the same. I factory reset this other S500 phone and it re-provisioned without any issues on this other PBX.

I suspect this may be a weird VPN issue. I will update later.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.