DHCP option 66 for provision server not working

Good morning

i set up a option under DHCP for option code 66 and for the server i did ‘http://xx.xxxxx.com/provision’ i assigned this option to my pool , under DHCP>networks, none of my phones get the provision URL we have a mix of yealink and polycom phones

what am i missing

any guideness and how to trouble shoot this ?

/ip dhcp-server export

# jan/08/1970 16:23:21 by RouterOS 6.47.1
# software id = SGQT-PP3L
#
# model = RB2011UiAS
# serial number = D51E0CA1CC67
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=bridge name=dhcp1
/ip dhcp-server option
add code=160 name=option66 value="'http://fsxx.xxhone.cloud/app/provision/'"
/ip dhcp-server option sets
add name=set1 options=option66
/ip dhcp-server lease
add address=192.168.5.223 always-broadcast=yes client-id=1:80:5e:c0:db:7:53 mac-address=80:5E:C0:DB:07:53 server=dhcp1
/ip dhcp-server network
add address=192.168.5.0/24 dhcp-option=option66 dns-server=8.8.8.8 gateway=192.168.5.1

option 66 has code 160 or.. 66???
code=160

I changed it to 160 because that’s what I saw something on Google to try 160 if 66 doesn’t work

The TFTP server work and the url is “provision/” or “provisioning/” ?

its an HTTP server not a tftp and the URL is provision

ok, if is not httpS, but http:// etc. open on web browser the link works?

Yes the web browser works

the problem is that i dont see the URL under the provision server field on the phone

Have you enabled DHCP provisioning in the phone features? Or have you factory reset the phones to test?

(Yealink will only accept DHCP provisioning when enabled or after factory reset)

They are new phones but I will do a fscotory reset now

factory reset didnt help

Then try enabling DHCP Provisioning: Settings > Auto Provision > DHCP Active > On
Then reset (reboot) phone.

Is your endpoint password protected? From a working setup:

/ip dhcp-server option
add code=66 name=yealink value="'https://user:password@host.domain.tld:443/dms/yealink/'"
/ip dhcp-server network
add address=192.168.21.0/24 dhcp-option=yealink gateway=192.168.21.254 netmask=24

Also, note that your static binding overrides the network setting, apparently. You may want to add the option here too:

/ip dhcp-server lease
add address=192.168.5.223 mac-address=80:5E:C0:DB:07:53 server=dhcp1 << add dhcp-option=option66

Dhcp option is on . On the phone

Iam going to try and do a packet capture