Yealink Forums
T21P - loading <MAC>.cfg fails - 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: T21P - loading <MAC>.cfg fails (/showthread.php?tid=1938)



T21P - loading <MAC>.cfg fails - filipedilopes - 06-24-2014 02:13 AM

Hi there,

I'm trying to set up the auto provisioning option, but it fails when loading the <MAC>.cfg file ...

I've setted up a ftp server, from which the phone collects the <MAC>.cfg successfully, but then there is a loading failure error. From what I can capture in the syslog I get this:

Jun 23 18:12:36 192.168.101.10 Controller ProcessMessage(655394),objMessage.wParam(1)
Jun 23 18:12:36 192.168.101.10 PHONE_MSG_FEATURE_KEY_SUBSCRIBE_RESULT(1,0)
Jun 23 18:12:36 192.168.101.10 OnSIPMessage SUBSCRIBE_RESULT. AllowFeatureSync:1(1,0)
Jun 23 18:12:41 192.168.101.10 Setting autoProvision writeConfig start...
Jun 23 18:12:41 192.168.101.10 TalkLogic: PHONE_MSG_GETWORKSTATUS[0][1]!
Jun 23 18:12:41 192.168.101.10 autop now...
Jun 23 18:12:41 192.168.101.10 Setting autoProvision has been changed!
Jun 23 18:12:41 192.168.101.10 AutoProvision Begin >>>
Jun 23 18:12:41 192.168.101.10 Check Talklogic Status ...
Jun 23 18:12:41 192.168.101.10 Send Msg 0x30007 to app_vpPhone
Jun 23 18:12:41 192.168.101.10 TalkLogic: PHONE_MSG_GETWORKSTATUS[0][1]!
Jun 23 18:12:41 192.168.101.10 *** [TASK:302] Lanuch Msg[XB0001]
Jun 23 18:12:41 192.168.101.10 Receive update config
Jun 23 18:12:41 192.168.101.10 *** Launch Upgrade
Jun 23 18:12:41 192.168.101.10 *** Launch DHCP Upgrade
Jun 23 18:12:41 192.168.101.10 *** Launch Config URL Upgrade
Jun 23 18:12:41 192.168.101.10 recv MSG run check NetworkComplete
Jun 23 18:12:41 192.168.101.10 network complete
Jun 23 18:12:42 192.168.101.10 type = ftp,hostname = 192.168.101.12, username = yealink, psw = ******, port = -1
Jun 23 18:12:42 192.168.101.10 strCommName = [y000000000034.cfg]
Jun 23 18:12:42 192.168.101.10 ftp to file failed, code = -15, msg = 550 File unavailable, cout = 0
Jun 23 18:12:42 192.168.101.10 ftp to file failed, code = -15, msg = 550 File unavailable, cout = 1
Jun 23 18:12:44 192.168.101.10 ftp to file failed, code = -15, msg = 550 File unavailable, cout = 2
Jun 23 18:12:48 192.168.101.10 WaitThreadMessageReply timeout [2b895a78] type=1 sta=0 msg=a0001
Jun 23 18:12:49 192.168.101.10 download file fail!!
Jun 23 18:12:49 192.168.101.10 strMacName = [0015655f5a6f.cfg]
Jun 23 18:12:49 192.168.101.10 download file success!!
Jun 23 18:12:49 192.168.101.10 Load M1 Or M2
Jun 23 18:12:49 192.168.101.10 Load [/tmp/xxx.cfg] fail
Jun 23 18:12:49 192.168.101.10 Protect = 0, Sync = 0
Jun 23 18:12:49 192.168.101.10 Upgrade finished [OK]
Jun 23 18:12:49 192.168.101.10 Send Upgrade end to GUI!
Jun 23 18:12:49 192.168.101.10 Broad msg reboot = FALSE
Jun 23 18:12:49 192.168.101.10 Autop Success, Close Redirect!
Jun 23 18:12:49 192.168.101.10 Receive Message [0XB0007] OnAutoProvision wParam[1] lParam[0]!
Jun 23 18:12:49 192.168.101.10 redirect done msg, wparam=1, lparam=0
Jun 23 18:12:49 192.168.101.10 Set repeatPolicy timer [60m]
Jun 23 18:12:49 192.168.101.10 Autoprovision End >>>

Important to say that in the web gui I have a configuration that works. The problem is that it does not read the one in the <MAC>.cfg file that I want to.

Please check the file downwards. The extension is txt to let it upload without problemas. My real one has the mac and cfg extension edited correctly.

My phone is a T21P with firmware version 34.72.191.1 .

Can you help, please ??

Thank you.

Best regards.


RE: T21P - loading <MAC>.cfg fails - Yealink Support - 06-24-2014 04:27 PM

Hi filipedilopes,

I have modified your MAC.cfg file and attached it to you. You can try it again.
File header "#!version:1.0.0.1" cannot be edited or deleted, and must be placed in the first line.
Like below picture.

[Image: attachment.php?aid=801]


RE: T21P - loading <MAC>.cfg fails - filipedilopes - 06-24-2014 05:38 PM

Hello,

I red that instruction 10 times or more, but thought that the comments didn't count. I tried it now and it works.

Thank you so much for the quick answer.

Have a nice day.


RE: T21P - loading <MAC>.cfg fails - Yealink Support - 06-24-2014 08:25 PM

You are welcome. It's my honor.