Yealink Forums
auto_provision.custom.sync - Phone does not upload mac-local file. - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Configuration (/forumdisplay.php?fid=24)
+--- Thread: auto_provision.custom.sync - Phone does not upload mac-local file. (/showthread.php?tid=2584)



auto_provision.custom.sync - Phone does not upload mac-local file. - Bryan Nelson - 10-18-2014 08:04 AM

Hello,

I am testing out the new local settings options, and am having a bit of trouble.

I have set the following in the y000000000028.cfg file for a T-46G:

auto_provision.custom.protect= 1

auto_provision.custom.sync= 1

When provisioning, I can see the phone request the mac-local.cfg file from our provisioning server, so I can confirm that the phone has applied the above settings from the common config file.

The problem is that the phone never uploads any local changes to the server. I have tried tftp and http, and I never see any retrieve\put\post requests hit our provisioning server. Is the phone supposed to upload this file as soon as a change occurs, or on some sort of schedule?

I am very excited to get this working properly, as this was a big gap in functionality compared to Polycom phones that have has a mac-web.cfg file we can use fort a long time.


Has anyone out there gotten this to work as expected?


RE: auto_provision.custom.sync - Phone does not upload mac-local file. - James_Yealink - 10-18-2014 01:18 PM

Hi Bnelson,

Phone won't upload local change to server using provision.
It will upload a change when you manually change a parameter through phone web interface or LCD. Can you please check?

Regards,
James


RE: auto_provision.custom.sync - Phone does not upload mac-local file. - Bryan Nelson - 10-21-2014 12:53 AM

I double checked, and I'm not seeing any uploads after saving several options in the web interface of a T-46g.

I changed Line Key settings, codec settings, forwarding settings. I feel like I may be missing something simple, so I'm turning on level 6 syslog and trying again.

Thanks!

Should the upload happen right away? Here is a clip of the syslog where I logged in and modified a few line keys:

