Yealink Forums
Firmware upgrade with provisioning url(relative) - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Phone specific topic (/forumdisplay.php?fid=12)
+--- Thread: Firmware upgrade with provisioning url(relative) (/showthread.php?tid=40793)

Pages: 1 2


Firmware upgrade with provisioning url(relative) - arvind.zapp - 04-18-2017 12:07 PM

Hi,

Is there a way to enable yealink phone to check for firmware using provisioning url configured without manually configuring firmware.url parameter in configuration file.

For example, we just configure Server URL in Auto Provisioning section as
http://10.31.12.83:8080/prov_server

The IPPhone can use this url to get firmware file with following http request:
http://10.31.12.83:8080/prov_server/default_fw_filename
Or if we provide just "default_fw_filename" in " firmware.url" and phone could append "default_fw_filename" to Server URL for checking firmware?

I can see this kind of behavior is supported in Polycom phone.But i can not achieve the same with Yealink Phones.

Thanks,
Arvind


RE: Firmware upgrade with provisioning url(relative) - jolouis - 04-18-2017 03:06 PM

Just out of curiosity what's the problem with specifying the firmware path?

I believe Yealink requires this so it knows whether to load firmware via HTTP, TFTP, etc since the first thing you specify is the protocol. I do not know of any way outside of the firmware.url param to tell the phone to check for firmware updates.


RE: Firmware upgrade with provisioning url(relative) - arvind.zapp - 04-18-2017 03:54 PM

Thanks,
The provisioning address is obtained via DHCP. if there is a mechanism (as i explained), it would be easier to automate the process since we do not need to change config file parameter.
Also current Yealink phone behavior(if it is as you say) is best suited when provision server and phones are in same network. Since provisioning server itself writes the firmware url in our case, it become complex when its behind SBC/Firewall/proxy.In these cases provisioning server may not be aware of FQDN used by phone to reach provisioning server so there is no way to give full url including hostname.

Instead if phone supports the feature, provisioning server could just write relative path. IP Phone would take it up and append it with provisioning server FQDN and send the request.
Relative path works best for load balancing among provisioning servers as well during firmware upgrade.
For polycom, the provisioning server FQDN obtained via DHCP is used for firmware upgrade as well. They just append default firmware file name in it.

Thats why i am looking for it.


RE: Firmware upgrade with provisioning url(relative) - Michael_Yealink - 04-26-2017 10:11 AM

hi there

thanks so much for your report of this request , but i think we can also do it with the server side modification :

1. phone side support check new config repeatedly , so you can enable it, say make it connect the server side to check new config every day 2-4 AM

2. then every time your server side had new firmware , just update the firmware to server side and then i believe server side will update the cfg file automatically

3. every day 2-4 AM , phone connect to server side and find new cfg file , then it will download and provision to upgrade .

i believe this will be more easier now ?

let me know if any question .

TKS & BR

Michael


RE: Firmware upgrade with provisioning url(relative) - Asanka - 05-05-2017 01:11 AM

What we do is to use a simple symlink.

For ex, for T46G, the firmware URL ends with /T46G-latest.rom. And it links the actual firmware file. When a new firmware is realeased, all we do is change the symlink to point to he new firmware.

This saves a lot of issues in managing all of our customer handsets.


RE: Firmware upgrade with provisioning url(relative) - Michael_Yealink - 05-05-2017 09:04 AM

hi AsankG

thanks for your explanation , i have submit this request to our product team for evaluation , but i can't promise whether they will add this feature or not as i think the solution provided before is enough .

thanks again for your report .

Michael


RE: Firmware upgrade with provisioning url(relative) - sfrazier - 05-08-2017 03:41 PM

I am missing something here. I put the
firmware.url = tftp://admin:password@192.168.20.10/T46-28.81.0.25.rom
in the y000000000000.cfg for the T46G phones and it doesn't seem to do anything. I have tried it like:
firmware.url = tftp://192.168.20.10/T46-28.81.0.25.rom
as well and still nothing.
Can anyone please tell me what I am doing wrong? It's located in the root /tftpboot
directory.

I read the above links and didn't get anything that would work for me.

The configs all work and the phones are configured for their respective mac.cfg files. I wouldn't have to put the firmware.url = file in each of those files would I?

Thanks very much for any help.


RE: Firmware upgrade with provisioning url(relative) - sfrazier - 05-08-2017 03:45 PM

I tried to put this in the y000000000000.cfg for the T46G Yealinks with no success of the firmware being applied.

firmware.url = tftp://admin:password@192.168.20.10/T46-28.81.0.25.rom

Can someone let me know what I am doing wrong? Is the syntax wrong?

I tried it also:

tftp://192.168.20.10/T46-28.81.0.25.rom

It still didn't work.

Thanks for anyone's help.


RE: Firmware upgrade with provisioning url(relative) - sfrazier - 05-08-2017 04:03 PM

I have my


RE: Firmware upgrade with provisioning url(relative) - Michael_Yealink - 05-09-2017 08:54 PM

hi AsankG

may i know that how your PBX support auto provision with Yealink ? can the server support tag ?

if yes, then you can use this tag to define the newest firmware on server side

then every time your server update firmware , then it can push the newest firmware to phone side with no problem .

Broadsoft support this feature .

Michael