Improved documentation of CLI "dialplan add extension" command.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 6 Feb 2012 23:15:33 +0000 (23:15 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 6 Feb 2012 23:15:33 +0000 (23:15 +0000)
commit84642c728fe3f2b3e3a881892e2a7eb3f8c608b9
tree3d90f2b142539f1485440bb66fb86be1f5158e15
parenta4f5d2c2ef97a354e327c2493b4b70accd17163d
Improved documentation of CLI "dialplan add extension" command.

* Documented dialplan add extension <exten>,<priority>,<app(<app-data>)>
format.

* Allow acceptance of command without the app-data value.  There are many
applications that do no need any parameters so it is silly to require that
field for all commands.

* Fixed a couple ast_malloc/ast_free mismatches with ast_add_extension2()
calls.

(closes issue ASTERISK-19222)
Reported by: Andrey Solovyev
Tested by: rmudgett
........

Merged revisions 354216 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 354217 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
pbx/pbx_config.c