Summary: | ASTERISK-18268: Improve Menuselect and Asterisk CLI for Module Support Status and CLI | ||
Reporter: | Malcolm Davenport (mdavenport) | Labels: | |
Date Opened: | 2011-08-12 13:32:30 | Date Closed: | 2011-11-03 15:45:39 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Documentation |
Versions: | 10 1.8.5.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | With the changes to include module support levels, we can provide further improvements in the visibility of the support level by providing headers in the menuselect structure. Presently, the modules are sorted alphabetically without respect to support level. Let's change this, so we end up with a structure like: {noformat} Resource Modules ----Core---- [*] res_awesome [*] res_jabber ----Extended---- [*] res_bob [*] res_random ----Deprecated---- [*] res_oldway {noformat} .. Part two then is to improve the output of "module show" from the Asterisk CLI. At present, it's like: {noformat} Module Description Use Count app_adsiprog.so Asterisk ADSI Programming Application 0 app_alarmreceiver.so Alarm Receiver for Asterisk 0 app_amd.so Answering Machine Detection Application 0 app_authenticate.so Authentication Application 0 {noformat} Let's change it to: {noformat} Module Description Use Count ----Core---- app_adsiprog.so Asterisk ADSI Programming Application 0 app_alarmreceiver.so Alarm Receiver for Asterisk 0 ----Extended---- app_amd.so Answering Machine Detection Application 0 ----Deprecated---- app_authenticate.so Authentication Application 0 {noformat} | ||
Comments: | By: Malcolm Davenport (mdavenport) 2011-08-12 13:33:39.620-0500 update w/ confluence wiki noformat tags so stuff looks right By: Kevin P. Fleming (kpfleming) 2011-08-12 15:42:53.071-0500 Yes, I like this approach. By: Jonathan Rose (jrose) 2011-10-19 09:17:11.961-0500 Well, the menuselect additions are finished, but I don't think there is currently a particularly easy way to bring module support status into the cli module show command on account of the module structure not actually containing any support level variable. Adding that in will require parsing the MODULEINFO documentation again (or figuring out how to build that into the module somehow?) and I think discussing the specifics of that should be done before trying to solve that part of this issue. By: Michael Spiceland (mspiceland) 2011-11-03 15:45:39.446-0500 The CLI portion was not done as it is out of scope compared to the rest of the work. Please create a new task if you really would like to have it done. |