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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070312/90ab390a/attachment.htm
for i in `seq 100 150` ; do asterisk -rx "sip notify polycom-check-cfg $i" ; done Julian. On 3/12/07, Mike <list@virtutel.ca> 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 > >
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 >
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, > > MikeDepending 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
Apparently Analagous Threads
- Polycom IP 501 phone randomly resets itself (loses Received call log, Missed calls, placed calls)
- Polycom 501 Phones Rebooting
- OT - How to configure Apache2 server to receive Polycom log files ?
- Rebooting all Aastra phones
- Rebooting Polycom's - Could not create address for 'XXXX'