How to find out that how many times a dial-plan is used

I have dialplan set up for various numbers but i want to know or look at the counter about how many times a dialplan is used .
how to do that ? any suggestion

Can you please explain further?

I interpret your question as asking how many calls each incoming number (DID) received.

There are no counters for how many times a context,extension,priority is executed.

I would suggest attacking wherever you store your CDRs.

Using the asterisk database in the Dialplan, you could READ a key, increment the VALUE, store the KEY.
Then use an AMI or CLI to retrieve the value of the key.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.