Thanks Danny, <br>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:<br>Zap/63-1 (None) Up Bridged Call(SIP/xxx)<br>
<br>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 ;<br><br>thanks<br><br><div class="gmail_quote">
On Mon, Aug 9, 2010 at 4:14 PM, Danny Nicholas <span dir="ltr"><<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<div>
<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Felipe Figueiredo<br>
<b><span style="font-weight: bold;">Subject:</span></b> [asterisk-users] check
channels</span></font></p>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p class="MsoNormal" style="margin-bottom: 12pt;"></p><div><div></div><div class="h5"><font color="navy" face="Times New Roman" size="3"><span style="font-size: 12pt; color: navy;">></span></font>Hi
guys, <br>
<font color="navy"><span style="color: navy;">></span></font>is there a way to
see how many channels of an specific tecnology are being used?<br>
<font color="navy"><span style="color: navy;">></span></font>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?<br>
<br>
<font color="navy"><span style="color: navy;">></span></font>Thanks!<br>
</div></div><font color="navy"><span style="color: navy;">/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.</span></font>
<p class="MsoNormal" style="margin-bottom: 12pt;"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">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.</span></font></p>
</div>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>