Asterisk/CLI

From Wiki

Connect to Asterisk CLI:

asterisk -vvvcr
core show help
core reload
core restart (now|gracefully|when convenient)
core set verbose ?
core set debug ?
core show hints

devstate list
devstate change ???

SIP commands:

sip show peers
sip show registry
sip set debug on
sip set debug peer ??exten??
sip reload
sip show settings

Special commands:

sip notify snom-reboot ??exten??

from Shell:

asterisk -rx "??command??"
asterisk -rx "devstate change Custom:AB-buerozeiten INUSE"