Diff from version 1 to 3 (current)
@@ -1 +1,18 @@ |
+~pp~ | +Works with GXP1160 / GXP1165 / GXP2120 | +Might work with other Grandstream phones.... | | +Usage: | +#gsreboot {admin_password} {phone_IP} | + | +#cat /usr/local/bin/gsreboot | + | +#!/bin/bash | +sid=$(curl -s -c /tmp/cookies.txt -d"password=${1}" http://${2}/cgi-bin/dologin | sed -r 's|.*"sid" : "([0-9a-z]+)".*|\1|' ) | +curl -b /tmp/cookies.txt -d"request=REBOOT&sid=${sid}" http://${2}/cgi-bin/api-sys_operation | + | +~/pp~ | + | +!!!!See also | +*((Grandstream Configuration Tool)) | +*((Grandstream provisioning in asterisk)) |
|
|
User | Comment | Time | Version |
---|
admin | | 2014-03-28 17:30 | 3 |
admin | | 2014-03-28 17:30 | 2 |
laigor | | 2014-03-28 13:16 | 1 |