Appendix C. Asterisk Essential Commands

The following table shows the list of commands we can execute in Asterisk's Command Line Interface (CLI).

  • The easiest way to connect to Asterisk's CLI is by typing the command asterisk -r in the Linux command line console.
  • We can even execute Asterisk commands outside the CLI by typing asterisk -rx command, where command is the Asterisk command we want to execute.

The following table shows the most-used commands available in Asterisk's CLI. A complete list of commands can be seen by typing core show help in the CLI.

Command

Description

agent show

This shows the status of agents.

agent show online

This shows all online agents

agi set debug

This enables/disables AGI debugging.

agi show commands

This ...

Get Elastix Unified Communications Server Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.