[asterisk-users] check channels

Felipe Figueiredo felipe.figueiredo86 at gmail.com
Mon Aug 9 14:21:31 CDT 2010

Thanks Danny,
but the system won't know exactly how many channels are being used right? if
I use the asterisk -rx cmd, this is the result:
Zap/63-1             (None)               Up      Bridged Call(SIP/xxx)

It won't show how many zap channels are busy ..... I need to count the busy
channels, and with the count results, dial to an exten and tell how many
channels are busy ;


On Mon, Aug 9, 2010 at 4:14 PM, Danny Nicholas <danny at debsinc.com> wrote:

>   *From:* asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at lists.digium.com] *On Behalf Of *Felipe Figueiredo
> *Subject:* [asterisk-users] check channels
> >Hi guys,
> >is there a way to see how many channels of an specific tecnology are
> being used?
> >Like, i have a zap card, e1 (30 channels), and there are 10 channels
> being used at this moment. When the E1 reaches 15 busy channels I need to
> receive a call or something like this, telling me that 15 of 30 channels are
> busy. How can I do this?
> >Thanks!
> /usr/sbin/asterisk –rx “core show channels”|grep Zap will show you how many
> Zap channels are open at any moment.  You can grep for SIP, Zap or DAHDI (or
> IAX) depending on your release/technology.
> To do this as you specified, you would record a message (say busy15.gsm)
> and set up a call file to call yourself and play the busy15 message.  I used
> to have my Asterisk call me whenever it restarted this way.
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100809/1863a8dc/attachment.htm 

More information about the asterisk-users mailing list