[Home]

Summary:ASTERISK-15760: cli help for alias doesnt do anything sensible
Reporter:jw-asterisk (jw-asterisk)Labels:
Date Opened:2010-03-06 21:42:03.000-0600Date Closed:2011-07-26 15:28:56
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:While using command cli (aka cli, asterisk -r) the simple command "help reload" doesnt produce anything useful.  It simply outputs "Alaised CLI Command" then fails to reissue the prompt.


****** ADDITIONAL INFORMATION ******

Why do I see just "Addons-1.6.2.0" in this forms "Product Version" box.  What is Addons?  And why aren't there any other choices?  This is a bug report of asterisk, and there is an "Asterisk Version" box.  What gives?

And why isn't there an asterisk-1.6.2.1 choice in "Asterisk Version"?
Comments:By: Leif Madsen (lmadsen) 2010-03-08 10:00:26.000-0600

Thank you for the issue report. A developer will review as soon as time and resources allow.

As for the product version -- you don't see the information there because we don't use that field. It has not yet been removed or disabled as that requires code changes, and we're waiting for the latest Mantis to be released prior to upgrading and applying our custom changes.

As for the asterisk version -- you don't see 1.6.2.1 because 1.6.2.5 is the latest Asterisk release version, and 1.6.2.6-rc2 is the latest release candidate. You will see an option entitled "Older 1.6.2 -- please use a newer version" which indicates you should be attempting to reproduce and file issues against the latest released version.

We have several projects hosted on this Mantis instance such as DAHDI, libpri, etc... which is why there is a specific Asterisk Version field as you have seen.  We didn't write the tools, we're just using them to the best of our abilities.

By: Digium Subversion (svnbot) 2010-03-16 14:36:25

Repository: asterisk
Revision: 252848

U   trunk/res/res_clialiases.c

------------------------------------------------------------------------
r252848 | seanbright | 2010-03-16 14:36:24 -0500 (Tue, 16 Mar 2010) | 10 lines

Include an extra newline after "Aliased CLI command" to get back the prompt.

The other issue mentioned in this bug will be more difficult to resolve since we
have no idea (right now) of knowing if the command that is aliased has been
installed yet.

(issue ASTERISK-15760)
Reported by: jw-asterisk
Tested by: seanbright

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=252848

By: Digium Subversion (svnbot) 2010-03-16 14:38:40

Repository: asterisk
Revision: 252850

_U  branches/1.6.2/
U   branches/1.6.2/res/res_clialiases.c

------------------------------------------------------------------------
r252850 | seanbright | 2010-03-16 14:38:39 -0500 (Tue, 16 Mar 2010) | 17 lines

Merged revisions 252848 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r252848 | seanbright | 2010-03-16 15:36:24 -0400 (Tue, 16 Mar 2010) | 10 lines
 
 Include an extra newline after "Aliased CLI command" to get back the prompt.
 
 The other issue mentioned in this bug will be more difficult to resolve since we
 have no idea (right now) of knowing if the command that is aliased has been
 installed yet.
 
 (issue ASTERISK-15760)
 Reported by: jw-asterisk
 Tested by: seanbright
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=252850

By: Clod Patry (junky) 2010-06-13 00:43:18

I think we can close this one, since latest versions are in the drop-down menu.

The best option should be the version drop-down to be dynamic and the release script add an entry when a new version comes out.