I am testing auto provisioning. I have everything set up so that when I paste https://mydomain.com/app/provision/MAC.cfg pulls a config file. It asks for the username and password and works. So seemingly it's correctly set up on the server side.
On the yealink T40P I have put the same url as I pasted in my browser (tried with, and without the MAC.cfg part) and click on provision now. No error - it ends with "operation done". I have disabled "only accept trusted certificates" for the moment as well on the phone
But nothing is actually configured on the phone. I ran a TCP dump and I see the traffic from the phone reaching the server - but I also see a few chksum - correct, and chksum - incorrect. I am unsure if that is related.
Thinking it may be the username and password that have some special characters I also tested with user test, password test - same issue
In the NGINX error log I see this - which may, or may not be related:
#1 {main}
thrown in /var/www/fspbx/public/app/device_logs/resources/device_logs.php on line 55" while reading upstream, client: XXX.XXX.XXX.XXX, server: *.us.domain.com, request: "GET /app/provision/MAC-of-Phone.cfg HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "mydomain.com"
Once we have it working we'll tackle the RPS server but I am at a loss currently as to where it goes wrong. Any takers here?
On the yealink T40P I have put the same url as I pasted in my browser (tried with, and without the MAC.cfg part) and click on provision now. No error - it ends with "operation done". I have disabled "only accept trusted certificates" for the moment as well on the phone
But nothing is actually configured on the phone. I ran a TCP dump and I see the traffic from the phone reaching the server - but I also see a few chksum - correct, and chksum - incorrect. I am unsure if that is related.
Thinking it may be the username and password that have some special characters I also tested with user test, password test - same issue
In the NGINX error log I see this - which may, or may not be related:
#1 {main}
thrown in /var/www/fspbx/public/app/device_logs/resources/device_logs.php on line 55" while reading upstream, client: XXX.XXX.XXX.XXX, server: *.us.domain.com, request: "GET /app/provision/MAC-of-Phone.cfg HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "mydomain.com"
Once we have it working we'll tackle the RPS server but I am at a loss currently as to where it goes wrong. Any takers here?