[asterisk-bugs] [Asterisk 0013970]: CLI command "help sip set history {on|off}" shows deprectated usage in help text

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 25 14:26:54 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13970 
====================================================================== 
Reported By:                pkempgen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13970
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1-beta1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-25 14:13 CST
Last Modified:              2008-11-25 14:26 CST
====================================================================== 
Summary:                    CLI command "help sip set history {on|off}" shows
deprectated usage in help text
Description: 
Not sure if the category should be Channels/chan_sip or Documentation.

$ asterisk -rx 'help sip set history on'
Usage: sip history {on|off}
...

but 'sip history [off]' is deprectated.

Expected output for 'help sip set history {on|off}':
Usage: sip *set* history {on|off}
...

Expected output for 'help sip history':
...
'sip history [off]' is DEPRECATED. Please use 'sip set history {on|off}'.

====================================================================== 

---------------------------------------------------------------------- 
 (0095498) pkempgen (reporter) - 2008-11-25 14:26
 http://bugs.digium.com/view.php?id=13970#c95498 
---------------------------------------------------------------------- 
> In addition to that "sip history" doesn't show up in the
> list of commands ("help sip").
> That is kind of unexpected because deprecated applications, functions,
...
> used to show up.

Forget about that comment.
For whatever reason there is a difference between applications/functions
and CLI commands. E.g. "reload" didn't show up in 1.4 even though it was
still supported. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-25 14:26 pkempgen       Note Added: 0095498                          
======================================================================




More information about the asterisk-bugs mailing list