Jump to content

Factory Reset all the Yealinks


DinkyDonkey

Recommended Posts

We have a client with 200 Yealink phones and a good reason to factory reset all of them. This can be a bit tedious so we decided to make this a bit easier with a Python tool.

Currently it will work by running the code against a csv file with ipv4 addresses, and credentials if different from defaults. It will try both http on 80 and https on 443 and then write out a new csv with the devices, their MAC, model, firmware, connection status (if http or https were non responsive) and then the result of the command (reboot or factory reset).

We thought about having the option to feed a sheet of MAC addresses and if you're on the same network it will discover the IP addresses, however for now we'll just provide a command that you can run to get IPs from MACs instead.

We'd like to share this with everyone so we're cleaning it up and wanted to ask for feedback in the case it changes any design decisions.

Edited by DinkyDonkey (see edit history)
Link to comment
Share on other sites

  • 3 months later...
On 9/5/2018 at 5:03 PM, DinkyDonkey said:

We have a client with 200 Yealink phones and a good reason to factory reset all of them. This can be a bit tedious so we decided to make this a bit easier with a Python tool.

Currently it will work by running the code against a csv file with ipv4 addresses, and credentials if different from defaults. It will try both http on 80 and https on 443 and then write out a new csv with the devices, their MAC, model, firmware, connection status (if http or https were non responsive) and then the result of the command (reboot or factory reset).

We thought about having the option to feed a sheet of MAC addresses and if you're on the same network it will discover the IP addresses, however for now we'll just provide a command that you can run to get IPs from MACs instead.

We'd like to share this with everyone so we're cleaning it up and wanted to ask for feedback in the case it changes any design decisions.

That's seems like a super tool! @DinkyDonkey Practicle also, when taking over a site that already has phones and service with another provider. 

Between that, and allowing for RPS, directly from Advanced Provisioner, that makes it super easy to take over a site! 

esoare

p.s. Update us when the cleanup has happened, at your convenience. :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...