Auto provisioning server for yealink T21P
-
Hi,
I'm trying to configure my auto provisioning server for yealink T21P phones?
Have you an idea on the steps or an example of configuration files?
Here is what i have done so far:
I configured an option 66 on the DHCP server and I mentioned TFTP server IP in my case I installed a 3cdaemon as a TFTP serveru.
now I'm stuck on the configuration of CFG common and mac files.
do I have to prepare a mac.cfg file for each phone?
someone can help me? -
I think the phone will ask for several files. The mac.cfg is not the real name. It's actually the real mac address of the phone, so for instance 001565c010b1.cfg
So yes you need individual files. But I think it asks for a model related file as well.
Yealink has more details on it.You can also provision your phones over http/https.
-
Here you have all the info you need on the Yealink T21p:
http://support.yealink.com -
I think most people use software that comes with their PBX, like an endpoint manager, that will handle all the templates needed and set up the autoprovisioning automatically for all phones. So you are doing it the hard way.
-
@Pete-S
thank you @Pete-S your feedback, I will try to configure two configuration files as test 805DC01243ED.CFG and common.cfg
I think that the file common.cfg contains the common configuration between the various phones, However the file 805DC01243ED.CFG contains the parameters for each phone ? -
@Pete-S said in Auto provisioning server for yealink T21P:
I think most people use software that comes with their PBX, like an endpoint manager, that will handle all the templates needed and set up the autoprovisioning automatically for all phones. So you are doing it the hard way.
That's very common, yes. But certainly not all. Pretty sure that @JaredBusch likes to create it by hand and just use the PBX to hand it out.
-
@akiliss said in Auto provisioning server for yealink T21P:
@Pete-S
thank you @Pete-S your feedback, I will try to configure two configuration files as test 805DC01243ED.CFG and common.cfg
I think that the file common.cfg contains the common configuration between the various phones, However the file 805DC01243ED.CFG contains the parameters for each phone ?Small things can also ruin everything. For example is 805DC01243ED.CFG not the same as 805dc01243ed.cfg or 805DC01243ED.cfg
So you need to know what the phone is asking for. -
totally busy today and tomorrow. butif i have time friday i can post alot of info for oyu.
-
Hi @JaredBusch
Thank you and I can wait for your informations Friday. -
Sorry, got busy, then Friday and Saturday were gone.
Anyway.
Provisioning Yealink phones is simple. You simply create a
common.cfg
file and amac.cfg
file and put them on the system that the phone will be told to check.I probably need to update this list, but the T21P was on it.
Your
common.cfg
file for the T21P isy000000000052.cfg
Yourmac.cfg
will be the MAC address using lower case letters. Assuming your above example was valid, the file should be named805dc01243ed.cfg
You need to put these on a system reachable by the protocol you want to use. Personally, I never use
tftp
even on a local LAN. There is simply no way to protect it.
Damned near every PBX on the planet now includes a built in web server that is designed to serve the provisioning files overhttps
.Either way, create your
y000000000052.cfg
file and put it in yourtftp
location. Technically, your do not require this file. Every line item in this file can also be in themac.cfg
. But assuming you have more than one phone, why replicate a bunch of settings in everymac.cfg
file? That is why thecommon.cfg
file exists.Put common settings in here, so if you have to make a global update, you only have to change one file.
I have posted sample files of a T42S over here.
-
Hi @JaredBusch, Thank you very much for your reply, I tested a same configuration on Friday and it worked fine with TFTP.
Now Im trying to configure this with HTTP or HTTPS.Thanks again
-
@akiliss said in Auto provisioning server for yealink T21P:
Hi @JaredBusch, Thank you very much for your reply, I tested a same configuration on Friday and it worked fine with TFTP.
Now Im trying to configure this with HTTP or HTTPS.Thanks again
You can use
tftp
if you want. It works just fine. My issue with it is the lack of security.