[asterisk-dev] mvanbaak: trunk r156120 - in /trunk: ./ channels/ configs/ funcs/ include/ast...
russell at digium.com
Wed Nov 12 08:20:19 CST 2008
> On Nov 12, 2008, at 12:46 AM, SVN commits to the Digium repositories
> Author: mvanbaak
> Date: Wed Nov 12 00:46:04 2008
> New Revision: 156120
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=156120
> This commit does two things:
> - Add CLI aliases module to asterisk.
> - Remove all deprecated CLI commands from the code
> Initial work done by file.
> Junk-Y and lmadsen did a lot of work and testing to
> get the list of deprecated commands into the configuration file.
> Deprecated CLI commands are now handled by this new module,
> see cli_aliases.conf for more info about that.
> ok russellb@ via reviewboard
> (closes issue #13735)
> Reported by: mvanbaak
> Modified: trunk/CHANGES
> URL: http://svn.digium.com/view/asterisk/trunk/CHANGES?view=diff&rev=156120&r1=156119&r2=156120
> --- trunk/CHANGES (original)
> +++ trunk/CHANGES Wed Nov 12 00:46:04 2008
> @@ -58,6 +58,8 @@
> same => n,SomethingElse()
> * musiconhold.conf classes of type 'files' can now use relative
> directory paths,
> which are interpreted as relative to the astvarlibdir setting in
> + * All deprecated CLI commands are removed from the sourcecode.
> They are now handled
> + by the new clialiases module. See cli_aliases.conf.sample file.
I don't think this CHANGES entry gives the new functionality enough
I would also add that this new module gives you the ability to create
sets of custom command aliases. Common usage of this will likely be
creating short forms of common commands ("sh ch" for "core show
channels), and compatibility with CLI syntax from previous versions of
More information about the asterisk-dev