Asterisk call counting

Hi there,

I want to know is there any possibility to monitor from asterisk CLI
that how many call currently in established form. what will be the command for this?
Thanks in advance.

Mushfiq

Hi
Using show channles you can possibly count calls
if you find 2 channels it means 1 call is going on.

Amit

2 channels can also mean that there are two calls being established but none are established.

It could also mean that there are two calls established to voice mailboxes, depending on the exact meaning of established.

well david is right . show channels only show active channels which means even if i dial access no i occupied a channel it does not mean
i have successfully connected with the other party but any way i got my answer.
thanks very much amit and david both of you.