[asterisk-dev] [Code Review] Introduce CLI aliases and remove deprecated CLI commands because we now have aliases for them

Michiel van Baak michiel at vanbaak.info
Tue Nov 11 15:09:00 CST 2008


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/32/
-----------------------------------------------------------

(Updated 2008-11-11 15:09:00.897471)


Review request for Asterisk Developers.


Changes
-------

Oops, last patch lacked the actual module.
New patch with the .c and .conf.sample file.
I also took care of the comments russell posted.


Summary
-------

This patch introduces cli aliases.
The config file holds a bunch of aliases for the deprecated commands in trunk so I could remove them from the code.


Diffs (updated)
-----

  trunk/channels/chan_mgcp.c 156009 
  trunk/channels/chan_sip.c 156009 
  trunk/channels/chan_skinny.c 156009 
  trunk/configs/cli_aliases.conf.sample PRE-CREATION 
  trunk/funcs/func_devstate.c 156009 
  trunk/include/asterisk/cli.h 156009 
  trunk/main/asterisk.c 156009 
  trunk/main/cdr.c 156009 
  trunk/main/cli.c 156009 
  trunk/main/pbx.c 156009 
  trunk/main/rtp.c 156009 
  trunk/main/udptl.c 156009 
  trunk/pbx/pbx_ael.c 156009 
  trunk/pbx/pbx_dundi.c 156009 
  trunk/res/res_agi.c 156009 
  trunk/res/res_clialiases.c PRE-CREATION 
  trunk/res/res_jabber.c 156009 

Diff: http://reviewboard.digium.com/r/32/diff


Testing
-------

compiles, installs and runs fine on my development laptop running OpenBSD 4.4


Thanks,

Michiel




More information about the asterisk-dev mailing list