[asterisk-dev] Re: [svn-commits] oej: trunk r54464 - in /trunk: include/asterisk/ main/

Russell Bryant russell at digium.com
Wed Feb 14 15:18:04 MST 2007


svn-commits at lists.digium.com wrote:
> Author: oej
> Date: Wed Feb 14 14:22:20 2007
> New Revision: 54464
> 
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=54464
> Log:
> New CLI command "Core show settings" to list some core settings
> 
> Modified:
>     trunk/include/asterisk/cdr.h
>     trunk/include/asterisk/config.h
>     trunk/include/asterisk/manager.h
>     trunk/main/asterisk.c
>     trunk/main/cdr.c
>     trunk/main/config.c
>     trunk/main/manager.c

> @@ -1545,6 +1605,10 @@
>  
>  	{ { "core", "show", "profile", NULL },
>  	handle_show_profile, "Display profiling info",
> +	NULL },
> +
> +	{ { "core", "show", "settings", NULL },
> +	handle_show_settings, "Show some core settings",
>  	NULL },

Just as a friendly reminder, we have a new way of creating CLI commands that is 
a lot nicer than the old method.  We really should be not adding new CLI 
commands that are in trunk only using the old method.

Search the tree for uses of "NEW_CLI" for examples on the new method of defining 
CLI commands.

-- 
Russell Bryant
Software Engineer
Digium, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: russell.vcf
Type: text/x-vcard
Size: 278 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20070214/1b4e4849/russell-0001.vcf


More information about the asterisk-dev mailing list