<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <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><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;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>
<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.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;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.<o:p></o:p></span></font></p>
</div>
</body>
</html>