[Home]

Summary:ASTERISK-02598: [patch] show module like <keyword>
Reporter:Clod Patry (junky)Labels:
Date Opened:2004-10-13 19:50:27Date Closed:2008-01-15 15:10:20.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) like.diff.txt
Description:This patch adds the possibility to do clause on "show modules" command.
It's almost the same behavior as the show applications like <keyword> done by Corydon a few weeks ago.


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

This is some examples of use:
*CLI> show modules like sox
Module                    Description                              Use Count
app_sox.so                Use Sox to stream a file to a channel    0
1 modules loaded
*CLI> show modules like codec
Module                    Description                              Use Count
codec_ilbc.so             iLBC/PCM16 (signed linear) Codec Transla 0
codec_gsm.so              GSM/PCM16 (signed linear) Codec Translat 0
codec_lpc10.so            LPC10 2.4kbps (signed linear) Voice Code 0
codec_adpcm.so            Adaptive Differential PCM Coder/Decoder  0
codec_ulaw.so             Mu-law Coder/Decoder                     0
codec_alaw.so             A-law Coder/Decoder                      0
codec_a_mu.so             A-law and Mulaw direct Coder/Decoder     0
codec_g726.so             ITU G.726-32kbps G726 Transcoder         0
codec_speex.so            Speex/PCM16 (signed linear) Codec Transl 0
9 modules loaded
*CLI>

and this is not change the old "show modules" command.
example:
*CLI> show modules
[...]
app_sendemail.so          Email notification                       0
app_forkcdr.so            Fork The CDR into 2 seperate entities.   0
app_realtime.so           Realtime Data Lookup/Rewrite             0
114 modules loaded
*CLI>
Comments:By: Clod Patry (junky) 2004-10-13 20:58:13

i forgot to say that the disclaimer is on file.

By: Mark Spencer (markster) 2004-10-14 00:38:11

Added to CVS, thanks!

By: Russell Bryant (russell) 2004-10-14 18:52:27

not included in 1.0 - new feature

By: Digium Subversion (svnbot) 2008-01-15 15:10:20.000-0600

Repository: asterisk
Revision: 3996

U   trunk/cli.c
U   trunk/include/asterisk/module.h
U   trunk/loader.c

------------------------------------------------------------------------
r3996 | markster | 2008-01-15 15:10:20 -0600 (Tue, 15 Jan 2008) | 2 lines

Add option for "show modules like" (bug ASTERISK-2598)

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

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