[Home]

Summary:ASTERISK-02915: [patch] Add counters in the show dialplan
Reporter:Clod Patry (junky)Labels:
Date Opened:2004-12-01 21:36:00.000-0600Date Closed:2008-01-15 15:16:14.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) count_dialplan.diff.txt
Description:This patch prints the counters for:
1- number of extensions
2- number of priorities
3- number of contexts
in the global dialplan.

It works for general dialplan or for more specific queries (by context or by extension)

If you want the number of extensions of a specific context, just do: show dialplan <context>
At the end you will see something like:
   -= 2 extensions (4 priorities) through 1 contexts. =-

And finally, if you want to know the number of priorities for a specific extension, you could do:
show dialplan <exten>@<context> which will print something like:
   -= 1 extensions (3 priorities) through 1 contexts. =-


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

Disclaimer on file
Comments:By: Clod Patry (junky) 2004-12-01 22:00:02.000-0600

drumkilla: if you could test it for 1.0.2, that would be cool.

By: Russell Bryant (russell) 2004-12-02 08:30:19.000-0600

Since this is a new feature, it won't be included in the 1.0 branch.  Sorry!

By: Clod Patry (junky) 2004-12-02 09:39:12.000-0600

can ya just confirm me that's work on stable version?

I'm not asking to include that in 1.0 branch, it need more tests. I perfectly agree with you.

By: Clod Patry (junky) 2004-12-06 20:22:26.000-0600

Just tried that version:
CVS-v1-0-11/22/04-09:57:18
and everything seems as the same behavior.

p.s. The "include" is not counted in that patch, if you want it, just ask. But i think that is not a must.

By: Russell Bryant (russell) 2004-12-10 22:11:05.000-0600

added to CVS HEAD

Thanks!

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

Repository: asterisk
Revision: 4422

U   trunk/pbx.c

------------------------------------------------------------------------
r4422 | russell | 2008-01-15 15:16:13 -0600 (Tue, 15 Jan 2008) | 2 lines

Show some counters with 'show dialplan' (bug ASTERISK-2915)

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

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