[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
settings are not updating from autoprovision server
Author Message
AdmshipYard Offline
Junior Member
**

Posts: 2
Joined: Jun 2018
Reputation: 0
Post: #1
settings are not updating from autoprovision server
Hello!
I made flask server on python which generate links with /<mac_address>.cfg URL path for each telephone in our organization. Configuration files are also generating for each telephone.

If i take new telephone from box. Telephone getting autoprovision server URL from DHCP server and updating all configuration. ALL GOOD.

Then i made some changes in configuration on telephone and started waiting until telephone will make request on autoprovision server. Ok! i see request, but configuration didn't changed back....

Code:
192.168.53.30 - - [20/Feb/2021 08:33:20] "GET /configs/805ec0ae9ab6.boot HTTP/1.1" 404 -
192.168.53.30 - - [20/Feb/2021 08:33:20] "GET /configs/y000000000000.boot HTTP/1.1" 404 -
192.168.53.30 - - [20/Feb/2021 08:33:20] "GET /configs/y000000000052.cfg HTTP/1.1" 404 -
192.168.53.30 - - [20/Feb/2021 08:33:20] "GET /configs/805ec0ae9ab6.cfg HTTP/1.1" 200 -

http headers which my server send
Code:
my server
Content-Type:      text/plain; charset=utf-8
Content-Length:      4555
Accept-Ranges:      bytes
Connection:      Keep-Alive
Keep-Alive:      timeout=5, max=100
Last-Modified:      Sat, 20 Feb 2021 05:46:19 GMT
Server:      Werkzeug/1.0.1 Python/3.9.0
Date:      Sat, 20 Feb 2021 05:46:19 GMT

i collected logs and find this:
Code:
<134>Feb 20 09:17:38 ATP [1277]: DURL<6+info  > [DCMN]GET /configs/805ec0ae9ab6.cfg HTTP/1.1
<134>Feb 20 09:17:38 ATP [1277]: DURL<6+info  > [DCMN]Host: 192.168.53.33:8080
<134>Feb 20 09:17:38 ATP [1277]: DURL<6+info  > [DCMN]...
<134>Feb 20 09:17:38 ATP [1277]: DURL<6+info  > [DCMN]Response header
<134>Feb 20 09:17:38 ATP [1277]: DURL<6+info  > [DCMN]HTTP/1.1 200 OK
<134>Feb 20 09:17:38 ATP [1277]: DURL<6+info  > [DCMN]Content-Length: 4556
<134>Feb 20 09:17:38 ATP [1277]: DURL<6+info  > [DCMN]Date: Sat, 20 Feb 2021 06:17:39 GMT
<134>Feb 20 09:17:38 ATP [1277]: DURL<6+info  > [DCMN]Recode is 200, Request ok.
<134>Feb 20 09:17:38 ATP [1277]: DURL<6+info  > [DCMN]Connect is short Cleanup curl.
<134>Feb 20 09:17:38 ATP [1277]: DURL<6+info  > [DCMN]download common success.
<134>Feb 20 09:17:38 ATP [1277]: ATP <6+info  > need_cmp_md5=1
<134>Feb 20 09:17:38 ATP [1277]: ATP <6+info  > cfg md5 same!
<131>Feb 20 09:17:39 ATP [1277]: ATP <3+error > [FUNC: atp_trans_get_attr_list, 740] get trans attr error.
<132>Feb 20 09:17:39 ATP [1277]: ATP <4+warnin> error: features.keep_mute.mode
<134>Feb 20 09:17:39 ATP [1277]: ATP <6+info  > skip item<features.keep_mute.mode>
<134>Feb 20 09:17:39 ATP [1277]: ATP <6+info  > parse item finish
<134>Feb 20 09:17:39 ATP [1277]: ATP <6+info  > parse item for rom finish
<133>Feb 20 09:17:39 ATP [1277]: ATP <5+notice> sync switch not open!
<134>Feb 20 09:17:39 ATP [1277]: ATP <6+info  > send end provision!!
<134>Feb 20 09:17:39 ATP [1277]: ATP <6+info  > auto provision result is 0
<134>Feb 20 09:17:39 GUI [1260:1260]: ZERO<6+info  > 859.273.635:process autop msg[ATP_MSG_NOTIFY_AUTOP_END] wparam[1] lparam[0]
<134>Feb 20 09:17:39 ATP [1277]: ATP <6+info  > dect dongle state is 0
<134>Feb 20 09:17:39 ATP [1277]: ATP <6+info  > Update success, and return
<134>Feb 20 09:17:39 ATP [1277]: ATP <6+info  > Upgrade by static config success !

Please help to find what im doing wrong?
02-20-2021 02:47 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
AdmshipYard Offline
Junior Member
**

Posts: 2
Joined: Jun 2018
Reputation: 0
Post: #2
RE: settings are not updating from autoprovision server
Ok. i founded problem and resolved it!

Code:
<134>Feb 20 09:17:38 ATP [1277]: ATP <6+info  > need_cmp_md5=1
<134>Feb 20 09:17:38 ATP [1277]: ATP <6+info  > cfg md5 same!

All problem was because md5 check... because telephone didn't want to update configuration if last downloaded file and new downloaded file have same md5.

I have made work around method to make md5 different. Every request from telephone i add in config file in the end date and time.
02-20-2021 04:20 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
  PROBLEM WITH W80B AND W80DM certificate server acces TWT_Support 1 3,121 02-18-2021 06:55 AM
Last Post: bitblock
Question Autoprovision - LED Light Flashing [Resolved] voipsupport 2 3,778 05-01-2020 06:43 PM
Last Post: voipsupport
  Is it possible to set auto_provision.server.url via a servlet call? scully 2 3,650 05-01-2020 01:53 PM
Last Post: richardoux
  Update settings/reprovision automatically without factory reset FrankDRNS 2 4,063 05-01-2020 01:17 AM
Last Post: voipsupport
  Repeated AutoProvision TFTP/HTTP Issue patrick_keys 1 3,063 02-10-2020 05:04 PM
Last Post: jolouis
  Custom DECT Settings crew.di 4 4,699 11-08-2019 02:47 PM
Last Post: crew.di
  need complete list of yealink rps server IP's for firewall DanH 1 4,967 07-26-2019 07:00 AM
Last Post: Ted_Yealink
  How to erase a parameter using autoprovision file Santi 1 3,681 06-21-2019 10:25 AM
Last Post: complex1
  Local Phonebook autoprovision Aber 6 9,353 06-11-2019 01:55 AM
Last Post: Aber
  T23G won't donwload y000000000044.cfg from Provisioning Server rsardinha 3 5,752 04-12-2019 06:13 PM
Last Post: rsardinha

Forum Jump:


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

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