Hi Dean -
I actually just use the SIP notify command on the Asterisk console to remotely reboot my Polycom phones. It requires a pre-configured sip_notify.conf file and the Polycom option to reboot on config check. You can then call it from a script using:
To concur with Avi, I used the script for quite a while, but found situations where it just wouldn't reboot certain phones. I never really bothered to troubleshoot why. Instead, I switched to the sip notify method instead and it has always worked so far. Note, though, that there's a setting in sip.cfg where you can have it only reboot on a notify if the config files have changed (this is the default setting). If you prefer to always have the phone reboot when you issue a sip notify, you can change the following line: <specialEvent ... voIpProt.SIP.specialEvent.checkSync.alwaysReboot="1"> - Noah On 10/8/06, Avi Miller <[EMAIL PROTECTED]> wrote:
On 09/10/2006, at 12:12 PM, Dean Collins wrote: > can anyone give me an idea on how this reboot script works? I actually just use the SIP notify command on the Asterisk console to remotely reboot my Polycom phones. It requires a pre-configured sip_notify.conf file and the Polycom option to reboot on config check. You can then call it from a script using: # asterisk -rx "sip notify polycom-reboot 400" (Where 400 is the SIP ID of the phone). I'm interstate at the moment, but if you send me an email, I can lookup the settings when I'm back on Wednesday. Ta, Avi -- National Manager - Special Projects < Sydney / Melbourne / Canberra / Hobart / London /> 2/340 Gore Street T: +61 (0) 3 9235 5400 Fitzroy, VIC F: +61 (0) 3 9235 5444 3065 W: http://www.squiz.net ..... > > Open Source - Own It - Squiz.net ...... /> _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users