Answer the question
In order to leave comments, you need to log in
How to remotely reboot all/multiple Grandstream and Cisco phones?
There are about 50 Grandstream and Cisco IP phones, and each time you change the time zone, you have to reboot them individually.
How can this process be automated? Please tell me the command or script for this task.
thanks for the help
Answer the question
In order to leave comments, you need to log in
In general, I solved the problem in this way: I
wrote a script that searches for phone types and reboots them
- For Cisco http://<phone address>/admin/reboot (thanks Rsa97 )
In the script, we read the phone list, find out the IP and substitute it in the right place:
while read TYPE MAC IP EXT IGNORE; do
echo "$TYPE, $MAC, $IP, $EXT, $IGNORE"
if [ "$TYPE" == "SPA303" ]; then
echo "Processing $IP - $EXT"
curl -s "http://$IP/admin/reboot" > /dev/null
sleep 1
fi
done
http://XX.XX.XX.XXX/cgi-bin/api-sys_operation?request=REBOOT&sid=9c1543c2a95
Isn't it easier to set up an automatic belt change once in phones?
And so Cisco SPA is rebooted by a request to http://<phone address>/admin/reboot
Grandstream - http://<phone address>/rs.htm
Only pre-authorization on the phone may be required
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question