Switchvox: Reboot Polycom phone remotely
We’re implementing a new VOIP phone system at work based upon the Open Source Asterisk PBX. We decided to go with Switchvox purely for it’s easyness of configuration. This was a main concern for us, especially in event that I decide to play under a bus one day!
The only downside is that we’re coming from a pure Asterisk solution, which we’ve been experimenting with for over a year, and it’s hard to go to a one solution fits all build and the doors to freedom of experimentation has been reduced to a minimum. But then you have to think about the stability of your phone system, and how experimenting with a new piece of code might cause havock with your live phone setup, which in a business world you don’t want to happen. But at least we can run a pure Asterisk solution along side our Switchvox server.
Anyway – the reason for this post is that I’ve found a way to reboot Polycom phones while not having access to the Asterisk CLI. Thanks to voip-info.org for getting me started and letting me use an already built script to do this. However this script assumes that you have access to the Asterisk CLI! So I reworked it and came up with a solution which uses your provisioning files and the ARP MAC / IP information. It works a treat (as long as you execute it from a provisioning server – which is not your Switchvox server).
You can view the code by clicking here.
Please feel free to try the code, your feedback is greatly appreciated.