[asterisk-bugs] [Asterisk 0010724]: [patch] use NEW_CLI for CLI commands.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Sep 20 07:49:58 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10724 
====================================================================== 
Reported By:                eliel
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10724
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 82401 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-14-2007 16:02 CDT
Last Modified:              09-20-2007 07:49 CDT
====================================================================== 
Summary:                    [patch] use NEW_CLI for CLI commands.
Description: 
Changed 'feature show' to 'features show' because it superposes with
'feature show channels' from chan_features (and has nothing to do with that
and res_features is called featureSS so put an S on the CLI command too)
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0010732 Russell Janitor Project - NEW_CLI chang...
====================================================================== 

---------------------------------------------------------------------- 
 eliel - 09-20-07 07:49  
---------------------------------------------------------------------- 
#define RESULT_SUCCESS          0
#define RESULT_SHOWUSAGE        1
#define RESULT_FAILURE          2
#define CLI_SUCCESS     (char *)RESULT_SUCCESS
#define CLI_SHOWUSAGE   (char *)RESULT_SHOWUSAGE
#define CLI_FAILURE     (char *)RESULT_FAILURE
----------------
I did what I though was the way we change less code, I could find another
solution if you don't like the 'cast' way. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-20-07 07:49  eliel          Note Added: 0070829                          
======================================================================




More information about the asterisk-bugs mailing list