asterisk -rx 'core show channels' | grep DAHDI | sort -n
Channels with a value of 1-23 are on your primary DS1, channels with a value of
25-47 are on your second DS1.
Tim Nelson
Systems/Network Support
Rockbochs Inc.
(218)727-4332 x105
----- "Mike" <list at virtutel.ca> wrote:
>
>
Hi,
I have just recently been using DAHDI, and I wanted to know how to monitor
capacity.
Let's say I have two DS1 (23 channels) coming in, one for Florida (let's
say) and one for New York. How can I get a reading of how many channels of each
T1 port is being used at any given moment? Ideally, have two values, one for
each T1.
dahdi show channels doesn't show outgoing calls. Is there another command I
am not aware of?
Mike
> _______________________________________________ -- Bandwidth and Colocation
Provided by http://www.api-digital.com -- asterisk-users mailing list To
UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--Boundary_(ID_d6JueyQI5myaPhY1J3TpEA)
Content-type: text/html; charset=UTF-8
Content-transfer-encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:w=3D"urn:schemas-microsoft-com:office:word"
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html;
charset=3Dutf-8">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@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:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><span style=3D'color:#1F497D'>Thanks
Tim and Danny.=C2=A0 It seems
a more direct way should be there, but that`ll
work.<o:p></o:p></span></p>
<p class=3DMsoNormal><span
style=3D'color:#1F497D'><o:p> </o:p></span></p>
<p class=3DMsoNormal><span
style=3D'color:#1F497D'>Regards,<o:p></o:p></span></p>
<p class=3DMsoNormal><span
style=3D'color:#1F497D'><o:p> </o:p></span></p>
<p class=3DMsoNormal><span
style=3D'color:#1F497D'>Mike<o:p></o:p></span></p>
<p class=3DMsoNormal><span
style=3D'color:#1F497D'><o:p> </o:p></span></p>
<div style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in
0in 4.0pt'>
<div>
<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt
0in 0in 0in'>
<p class=3DMsoNormal><b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] <b>On Behalf Of
</b>Tim Nelson<br>
<b>Sent:</b> Tuesday, December 08, 2009 16:45<br>
<b>To:</b> Asterisk Users Mailing List - Non-Commercial
Discussion<br>
<b>Subject:</b> Re: [asterisk-users] Easy way to see what dahdi
channels are
being used<o:p></o:p></span></p>
</div>
</div>
<p class=3DMsoNormal><o:p> </o:p></p>
<div>
<p class=3DMsoNormal><span style=3D'color:black'>From the
CLI:<br>
<br>
asterisk -rx 'core show channels' | grep DAHDI | sort -n<br>
<br>
Channels with a value of 1-23 are on your primary DS1, channels with a value of
25-47 are on your second DS1.<br>
<br>
Tim Nelson<br>
Systems/Network Support<br>
Rockbochs Inc.<br>
(218)727-4332 x105<br>
<br>
----- "Mike" <list at virtutel.ca> wrote:
<br>
> </span><span
style=3D'font-size:12.0pt;font-family:"Times New
Roman","serif";
color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span
style=3D'font-size:12.0pt;font-family:"Times New
Roman","serif";
color:black'>> <o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'>Hi,</span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'> </span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'>I have just recently
been using DAHDI, and I wanted to know how to monitor
capacity.</span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'> </span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'>Let's say I have two
DS1 (23 channels) coming in, one for Florida (let's say) and one for New
York. How can I get a reading of how many channels of each T1 port is
being used at any given moment? Ideally, have two values, one for each
T1.</span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'> </span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'>dahdi show channels
doesn't show outgoing calls. Is there another command I am not
aware of?</span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'> </span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'>Mike</span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'> </span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DFR-CA
style=3D'color:black'> </span><span
style=3D'color:black'><o:p></o:p></span></p>
<p class=3DMsoNormal><span
style=3D'font-size:12.0pt;font-family:"Times New
Roman","serif";
color:black'><br>
> _______________________________________________ -- Bandwidth and
Colocation Provided by http://www.api-digital.com -- asterisk-users mailing
list To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users<o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>
--Boundary_(ID_d6JueyQI5myaPhY1J3TpEA)--