As you can see, the port details are different:
Firewall Zone(s) for Secure HTTPS Provisioning is “Trusted only”, for RESTfull Apps is “Internal”, and for Secure RESTfull Apps is “Trusted only”. In the wiki, the Firewall Zone(s) are all “Internal, Other”
Also my Secure RESTfull Apps port is 5443, while in the wiki it is 3443 (I doubt this is an issue, but I’ll note it anyway).
Now, after following the ZTP wiki as carefully as I could, the original issue still exists. That is, the first two line keys say “Login …”. By the way, when these two phones were first provisioned with ZTP this issue did not occur.
@shahin No, you misunderstand. ZTP=Zero Touch Provisioning. ZTP is an acronym, shorthand for “zero touch provisioning” and has nothing to do with any phone chassis that I’m aware of.
These are regular Sangoma S500 phones, sold and distributed by Sangoma, and I carefully followed the instructions using Zero Touch Provisioning provided in the Wiki. As I explained above, this did not fix the issue.
for ZeroTouch Provisioning below thinks.
1- Sangoma Portal ZTP informations ( Server IP and Port number )
2- FreePBX allowed ZTP Ports ( Port management HTTP or HTTPS ports must allowed )
3- FreePBX Firewall → Service → Allow HTTP OR HTTPS ( up to your setting )
3A- If your PBX internal LAN ip then allow ( Port Forward HTTP or HTTPS ZTP Ports to your PBX IP )
4- End Point Manager → Template → Global Setting ( Check Internal && External Address information ) must be fill up + check Ports informations is well.
4A- EPM → Sangoma → S Phones → New Template → Provisioning Protocol ( HTTP or HTTPS ) → Provisioning Address ( External) → Models Tab → S 500 → XML-API Login / Rest-Login → Save
5- EPM → Extension Mapping → Select your Login/Logout Phone and change to ^^ created template.
6- Admin → Rest-API → Server Status :Enable
7- Admin → Phone Aps → EPM → User Manager authentication : YES
You can check your Template ( Login Logout ) running ( calling ) template from web browser
make a factory reset of the your Phone. and check on FreePBX Logs