Oct 20 10:58:06 Log [411]: WEB <6+info > ip:192.168.0.103 Login in success!
Oct 20 10:58:07 192.168.0.14 RTSR[368]: RTSR<6+info > [get_output_if] connect
Oct 20 10:58:13 192.168.0.14 RTSR[368]: message repeated 2 times: [ RTSR<6+info > [get_output_if] connect]
Oct 20 10:58:16 192.168.0.14 RTSR[368]: RTSR<6+info > [get_output_if] connect
Oct 20 10:58:22 192.168.0.14 RTSR[368]: message repeated 2 times: [ RTSR<6+info > [get_output_if] connect]
Oct 20 16:58:24 GUI [452]: TALK<6+info >[Talk] Receive phone message[0x30007] wparam[0] lparam[1]
Oct 20 10:58:24 SIP [522]: SIP <5+notice> [SIP] Main Recv:[0x00010007] wParam:(0x005b),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 10:58:24 SIP [522]: SIP <5+notice> [SIP] Main Recv:[0x00010007] wParam:(0x0060),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 16:58:24 GUI [452]: TALK<6+info >OnConfigChange wparam[91] lparam[0]
Oct 20 16:58:24 GUI [452]: FWDD<6+info >CFWDMng::OnConfigChange(Msg[10007] wparam[91] lparam[0]
Oct 20 16:58:24 GUI [452]: URIL<6+info >OnConfigChangeMsg objMsg.message[65543],objMsg.wParam[91]
Oct 20 16:58:24 GUI [452]: DIR <6+info >message(0x10007), wparam(0x5b), lparam(0x0)
Oct 20 16:58:24 GUI [452]: DIR <6+info >Directory:refObj.lResult: -1
Oct 20 16:58:24 GUI [452]: CLOG<6+info >CallLog: Receive MSG wParam[91]
Oct 20 16:58:24 GUI [452]: MWND<6+info >CMainWnd::OnMainWndMessage[65543]
Oct 20 16:58:24 GUI [452]: DSSK<6+info >CDssKeyManager::OnConfigChange msg.wParam=91 lParam=0
Oct 20 16:58:24 GUI [452]: CC <6+info >CallCompletion: Received message[0x10007]
Oct 20 16:58:24 GUI [452]: MENU<6+info >CMenuController::MyOnLdapMessage 0x[10007] 0x[5b]
Oct 20 16:58:24 GUI [452]: IDUI<6+info >DlgIdleScren OnIdleScreenMsg 0x[10007] 0x[5b]
Oct 20 16:58:24 GUI [452]: IDUI<6+info >AUTOPROVISION_UPDATE_NOTICE= 0x[9dc]
Oct 20 10:58:24 SIP [522]: SUA <6+info > [006] App event:[0x00010007] wParam:(0x005b),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 10:58:24 SIP [522]: SUA <6+info > [000] App event:[0x00010007] wParam:(0x005b),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 10:58:24 SIP [522]: SUA <6+info > [000] App event:[0x00010007] wParam:(0x0060),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 10:58:24 SIP [522]: SUA <6+info > [006] App event:[0x00010007] wParam:(0x0060),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 16:58:24 GUI [452]: TALK<6+info >OnConfigChange wparam[96] lparam[0]
Oct 20 16:58:24 GUI [452]: FWDD<6+info >CFWDMng::OnConfigChange(Msg[10007] wparam[96] lparam[0]
Oct 20 16:58:24 GUI [452]: URIL<6+info >OnConfigChangeMsg objMsg.message[65543],objMsg.wParam[96]
Oct 20 16:58:24 GUI [452]: DIR <6+info >message(0x10007), wparam(0x60), lparam(0x0)
Oct 20 16:58:24 GUI [452]: DIR <6+info >Directory:refObj.lResult: -1
Oct 20 16:58:24 GUI [452]: CLOG<6+info >CallLog: Receive MSG wParam[96]
Oct 20 16:58:24 GUI [452]: MWND<6+info >CMainWnd::OnMainWndMessage[65543]
Oct 20 16:58:24 GUI [452]: DSSK<6+info >CDssKeyManager::OnConfigChange msg.wParam=96 lParam=0
Oct 20 16:58:24 GUI [452]: CC <6+info >CallCompletion: Received message[0x10007]
Oct 20 16:58:24 GUI [452]: MENU<6+info >CMenuController::MyOnLdapMessage 0x[10007] 0x[60]
Oct 20 16:58:24 GUI [452]: IDUI<6+info >DlgIdleScren OnIdleScreenMsg 0x[10007] 0x[60]
Oct 20 16:58:24 GUI [452]: IDUI<6+info >AUTOPROVISION_UPDATE_NOTICE= 0x[9dc]
Oct 20 16:58:25 GUI [452]: TALK<6+info >OnConfigChange wparam[10] lparam[0]
Oct 20 16:58:25 GUI [452]: FWDD<6+info >CFWDMng::OnConfigChange(Msg[10007] wparam[10] lparam[0]
Oct 20 16:58:25 GUI [452]: URIL<6+info >OnConfigChangeMsg objMsg.message[65543],objMsg.wParam[10]
Oct 20 10:58:25 SIP [522]: SUA <6+info > [000] App event:[0x00010007] wParam:(0x000a),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 10:58:25 SIP [522]: SUA <6+info > [000] App event:[0x00010007] wParam:(0x0002),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 10:58:25 SIP [522]: SIP <5+notice> [SIP] Main Recv:[0x00010007] wParam:(0x000a),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 10:58:25 SIP [522]: SUA <6+info > [006] App event:[0x00010007] wParam:(0x000a),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 10:58:25 SIP [522]: SUA <6+info > [006] App event:[0x00010007] wParam:(0x0002),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 16:58:25 GUI [452]: DIR <6+info >message(0x10007), wparam(0xa), lparam(0x0)
Oct 20 16:58:25 GUI [452]: DIR <6+info >Directory:refObj.lResult: -1
Oct 20 16:58:25 GUI [452]: CLOG<6+info >CallLog: Receive MSG wParam[10]
Oct 20 16:58:25 GUI [452]: MWND<6+info >CMainWnd::OnMainWndMessage[65543]
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyManager::OnConfigChange msg.wParam=10 lParam=0
Oct 20 16:58:25 GUI [452]: CC <6+info >CallCompletion: Received message[0x10007]
Oct 20 16:58:25 GUI [452]: MENU<6+info >CMenuController::MyOnLdapMessage 0x[10007] 0x[a]
Oct 20 16:58:25 GUI [452]: IDUI<6+info >DlgIdleScren OnIdleScreenMsg 0x[10007] 0x[a]
Oct 20 16:58:25 GUI [452]: IDUI<6+info >AUTOPROVISION_UPDATE_NOTICE= 0x[9dc]
Oct 20 10:58:25 192.168.0.14 RTSR[368]: RTSR<6+info > [get_output_if] connect
Oct 20 16:58:25 GUI [452]: TALK<6+info >OnConfigChange wparam[2] lparam[0]
Oct 20 16:58:25 GUI [452]: FWDD<6+info >CFWDMng::OnConfigChange(Msg[10007] wparam[2] lparam[0]
Oct 20 16:58:25 GUI [452]: URIL<6+info >OnConfigChangeMsg objMsg.message[65543],objMsg.wParam[2]
Oct 20 16:58:25 GUI [452]: DIR <6+info >message(0x10007), wparam(0x2), lparam(0x0)
Oct 20 16:58:25 GUI [452]: DIR <6+info >Directory:refObj.lResult: -1
Oct 20 16:58:25 GUI [452]: CLOG<6+info >CallLog: Receive MSG wParam[2]
Oct 20 16:58:25 GUI [452]: MWND<6+info >CMainWnd::OnMainWndMessage[65543]
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyManager::OnConfigChange msg.wParam=2 lParam=0
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyManager: UpdateKeysInfo [#004#005#006#007]
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyModule::ReloadDssKeyAttrib m_strConfigFile:/config/data/linekey.xml
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyModule::CorrectDsskeyType:0
Oct 20 16:58:25 GUI [452]: DSSK<6+info >new type=0
Oct 20 16:58:25 GUI [452]: DKUI<6+info >dsskeyUI_TurnOffLight 3, -1
Oct 20 10:58:25 SIP [522]: SIP <5+notice> [SIP] Main Recv:[0x00010007] wParam:(0x0002),lParam:(0x0000) BROAD_MSG_CONFIG_CHANGE
Oct 20 10:58:25 SIP [522]: SIP <5+notice> [SIP] ** Reload phone context **
Oct 20 16:58:25 GUI [452]: DSSK<6+info >createDsskey:currenttype:0, module type: 0, keyindex:3, expIndex:-1
Oct 20 16:58:25 GUI [452]: DSSK<6+info >Dsskeybindmodule: dsskey:0x369150 module:0x394038
Oct 20 16:58:25 GUI [452]: DKUI<6+info >dsskeyUI_TurnOffLight 3, -1
Oct 20 16:58:25 GUI [452]: DKUI<6+info >CDssKeyButton::SetDssKeyID LockKey[-1], keyid:[3]
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 3
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 3
Oct 20 16:58:25 GUI [452]: DKUI<6+info >CDssKeyPageButton::SetActualPageNum:1
Oct 20 16:58:25 GUI [452]: DKUI<6+info >CDssKeyButton::SetDssKeyID LockKey[-1], keyid:[9]
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 9
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 9
Oct 20 16:58:25 GUI [452]: DSSK<6+info >skip close page light
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyModule::ReloadDssKeyAttrib m_strConfigFile:/config/data/linekey.xml
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyModule::CorrectDsskeyType:0
Oct 20 16:58:25 GUI [452]: DSSK<6+info >new type=0
Oct 20 16:58:25 GUI [452]: DKUI<6+info >dsskeyUI_TurnOffLight 4, -1
Oct 20 16:58:25 GUI [452]: DSSK<6+info >createDsskey:currenttype:0, module type: 0, keyindex:4, expIndex:-1
Oct 20 16:58:25 GUI [452]: DSSK<6+info >Dsskeybindmodule: dsskey:0x368300 module:0x394038
Oct 20 16:58:25 GUI [452]: DKUI<6+info >dsskeyUI_TurnOffLight 4, -1
Oct 20 16:58:25 GUI [452]: DKUI<6+info >CDssKeyButton::SetDssKeyID LockKey[-1], keyid:[4]
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 4
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 4
Oct 20 16:58:25 GUI [452]: DKUI<6+info >CDssKeyPageButton::SetActualPageNum:1
Oct 20 16:58:25 GUI [452]: DKUI<6+info >CDssKeyButton::SetDssKeyID LockKey[-1], keyid:[9]
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 9
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 9
Oct 20 16:58:25 GUI [452]: DSSK<6+info >skip close page light
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyModule::ReloadDssKeyAttrib m_strConfigFile:/config/data/linekey.xml
Oct 20 10:58:25 SIP [522]: SIP <5+notice> [SIP] ** Load OK **
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyModule::CorrectDsskeyType:0
Oct 20 16:58:25 GUI [452]: DSSK<6+info >new type=0
Oct 20 16:58:25 GUI [452]: DKUI<6+info >dsskeyUI_TurnOffLight 5, -1
Oct 20 16:58:25 GUI [452]: DSSK<6+info >createDsskey:currenttype:0, module type: 0, keyindex:5, expIndex:-1
Oct 20 16:58:25 GUI [452]: DSSK<6+info >Dsskeybindmodule: dsskey:0x388ad0 module:0x394038
Oct 20 16:58:25 GUI [452]: DKUI<6+info >dsskeyUI_TurnOffLight 5, -1
Oct 20 16:58:25 GUI [452]: DKUI<6+info >CDssKeyButton::SetDssKeyID LockKey[-1], keyid:[5]
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 5
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 5
Oct 20 16:58:25 GUI [452]: DKUI<6+info >CDssKeyPageButton::SetActualPageNum:1
Oct 20 16:58:25 GUI [452]: DKUI<6+info >CDssKeyButton::SetDssKeyID LockKey[-1], keyid:[9]
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 9
Oct 20 16:58:25 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 9
Oct 20 16:58:25 GUI [452]: DSSK<6+info >skip close page light
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyModule::ReloadDssKeyAttrib m_strConfigFile:/config/data/linekey.xml
Oct 20 16:58:25 GUI [452]: DSSK<6+info >CDssKeyModule::CorrectDsskeyType:13
Oct 20 16:58:26 GUI [452]: DSSK<6+info >new type=13
Oct 20 16:58:26 GUI [452]: DKUI<6+info >dsskeyUI_TurnOffLight 6, -1
Oct 20 16:58:26 GUI [452]: DSSK<6+info >createDsskey:currenttype:0, module type: 0, keyindex:6, expIndex:-1
Oct 20 16:58:26 GUI [452]: DSSK<6+info >Dsskeybindmodule: dsskey:0x3a2910 module:0x394038
Oct 20 16:58:26 GUI [452]: DKUI<6+info >dsskeyUI_TurnOffLight 6, -1
Oct 20 16:58:26 GUI [452]: DKUI<6+info >CDssKeyButton::SetDssKeyID LockKey[-1], keyid:[6]
Oct 20 16:58:26 GUI [452]: DKUI<6+info >sData.eLockType:0
Oct 20 16:58:26 GUI [452]: DKUI<6+info >dsskeyUI_ParseLogicData-strFirstRowText[3035551234]
Oct 20 16:58:26 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 6
Oct 20 16:58:26 GUI [452]: DKUI<6+info >CDssKeyPageButton::SetActualPageNum:1
Oct 20 16:58:26 GUI [452]: DKUI<6+info >CDssKeyButton::SetDssKeyID LockKey[-1], keyid:[9]
Oct 20 16:58:26 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 9
Oct 20 16:58:26 GUI [452]: DKUI<6+info >[DssKeyLight] TurnOff Light: 9
Oct 20 16:58:26 GUI [452]: DSSK<6+info >skip close page light
Oct 20 16:58:26 GUI [452]: CC <6+info >CallCompletion: Received message[0x10007]
Oct 20 16:58:26 GUI [452]: MENU<6+info >CMenuController::MyOnLdapMessage 0x[10007] 0x[2]
Oct 20 16:58:26 GUI [452]: IDUI<6+info >DlgIdleScren OnIdleScreenMsg 0x[10007] 0x[2]
Oct 20 16:58:26 GUI [452]: IDUI<6+info >AUTOPROVISION_UPDATE_NOTICE= 0x[9dc]
Oct 20 16:58:26 GUI [452]: TALK<6+info >[MSG:SIP==>Talklogic] message=[PHONE_MSG_BLF_STATUS_UPDATE] wParam=[0] lParam=[0]
Oct 20 16:58:26 GUI [452]: DSSK<6+info >DSSKEY: RemoteStatus:{3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3}
Oct 20 10:58:28 192.168.0.14 RTSR[368]: RTSR<6+info > [get_output_if] connect
Oct 20 10:58:31 192.168.0.14 RTSR[368]: RTSR<6+info > [get_output_if] connect


RE: auto_provision.custom.sync - Phone does not upload mac-local file. - Bryan Nelson - 11-08-2014 04:46 AM

Did the syslog help at all?


RE: auto_provision.custom.sync - Phone does not upload mac-local file. - Ifax_Support - 03-10-2015 11:04 PM

Bump on this one - I'm using a T28P with the following config:

auto_provision.custom.protect = 1
auto_provision.custom.sync = 1
auto_provision.custom.upload_method = 0
lcd_logo.url =
phone_setting.lcd_logo.mode = 2
auto_provision.repeat.minutes = 30

After making changes, I see this in syslog:

Mar 10 14:57:22 ATP [729]: ATP <3+error > http to file failed, code = 404, msg = Unknown Error, retry = 1
Mar 10 14:57:22 IPP[586]: IPP <4+warnin>442.811.383:unkown msg,000b0001,00000000,00000000
Mar 10 14:57:24 IPP[586]: IPP <4+warnin>444.462.934:unkown msg,00002007,00007080,00000000
Mar 10 14:57:25 LIBD[729]: HTTP<3+error > Client error
Mar 10 14:57:25 ATP [729]: ATP <3+error > http to file failed, code = 404, msg = Unknown Error, retry = 1
Mar 10 14:57:25 ATP [729]: ATP <3+error > Can't read 23 byte
Mar 10 14:57:25 IPP[586]: IPP <4+warnin>445.240.130:unkown msg,000b0001,00000000,00000000
Mar 10 14:57:25 IPP[586]: IPP <4+warnin>445.297.740:unkown msg,000b0002,00000001,00000000
Mar 10 14:57:36 Log [645]: ANY <0+emerg > Log log :sys=1,cons=0,time=0,E=3,W=4,N=5,I=6,D=7
Mar 10 14:57:36 Log [645]: ANY <0+emerg > ANY =3
Mar 10 15:01:35 ATP [624]: ATP <3+error > Get static config url fail
Mar 10 15:01:38 netS[528]: ANY <0+emerg > ANY =4
Mar 10 15:01:38 TR9 [673]: ANY <0+emerg > ANY =4
Mar 10 15:01:38 ATP [624]: ANY <0+emerg > ANY =4
Mar 10 15:01:38 Log [645]: ANY <0+emerg > Log log :sys=1,cons=0,time=0,E=3,W=4,N=5,I=6,D=7
Mar 10 15:01:38 Log [645]: ANY <0+emerg > ANY =4
Mar 10 15:01:38 LIBD[624]: DANY<0+emerg > DANY=4
Mar 10 15:01:38 Log [701]: ANY <0+emerg > 698.845.849:Log log :sys=1,cons=0,time=1,E=3,W=4,N=5,I=6,D=7
Mar 10 15:01:38 Log [701]: ANY <0+emerg > 698.846.574:ANY =4
Mar 10 15:01:38 Log [701]: IDUI<4+warnin> 698.846.911:Syslog level change: 4
Mar 10 15:01:38 SIP [642]: ANY <0+emerg > ANY =4

Take a look at http to file failed error - does this mean anything to anyone? I wonder if Bnelson is still having issues here.


RE: auto_provision.custom.sync - Phone does not upload mac-local file. - Ifax_Support - 03-11-2015 12:39 AM

Actually - bnelson - it looks like I figured this one out.

auto_provision.server.url = http://<yourbootserver>

This needs to be set - then the phone will "PUT" it's own config up.


RE: auto_provision.custom.sync - Phone does not upload mac-local file. - sexy-trousers - 08-25-2015 04:50 AM

So were you guys actually able to get configs uploaded when you had auto_provision.custom.sync = 1 over http/https?

How is that possible without a web page on the server side processing the upload? I can see it's possible using TFTP/FTP etc. But I'm not aware of any ability to upload a file directly to an IIS virtual folder...

Thanks, TJ


RE: auto_provision.custom.sync - Phone does not upload mac-local file. - Frank Drews - 11-20-2015 09:01 PM

Hi,

I have the same question as sexy-trousers: Do you need to set up a ftp provisioning server for this to work? Any more specific requirements?

best regards Frank