add
The add
command contains many
subcommands that allow you to add functionality to your Asterisk PBX
without directly editing the configuration files.
When you add a new line to the dialplan your changes immediately
become active, but changes made to the dialplan from the command line
are not permanent until you save them (see save dialplan
). All comments are stripped from the extensions.conf file upon a save dialplan
. The add
commands are useful for making temporary
changes and for ad hoc testing, but we recommend that permanent changes
to the dialplan be made directly to extensions.conf
in /etc/asterisk/.
Get Asterisk: The Future of Telephony 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.