New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
T23G won't donwload y000000000044.cfg from Provisioning Server
Author Message
rsardinha Offline
Junior Member
**

Posts: 3
Joined: Oct 2015
Reputation: 0
Post: #1
T23G won't donwload y000000000044.cfg from Provisioning Server
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:


Attached File(s)
.txt  boot.txt (Size: 158.15 KB / Downloads: 2)
.txt  sys.txt (Size: 217.89 KB / Downloads: 1)
04-11-2019 08:36 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jolouis Offline
Moderator
*****

Posts: 300
Joined: Oct 2013
Reputation: 5
Post: #2
RE: T23G won't donwload y000000000044.cfg from Provisioning Server
Does your system automatically generate .boot files also?

The way provisioning works, as of about version 80 or maybe 81, I can't remember now, is that the phone looks for .boot files first. If it gets an OK response for either [macaddy].boot or y000000000000.boot then it will ONLY read the boot file and process the directives specified in there. The problem is, even if the boot file is empty or contains nothing, the phone still stops its provisioning.

The only time it will fall back to the "old" provisioning style is if neither .boot file exists (and the server returns 404 or some other valid "does not exist" response code).

So you need to either a) Make sure that your server is not generating/serving up any kind of valid response for .boot file requests or B) create a valid .boot file and change your provisioning mechanisms accordingly.
04-12-2019 01:31 PM
Find all posts by this user    like1    dislike0 Quote this message in a reply
rsardinha Offline
Junior Member
**

Posts: 3
Joined: Oct 2015
Reputation: 0
Post: #3
RE: T23G won't donwload y000000000044.cfg from Provisioning Server
That is exactly the problem. The server is generating correctly both files (y00000000044.boot and MAC.boot), but in apache logs I only can see the T23G downloading the MAC.cfg. It did not even try to download the y0000000044.cfg, or it was be displayed in apache logs. The files are working fine, tested with curl.

What I'm not understanding is why T23 is not downloading and T38 is it.

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"



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"
04-12-2019 02:01 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
rsardinha Offline
Junior Member
**

Posts: 3
Joined: Oct 2015
Reputation: 0
Post: #4
[SOLVED] T23G won't donwload y000000000044.cfg from Provisioning Server
(04-12-2019 01:31 PM)jolouis Wrote:  Does your system automatically generate .boot files also?

The way provisioning works, as of about version 80 or maybe 81, I can't remember now, is that the phone looks for .boot files first. If it gets an OK response for either [macaddy].boot or y000000000000.boot then it will ONLY read the boot file and process the directives specified in there. The problem is, even if the boot file is empty or contains nothing, the phone still stops its provisioning.

The only time it will fall back to the "old" provisioning style is if neither .boot file exists (and the server returns 404 or some other valid "does not exist" response code).

So you need to either a) Make sure that your server is not generating/serving up any kind of valid response for .boot file requests or B) create a valid .boot file and change your provisioning mechanisms accordingly.

You was right. I've found the explanation in Yealink SIP IP Phones Auto Provisioning Guide_V83_10 in page nine.

Thank you.
04-12-2019 06:13 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  need complete list of yealink rps server IP's for firewall DanH 1 277 07-26-2019 07:00 AM
Last Post: Ted_Yealink
  Auto provisioning seams to be (partly) broken in version 83 for T46G HaraldL 2 1,423 07-02-2019 03:04 PM
Last Post: Fraukas2
  Provisioning Multiple Wallpapers BryanLee 1 912 04-24-2019 08:39 PM
Last Post: joew
  Firewall Settings for Auto Provisioning ChristophWHAT 2 1,256 02-04-2019 12:47 PM
Last Post: ChristophWHAT
  Bulk Manual config Tx Series ( With Server URL, Username & Password ) stéphane 2 936 01-28-2019 04:01 PM
Last Post: jolouis
  rps server is down jonathon@californiatelecom.com 4 1,286 01-18-2019 06:42 PM
Last Post: jolouis
  Ni file name in POST URLs [Was: How exactly are -local.cfg files POSTed to server ?] oliv 8 3,258 11-09-2018 01:58 PM
Last Post: jolouis
  Multiple provisioning servers Integra Business Solutions Inc. 4 1,694 10-26-2018 06:49 PM
Last Post: Integra Business Solutions Inc.
  Auto Provisioning Hangs Rus 1 1,154 10-17-2018 11:06 AM
Last Post: Rus
  Auto provisioning file names shane.caznet 1 1,416 10-12-2018 02:56 PM
Last Post: jolouis

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication