Automatically reboot multiple Cisco 79xx phones

We’re upgrading our Asterisk PABX at the office soon, as as part of the preparation, I needed a way to automatically reboot about 20 Cisco 79xx IP phones.

I found a reference to a ‘reboot.pl’ script at http://www.voip-info.org/wiki/view/Asterisk+phone+cisco+79xx, but the link is dead.

Thanks to the excellent Resurrect Pages Firefox plugin, I found an old copy of the script from 2012. For posterity, I’ve archived it at Github. YMMV.