04-11-2019, 08:36 PM
Hi,
I have 84 T23G using the firmware 44.84.0.15. All of then are using DHCP option 66 to inform the provision server as follows:
subnet 10.165.186.0 netmask 255.255.254.0 {
option routers 10.165.186.1;
option subnet-mask 255.255.254.0;
option ntp-servers 10.165.186.5;
option boot-server "http://10.165.186.5/provisioning";
option provision-server-ip "10.165.186.5";
The system generates the files dynamically, checking the apache logs the T23G is not downloading the y000000000044.cfg files as supposed.
ezipbx:/var/log/apache2# cat apache-access.log|grep -i 187.0
10.165.187.0 - - [11/Apr/2019:07:23:52 -0300] "GET /provisioning/805ec04587a3.boot HTTP/1.1" 200 5289 "-" "Yealink SIP-T23G 44.84.0.15 80:5e:c0:45:87:a3"
10.165.187.0 - - [11/Apr/2019:16:08:27 -0300] "GET /provisioning/805ec04587a3.boot HTTP/1.1" 200 5289 "-" "Yealink SIP-T23G 44.84.0.15 80:5e:c0:45:87:a3"
Checking my other telephones I could note that all other than T23G is downloading the model file. But T23 is not.
10.165.186.208 - - [11/Apr/2019:17:09:00 -0300] "GET /provisioning/y000000000038.cfg HTTP/1.1" 200 10676 "-" "Yealink SIP-T38G 38.70.0.185 00:15:65:99:5f:35"
10.165.186.208 - - [11/Apr/2019:17:09:09 -0300] "GET /provisioning/001565995f35.cfg HTTP/1.1" 200 5345 "-" "Yealink SIP-T38G 38.70.0.185 00:15:65:99:5f:35"
10.165.186.208 - - [11/Apr/2019:17:09:14 -0300] "GET /provisioning/yealink/dialplan/1.xml HTTP/1.1" 200 515 "-" "Yealink SIP-T38G 38.70.0.185 00:15:65:99:5f:35"
Looking the T23G log files that is not downloading:
<134>Apr 12 03:08:25 GUI [1150:1150]: ZERO<6+info > 705.135.524:add atp request
<134>Apr 12 03:08:26 GUI [1150:1150]: ZERO<6+info > 706.425.781:process autop msg[ATP_MSG_REQ_START_POWER_ON_UPDATE] wparam[0] lparam[0]
<134>Apr 12 03:08:26 ATP [1174]: ATP <6+info > Try upgrade by dhcp options
<131>Apr 12 03:08:26 ATP [1174]: ATP <3+error > url with auth parameter fail
<131>Apr 12 03:08:26 ATP [1174]: ATP <3+error > Get static config url is empty
<134>Apr 12 03:08:26 ATP [1174]: ATP <6+info > dect dongle state is 0
<134>Apr 12 03:08:26 ATP [1174]: ATP <6+info > Upgrade from mac.boot
<134>Apr 12 03:08:26 ATP [1174]: DURL<6+info > [DCMN]download to file...
<134>Apr 12 03:08:26 ATP [1174]: DURL<6+info > [DCMN]Use new short connect.
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]HTTP request use auth = 0.
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]ssl cipher:AES:!ADH:!LOW:!EXPORT:!NULL
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]I will write to file: /tmp/xxx.cfg
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Request header
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]GET /provisioning/805ec04587a3.boot HTTP/1.1
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Host: 10.165.186.5
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]...
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Response header
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]HTTP/1.1 200 OK
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Date: Thu, 11 Apr 2019 19:08:27 GMT
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Content-Length: 4918
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Recode is 200, Request ok.
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Connect is short Cleanup curl.
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]download common success.
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > need_cmp_md5=1
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > cfg md5 same!
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > Extend include files finished, all success, same md5
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > parse item finish
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > parse item for rom finish
<133>Apr 12 03:08:27 ATP [1174]: ATP <5+notice> sync switch not open!
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > send end provision!!
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > auto provision result is 0
<134>Apr 12 03:08:27 GUI [1150:1150]: ZERO<6+info > 707.914.337:process autop msg[ATP_MSG_NOTIFY_AUTOP_END] wparam[1] lparam[0]
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > dect dongle state is 0
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > Update success, and return
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > Upgrade by DHCP4 option OK
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > Upgrade by dhcp option success !
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > Poweron by default order success
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > SET ALL_MONITOR
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > do the policy again
I'm sending the SYSLOG 6 package downloaded by in my phone:
I have 84 T23G using the firmware 44.84.0.15. All of then are using DHCP option 66 to inform the provision server as follows:
subnet 10.165.186.0 netmask 255.255.254.0 {
option routers 10.165.186.1;
option subnet-mask 255.255.254.0;
option ntp-servers 10.165.186.5;
option boot-server "http://10.165.186.5/provisioning";
option provision-server-ip "10.165.186.5";
The system generates the files dynamically, checking the apache logs the T23G is not downloading the y000000000044.cfg files as supposed.
ezipbx:/var/log/apache2# cat apache-access.log|grep -i 187.0
10.165.187.0 - - [11/Apr/2019:07:23:52 -0300] "GET /provisioning/805ec04587a3.boot HTTP/1.1" 200 5289 "-" "Yealink SIP-T23G 44.84.0.15 80:5e:c0:45:87:a3"
10.165.187.0 - - [11/Apr/2019:16:08:27 -0300] "GET /provisioning/805ec04587a3.boot HTTP/1.1" 200 5289 "-" "Yealink SIP-T23G 44.84.0.15 80:5e:c0:45:87:a3"
Checking my other telephones I could note that all other than T23G is downloading the model file. But T23 is not.
10.165.186.208 - - [11/Apr/2019:17:09:00 -0300] "GET /provisioning/y000000000038.cfg HTTP/1.1" 200 10676 "-" "Yealink SIP-T38G 38.70.0.185 00:15:65:99:5f:35"
10.165.186.208 - - [11/Apr/2019:17:09:09 -0300] "GET /provisioning/001565995f35.cfg HTTP/1.1" 200 5345 "-" "Yealink SIP-T38G 38.70.0.185 00:15:65:99:5f:35"
10.165.186.208 - - [11/Apr/2019:17:09:14 -0300] "GET /provisioning/yealink/dialplan/1.xml HTTP/1.1" 200 515 "-" "Yealink SIP-T38G 38.70.0.185 00:15:65:99:5f:35"
Looking the T23G log files that is not downloading:
<134>Apr 12 03:08:25 GUI [1150:1150]: ZERO<6+info > 705.135.524:add atp request
<134>Apr 12 03:08:26 GUI [1150:1150]: ZERO<6+info > 706.425.781:process autop msg[ATP_MSG_REQ_START_POWER_ON_UPDATE] wparam[0] lparam[0]
<134>Apr 12 03:08:26 ATP [1174]: ATP <6+info > Try upgrade by dhcp options
<131>Apr 12 03:08:26 ATP [1174]: ATP <3+error > url with auth parameter fail
<131>Apr 12 03:08:26 ATP [1174]: ATP <3+error > Get static config url is empty
<134>Apr 12 03:08:26 ATP [1174]: ATP <6+info > dect dongle state is 0
<134>Apr 12 03:08:26 ATP [1174]: ATP <6+info > Upgrade from mac.boot
<134>Apr 12 03:08:26 ATP [1174]: DURL<6+info > [DCMN]download to file...
<134>Apr 12 03:08:26 ATP [1174]: DURL<6+info > [DCMN]Use new short connect.
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]HTTP request use auth = 0.
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]ssl cipher:AES:!ADH:!LOW:!EXPORT:!NULL
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]I will write to file: /tmp/xxx.cfg
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Request header
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]GET /provisioning/805ec04587a3.boot HTTP/1.1
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Host: 10.165.186.5
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]...
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Response header
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]HTTP/1.1 200 OK
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Date: Thu, 11 Apr 2019 19:08:27 GMT
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Content-Length: 4918
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Recode is 200, Request ok.
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]Connect is short Cleanup curl.
<134>Apr 12 03:08:27 ATP [1174]: DURL<6+info > [DCMN]download common success.
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > need_cmp_md5=1
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > cfg md5 same!
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > Extend include files finished, all success, same md5
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > parse item finish
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > parse item for rom finish
<133>Apr 12 03:08:27 ATP [1174]: ATP <5+notice> sync switch not open!
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > send end provision!!
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > auto provision result is 0
<134>Apr 12 03:08:27 GUI [1150:1150]: ZERO<6+info > 707.914.337:process autop msg[ATP_MSG_NOTIFY_AUTOP_END] wparam[1] lparam[0]
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > dect dongle state is 0
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > Update success, and return
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > Upgrade by DHCP4 option OK
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > Upgrade by dhcp option success !
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > Poweron by default order success
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > SET ALL_MONITOR
<134>Apr 12 03:08:27 ATP [1174]: ATP <6+info > do the policy again
I'm sending the SYSLOG 6 package downloaded by in my phone: