]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Improved documentation of CLI "dialplan add extension" command.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 6 Feb 2012 22:58:34 +0000 (22:58 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 6 Feb 2012 22:58:34 +0000 (22:58 +0000)
commit2997c5c8c60affd592e9b8f7e03b39d0d16f789c
tree38b24dba55f8637c7c0257cb3d465e4f3601954f
parent294793a8223aff09ffe9e1cdbd51a415ad475e23
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

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