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
Feb 20 19:53:07 test[121]: war[ConfigServer.cpp:84 ]CConfigServer::OnFlushRegistry end
Feb 20 19:53:07 LIBD[559]: DANY<0+emerg > DANY=3
Feb 20 19:53:13 LIBD[559]: TFTP<3+error > Error Select! errno 0
Feb 20 19:53:13 AUTP[559]: AUTP<3+error > tftp to file failed, code = -8, msg = Read Error, cout = 0
Feb 20 19:53:18 LIBD[559]: TFTP<3+error > Error Select! errno 0
Feb 20 19:53:18 AUTP[559]: AUTP<3+error > tftp to file failed, code = -8, msg = Read Error, cout = 1
Feb 20 19:53:25 LIBD[559]: TFTP<3+error > Error Select! errno 0
Feb 20 19:53:25 AUTP[559]: AUTP<3+error > tftp to file failed, code = -8, msg = Read Error, cout = 2
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
##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.##
#######################################################################################
## Account1 Settings ##
#######################################################################################
#Enable or disable the account1, 0-Disabled (default), 1-Enabled;
account.1.enable = 1
#Configure the label displayed on the LCD screen for accountX.
account.1.label = GS-PBX
#Configure the display name of accountX.
account.1.display_name = GS-PBX-6284
#Configure the username and password for register authentication.
account.1.auth_name = 6284
account.1.password = PassDeleted
#Configure the register user name.
account.1.user_name = 6284
#Configure the SIP server address.
#account.X.sip_server_host =
account.1.sip_server.1.address = 10.54.120.201
#Specify the port for the SIP server. The default value is 5060.
#account.X.sip_server_port =
account.1.sip_server.1.port = 5060
account.1.sip_server.1.expires = 3600
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
tftp> get y000000000029.cfg
Received 58369 bytes in 1.2 seconds
tftp> get 0015655B3944.cfg
Received 1225 bytes in 0.1 seconds