Re: [asterisk-users] Rebooting ALL polycom phones
for i in `seq 100 150` ; do asterisk -rx sip notify polycom-check-cfg $i ; done Julian. On 3/12/07, Mike [EMAIL PROTECTED] wrote: Hi, I know that if you have Polycom phones properly configured, you can use sip notify polycom-check-cfg SIP_REGISTRATION_ID to have the phones download the new configuration from the provisioning server and reboot. Is there anyway to send the same command to all peers (let's say I had 50 polycom phones that I wanted to reboot)? Thanks, Mike ___ --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
Re: [asterisk-users] Rebooting ALL polycom phones
Best way I found to do this I wrote a quick bash script that takes an ip address and runs that command. Then if your phones are in an ip range, you can say something like for i in `seq 194 197`; do /usr/sbin/sipReboot 192.168.101.$i; done That will reboot 192.168.194 thru 197. Rob Mike wrote: Hi, I know that if you have Polycom phones properly configured, you can use sip notify polycom-check-cfg SIP_REGISTRATION_ID to have the phones download the new configuration from the provisioning server and reboot. Is there anyway to send the same command to all peers (let's say I had 50 polycom phones that I wanted to reboot)? Thanks, Mike ___ --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
Re: [asterisk-users] Rebooting ALL polycom phones
Mike wrote: Hi, I know that if you have Polycom phones properly configured, you can use sip notify polycom-check-cfg SIP_REGISTRATION_ID to have the phones download the new configuration from the provisioning server and reboot. Is there anyway to send the same command to all peers (let's say I had 50 polycom phones that I wanted to reboot)? Thanks, Mike Depending on whether you need them to reboot soon rather than *now* you can set prov.polling.enabled=1 in sip.cfg. I have all my phones check for configuration updates at 3:00am every day. If there are changes then the phone reboots automatically to get the updated configuration. I make the changes on the server, reboot my phone to test it and by the next morning the rest of the phones will be up to date. -Dave ___ --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
RE: [asterisk-users] Rebooting ALL polycom phones
Thanks Dave, good info! And thanks to those who confirmed I needed to write a script because there were no built in functions, I appreciate that info too. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Fullerton Sent: Monday, March 12, 2007 10:26 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Rebooting ALL polycom phones Mike wrote: Hi, I know that if you have Polycom phones properly configured, you can use sip notify polycom-check-cfg SIP_REGISTRATION_ID to have the phones download the new configuration from the provisioning server and reboot. Is there anyway to send the same command to all peers (let's say I had 50 polycom phones that I wanted to reboot)? Thanks, Mike Depending on whether you need them to reboot soon rather than *now* you can set prov.polling.enabled=1 in sip.cfg. I have all my phones check for configuration updates at 3:00am every day. If there are changes then the phone reboots automatically to get the updated configuration. I make the changes on the server, reboot my phone to test it and by the next morning the rest of the phones will be up to date. -Dave ___ --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