Summary:ASTERISK-02909: [patch] print the number of applications registered
Reporter:Clod Patry (junky)Labels:
Date Opened:2004-11-30 20:18:42.000-0600Date Closed:2008-01-15 15:15:19.000-0600
Versions:Frequency of
Environment:Attachments:( 0) count_apps.difff.txt
Description:When you do show applications, we see all the list of applications registered. That patch computes the number of applications registered and print it at the end of the list.
*CLI> show applications
   -= Registered Asterisk Applications =-
      AbsoluteTimeout: Set absolute maximum time of call
       AddQueueMember: Dynamically adds queue members
              ZapScan: Scan Zap channels to monitor calls
   -= 139 Applications Registered =-
It also affects the like/describing
*CLI> show applications describing sox
   -= Matching Asterisk Applications =-
              Monitor: Monitor a channel
                  Sox: Use Sox to stream a file to a channel
   -= 2 Applications Matching =-
*CLI> show applications like sox
   -= Matching Asterisk Applications =-
                  Sox: Use Sox to stream a file to a channel
   -= 1 Applications Matching =-

That could be useful for future studies related to benchmarking and/or corrolation to the numbers of applications registered.


Disclaimer on file.
Comments:By: Mark Spencer (markster) 2004-11-30 20:29:29.000-0600

Added to CVS, thanks.

By: Russell Bryant (russell) 2004-12-02 18:54:35.000-0600

not in 1.0

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

Repository: asterisk
Revision: 4361

U   trunk/pbx.c

r4361 | markster | 2008-01-15 15:15:19 -0600 (Tue, 15 Jan 2008) | 2 lines

Print number of applications (bug ASTERISK-2909)