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.

loca@voip:~$

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


Reboot aller Snom-Endgeräte

loca@voip:~$

CODE
#! /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

loca@voip:~$

CODE
#! /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.