I use the commercial Endpoint module to provision our Cisco SPA504G phones however I have a small problem when I first provision a new phone. The phone gets stuck during provisioning.
I found the cause of the problem to be in /tftpboot/spa506G.cfg.
If I change the line which reads
<Profile_Rule>http://192.168.x.x/spa$MA.xml</Profile_Rule>
to
<Profile_Rule>tftp://192.168.x.x/spa$MA.xml</Profile_Rule>
then factory reset the phone, the phone loads and provisions correctly.
As this file is generated by the Endpoint module, the changes are overwritten each time “apply changes” is clicked in the FreePBX GUI.
For the life of me, I cant find where in the GUI to be able to set the line above so the correct protocol is generated by FreePBX.