Yealink Firmware Upgrade with 4.4

Status
Not open for further replies.

Craig Fox

New Member
Mar 21, 2018
26
3
3
53
Don't know if I'm the only one to have this problem but I've had a heck of a time getting the phones to upgrade their firmware. I'm not sure where the problem is sourced, but it acts like a malformed url is being passed to the phone. Below is excerpt from the provisioning template (it happens to be a t46g on my desk but i also have t41s, t42s, and t46s phones with the same issue)

Provisioning File
#Before using this parameter, you should store the desired firmware (x.71.x.x.rom) to the provisioning server.
#firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t46g}
#firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t46g}
firmware.url = http://fqdn/downloads/firmware/yealink/t46g-current.rom

Config File
#Before using this parameter, you should store the desired firmware (x.71.x.x.rom) to the provisioning server.
#firmware.url = http://fqdn/downloads/firmware/yealink/t46g-current.rom
#firmware.url = http://fqdn/downloads/firmware/yealink/t46g-current.rom
firmware.url = http://fqdn/downloads/firmware/yealink/t46g-current.rom

The first line is as is from the provisioning template
The second line was added manually by be to remove and potentially hidden characters from the url
The third line is the url, manually added, that would be generated from the variables stored in default settings

Surprisingly, while the all read the same, only the third entry actually works. I've tried both http and https (yealinks are funny about rejecting certificates) both work. I've checked the text in those "hidden text" analyzers... nada. note: the fqdn is replaced to protect the server name and the comments are moved as need to test each line.

Any thoughts or even similar stories would be appreciated for a sanity check.
 

brendandodd

New Member
Apr 13, 2019
7
0
1
28
I just did this yesterday, worked fine.

You shouldn't need to change anything in the provisioning template, the defaults seem to work fine so long as you modify the variables in Default Settings.

From my provisioning template;
static.firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t48s}

And screenshots below of Default Settings;

1555897121599.png
1555897203960.png

Tried factory reset of handset?
 

Craig Fox

New Member
Mar 21, 2018
26
3
3
53
I have this working on several systems... just not this one. I have factory reset all the phones involved (T42s, T41s, T46s, T46g) with no luck. The firmware upgrade does work. The problems is that I have to put a manual string in the provisioning template to get it to work. I guess I checking to see if anyone else has a similar issues.

It acts like there is a bad character in the string assigned to the variable (though I have replaced the string to remove this potential). I do see a blank space character that preceeds the url when a examine using a text analyzer...
 

Methodz86

Member
Apr 6, 2019
47
5
8
38
Anyone had any luck with this? Ive set all my settings to grab firmware correctly I believe and in my access.log I can see it try 5 x 'GET' commands to grab the firmware but the phone doesn't actually upgrade it;s firmware, it just grabs the rest of it's config and registerd with account details

If I use my firmware URL in a browser it lets me download it straight away, so I know the URL is correct



[22/Jul/2019:17:20:25 +1000] "GET /app/yealink/resources/firmware/T46S-T48S-T42S-66.84.0.15.rom HTTP/1.1" 301 185 "-" "Yealink SIP-T46S 66.83.0.10
[22/Jul/2019:17:20:28 +1000] "GET /app/yealink/resources/firmware/T46S-T48S-T42S-66.84.0.15.rom HTTP/1.1" 301 185 "-" "Yealink SIP-T46S 66.83.0.10
[22/Jul/2019:17:20:31 +1000] "GET /app/yealink/resources/firmware/T46S-T48S-T42S-66.84.0.15.rom HTTP/1.1" 301 185 "-" "Yealink SIP-T46S 66.83.0.10
[22/Jul/2019:17:21:41 +1000] "GET /app/yealink/resources/firmware/T46S-T48S-T42S-66.84.0.15.rom HTTP/1.1" 301 185 "-" "Yealink SIP-T46S 66.83.0.10
[22/Jul/2019:17:21:44 +1000] "GET /app/yealink/resources/firmware/T46S-T48S-T42S-66.84.0.15.rom HTTP/1.1" 301 185 "-" "Yealink SIP-T46S 66.83.0.10
[22/Jul/2019:17:21:47 +1000] "GET /app/yealink/resources/firmware/T46S-T48S-T42S-66.84.0.15.rom HTTP/1.1" 301 185 "-" "Yealink SIP-T46S 66.83.0.10
 
Status
Not open for further replies.