Show Menu
Cheatography

Asterisk CLI Cheat Sheet (DRAFT) by

The most common and essential commands for working with Asterisk

This is a draft cheat sheet. It is a work in progress and is not finished yet.

OPTIONS

-r
Attempt to connect to a running process.
-d
Enable extra debugging statem­ents.
-f
Do not fork or detach from contro­lling terminal.

DIRECT­ORIES

astetcdir
/etc/a­sterisk
astmoddir
/usr/l­ib/­ast­eri­sk/­modules
astdbdir
/var/l­ib/­ast­erisk
astdatadir
/var/l­ib/­ast­erisk
astspo­oldir
/var/s­poo­l/a­sterisk
astlogdir
/var/l­og/­ast­erisk
 

CORE

core show sysinfo
Show System Inform­ation
core show settings
Show some core settings
core show calls
Display inform­ation on calls
core show uptime
Show uptime inform­ation
core show channels
Display inform­ation on channels
core show threads
Show running threads
core show taskprocessors
List instan­tiated task processors
core reload
Global reload
core restart gracefully
Restart Asterisk gracefully