Yealink Forums

Full Version: Auto provision firmware ...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!
I use auto provisioning * .boot

MAC.boot
...
include:config <main.cfg>
...

main.cfg
...
[T19 E2] static.firmware.url = tftp://10.1.0.5/ya/fw/53.84.0.15.rom
[T21P E2] static.firmware.url = tftp://10.1.0.5/ya/fw/52.84.0.15.rom
[T23G, T23P] static.firmware.url = tftp://10.1.0.5/ya/fw/44.84.0.15.rom
[T29G] static.firmware.url = tftp://10.1.0.5/ya/fw/46.83.0.50.rom
[T40G, T40P] static.firmware.url = tftp://10.1.0.5/ya/fw/54.84.0.15.rom
[T41P] static.firmware.url = tftp://10.1.0.5/ya/fw/36.84.0.15.rom
[T41S, T42S, T46S, T48S] static.firmware.url = tftp://10.1.0.5/ya/fw/66.84.0.15.rom
[CP960] static.firmware.url = tftp://10.1.0.5/ya/fw/73.83.0.30.rom
...

T19 phones do not want to be updated!
If you ask a command
static.firmware.url = tftp://10.1.0.5/ya/fw/53.84.0.15.rom
everything is fine T19 phone gets an update. Ok.
But I have a lot of different phones of different models.
I share the update paths by model. I call the parameter [$model].

from 53.81.14.1 > to 53.84.0.15

[T19 E2] static.firmware.url = tftp://10.1.0.5/ya/fw/53.84.0.15.rom
[T19_E2] static.firmware.url = tftp://10.1.0.5/ya/fw/53.84.0.15.rom
[T19P E2] static.firmware.url = tftp://10.1.0.5/ya/fw/53.84.0.15.rom
[T19P_E2] static.firmware.url = tftp://10.1.0.5/ya/fw/53.84.0.15.rom
In this case, the phone does not want to be updated !!!

Similar problems with T21 phones!
T40, T41, T29 - updated normally!

Why? It is a bug?
Thanks!
What happened to find out!
[T19P_E2] static.firmware.url = tftp://10.1.0.5/ya/fw/53.84.0.15.rom
The line is not accepted!
This line only works with version 83 ...!
Thank you, I solved the problem, changed the logic ...
Reference URL's