Yealink T28P automatic firmware update

Status
Not open for further replies.

George Ts

Free User
Advanced Certified
Joined
Jul 3, 2017
Messages
184
Reaction score
12
Hello,
I am trying to automatically update a Yealink T28P by using the default configuration template.
3cx version:15.5.6354.2
Yealink T28P currently has 2.72.0.30
3cx holds T28P FW 2.73.0.60

3cx server includes the following line in the respective Yealink template:
firmware.url = %%PROVLINKLOCAL%%/firmware/yealink/%%firmware%%

Yealink successfully receives configuration data from 3cx, but fails to retrieve the latest FW.
HTTP traces show that it asks for the following FW:
GET provisioning/[xxxxyyyy]/firmware/yealink

If I manually try to trigger the Yealink to upgrade via 3cx mgmt console (via Phones - - > +Firmware) then it asks for the complete URL:

GET provisioning/[xxxxyyyy]/firmware/yealink/T28-2.73.0.60.rom

So, the %%firmware%% parameter gets somehow updated.

My questions:
1. How can we know the content of the %%firmware%% parameter?
2. How can we trigger that parameter to include by default the latest FW, so that each new Yealink gets automatically updated? In fact, is this even supported for Yealinks?

Regards,
George
 
Hello,

If I may rephrase my question:

What is the value of the %%firmware%% parameter mentioned in the following link?
https://www.3cx.com/support/phone-provisioning-variables/

It says "Firmware file name", but:
1. Where does 3cx get it from?
2. When does 3cx add it in the provisioning path? (remember, before clicking on +Firmware through the Phones tab, the Yealink asked for "provisioning/[xxxxyyyy]/firmware/yealink" instead of "provisioning/[xxxxyyyy]/firmware/yealink/T28-2.73.0.60.rom"

Regards,
George
 
Hello,

Anyone?
I could really use some feedback on this issue.

Regards,
George
 
Hello,

Anyone?
I could really use some feedback on this issue.

Regards,
George
Hello George,
You did the correct investigation, found the proper guide but still can't get how it works? ;)
Let me explain you.
So, the firmware update path is "%%PROVLINK%%/firmware/yealink/%%firmware%%".
When you just provision your phone it will have the following firmware update path:
http://yourpbxaddress.3cx.something/provisioning/aaa111bbb222/firmware/yealink/

As you can see the "%%firmware%%" is replaced with empty value (actually, no value).
Now we start the Firmware update.

Step 1: You need to download the firmware file.
You can do it manually by going to Settings->Updates page or 3cx PBX will do it for you automatically (3cx checks and downloads the new firmware files every 2 hours).

Step 2: Firmware update preparation.
When the PBX downloads the required firmware files, it puts them in the "firmware_new" folder and updates the ".json" file inside that folder. It writes there the file name and firmware version.
PBX checks the existed provisioned phones and, if some of them are running the old version, it highlights them in red.

Step 3: Firmware update
When you select the phone and press "+Firmware" button the PBX does the following:
a) go the mentioned ".json" file and get the file name.
b) copy the FW file to the "firmware" folder
c) replace the "%%firmware%%" with the firmware file name and re-provision the phone.
So, if your firmware file name is "T28-2.73.0.60.rom", the firmware update path will be:
http://yourpbxaddress.3cx.something/provisioning/aaa111bbb222/firmware/yealink/T28-2.73.0.60.rom
d) the phone will download the new config with the new firmware update path (point b), download the new FW and update.

That's all.
You can't have the FW file name by default in the provisioning template ("%%firmware%%" = "T28-2.73.0.60.rom"), because the template can stay the same, but the supported version can change. So, you will be able to re-do all 3 steps and have another/newer FW version (let say 2.73.0.65).
 
  • Like
Reactions: George Ts
Awesome explanation @phonemaster
That said, my understanding is that there is no way to automatically fetch the latest FW to a Yealink phone, other than selecting it from the "Phones" tab and clicking the "+Firmware" button.

Just asking in order to confirm, since I know that it does not work the same way for Polycoms, which ask for their default FW updater file (e.g. 3111-41162-001 for VVX 410) upon reboot or factory reset.

Thank you,
George
 
Last edited:
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,901
Messages
589,636
Members
164,768
Latest member
Eagle Man