T42G downloads MAC-oriented but doesn't config - Printable Version +- Yealink Forums (http://forum.yealink.com/forum) +-- Forum: IP Phone Series (/forumdisplay.php?fid=4) +--- Forum: Auto Provisioning (/forumdisplay.php?fid=14) +--- Thread: T42G downloads MAC-oriented but doesn't config (/showthread.php?tid=1280) |
T42G downloads MAC-oriented but doesn't config - julesa - 02-21-2014 06:15 AM I just bought some Yealink T42G phones. We haven't used these before. They came with firmware 29.71.0.121 installed on them. I set up Option 66 in our DHCP server to point to the IP address of a tftp server. I can see in the tftp server logs that the phone downloads the common config file. It successfully applies settings that I put in y000000000029.cfg to the phone, that part works fine.Then, in the tftp server logs, I can see it downloading the file named 0015655B3944.cfg three times, about 5 seconds apart. None of the settings in that file are applied to the phone. When I look in the phone's logs, I see this: Code: Feb 20 19:53:07 test[121]: war[ConfigServer.cpp:82 ]CConfigServer::OnFlushRegistry begin There is no difference in permissions on the two .cfg files, it looks like the phone is downloading it successfully three times. For troubleshooting, I simplified the mac.cfg file quite a bit. Below I've pasted in the contents of my 0015655B3944.cfg file: Code: #!version:1.0.0.1 The above settings never get applied to the phone. I tried upgrading one of the phones to version 72 just to see if that would fix the problem. Of course, I used the version 72 templates instead of the version 71 templates. I still had the same problem. I'm not sure what I'm doing wrong. I'm hoping it will be obvious to someone with more Yealink experience. Not currently using any encryption on these .cfg files, they're plain text on the tftp server. Edited to add: there's no problem with downloading the files. I think the problem has something to do with the contents of the files, even though I used the appropriate template recommended for each of the two different firmware versions I tried. Here's what happens when I download the files to my computer with a standard tftp client: Code: $ tftp 199.249.215.244 RE: T42G downloads MAC-oriented but doesn't config - julesa - 02-21-2014 11:38 PM OK, I figured out what the problem is. The phones have the MAC address printed with capital letters on the phones. The MAC-oriented filename should use lowercase for all alphabetic characters. For example: This is wrong: 001565FA92C65.cfg This is correct: 001565fa92c65.cfg Also, my tftp server logs lied to me. atftpd is the server, and when the phone requests a file it logs the following, even if the file does not exist: Feb 21 07:20:09 updates atftpd[29279]: Serving 001565fa92c65.cfg to 192.168.1.152:47607 I realized what the problem was when I hooked up a phone that did not have a MAC oriented config file set up, and the tftp server still logged the same thing -- then I noticed the phone was requesting the file with lowercase letters. |