December 2009
Beginner
840 pages
14h 21m
English
One of Asterisk’s biggest advantages is the ability it gives the administrator to control it from the shell or through external applications.
The simplest way to control Asterisk from an external shell or application is to issue the command asterisk with the option -rx followed by the CLI command. Any CLI command may be entered from the system shell in this fashion.
Say you want to see the dialplan for extension 23 in the context [my-phones]; you would do this with asterisk -rx "dialplan show 23@my-phones” entered in the shell:

Call files are like a shell script for ...
Read now
Unlock full access