Provisioning a yealink

Voipy

New Member
Feb 5, 2026
27
0
1
56
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?
 
Ok this is related to a certificate by the look of it - from the phone log:

: DCMN<3+error > Certificate doesn't verify and error is 0, reason 1040

But I have disabled the only accept trusted server certificates?
 
This is a very old phone. But I've seen it working. Call our suuport and we'll try to help you get it up an runnning
 
;)we still have loads of T20s out there even.
Let me first try a new model and see if the issue persists - then we can revisit the T40P. To be continued