[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.

Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automated mass T46 backup system
Author Message
jolouis Offline

Posts: 339
Joined: Oct 2013
Reputation: 6
Post: #8
RE: Automated mass T46 backup system
(06-09-2017 04:31 PM)mivk Wrote:  The web interface lets me download the settings, but I cannot script this because the login is some custom javascript thing, not a standard web login. So I was not able to use wget or curl to automate downloading the configs.

Not saying this is the proper way to do it, but you can definitely use cURL to login to the phone and issue commands. The trick is you need to setup cURL to have a local cookiejar and to store incoming cookies/send cookies with each request.

Issuing a command to the phone is then a simple two step process:
a) Send a POST to the login page with the credentials
b) If successful you will get an auth cookie set and returned.
c) Send a POST to the actual page/interface you want to trigger. If you have done it properly, cURL will send the previous auth cookie along with the request and the phone will do what you ask.
06-12-2017 02:06 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Automated mass T46 backup system - jolouis - 06-12-2017 02:06 PM
RE: Automated mass T46 backup system - CWR - 06-12-2017, 09:35 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Mass Factory Reset stratos 3 5,763 05-16-2019 03:09 PM
Last Post: jolouis
Exclamation Local Contacts Backup Not Working Garan 1 4,920 08-28-2017 04:25 PM
Last Post: complex1
  Backup outbound proxy server don`t work for T4x,T2x tommy 1 4,793 06-02-2016 05:11 AM
Last Post: Yealink_Michael
  Mass deletion Dan Steely 8 11,904 01-19-2016 05:49 AM
Last Post: Karl_Yealink
  BLF Backup Server T46G jrosaso 2 5,859 06-13-2015 02:23 AM
Last Post: jrosaso
  Mass config change with hosted VOIP provider charper 3 11,110 04-07-2015 08:50 PM
Last Post: Yealink_Peter

Forum Jump:

User(s) browsing this thread:

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