Skip to main content

Endgeräte Übersicht/Neustart

Beschreibung

LocaPhone-Scripte zur Darstellung aller am System provisionierten Endgeräte, und zum gezielten Neustarten von einzelnen/allen Endgeräten.


LocaPhone Version

RELEASE 5 RELEASE 4 RELEASE 3 RELEASE 2


Übersicht aller provisionierten Endgeräte

Script liest Provisionierung des LocaPhone-Systems.

loca@voip:~$

BASH
/opt/locaphone/scripts/gs-phones-get


Reboot Endgerät anhand User, Extension, IP, MAC

Script prüft Provisionierung und startet Endgerät neu (anhand User, Extension, IP oder alle).

loca@voip:~$

BASH
/opt/locaphone/scripts/gs-prov-phone-checkcfg

Reboots a phone by user code, extension, IP addr. or all phones
Usage: gs-prov-phone-checkcfg ( --user=<usercode> | --ext=<extension> | --ip=<ip_addr> | --all=yes )


Übersicht aller am Asterisk registrierten Devices/SIP User Agents.

devices.sh

BASH
#! /bin/bash
asterisk -x 'sip show peers' | cut -f1 -d/ | awk '{ print $1}' |
while read PEER
do
rasterisk -x "sip show peer ${PEER} " | grep -P "(Callerid|Useragent|Reg. Contact)"
echo "-----------------------------------------------------------------"
done


Reboot aller Snom-Endgeräte

gs-snom-reboot

BASH
#! /bin/bash
rasterisk -x 'sip show peers' | cut -f1 -d/ | awk '{ print $1}' |
while read PEER
do
rasterisk -x "sip notify snom-reboot ${PEER} "
done


SIP-Notify an alle Snom-Endgeräte

gs-sip-notify

BASH
#! /bin/bash
rasterisk -x 'sip show peers' | cut -f1 -d/ | awk '{ print $1}' |
while read PEER
do
rasterisk -x "sip notify snom-check-cfg ${PEER} "
done
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.