I wrote my own shell scripts to collect &quot;core show calls&quot; value from asterisk and then push the filtered value to an opensource monitoring tool. That worked perfectly well.<div><br></div><div><div>#!/usr/bin/perl -w</div>
<div>use strict;</div><div>open(LINE, &#39;asterisk -rx &quot;core show channels&quot;|&#39;);</div><div>my ($chans, $calls, $line)=(0,0,undef);</div><div>while ($line = &lt;LINE&gt;)</div><div>{</div><div>    $calls = $1 if ($line =~ /^(\d+) active call/);</div>
<div>}</div><div>close(LINE);</div><div>printf $calls;</div><div><br></div><br><div class="gmail_quote">On Tue, Oct 25, 2011 at 6:40 PM, Danny Nicholas <span dir="ltr">&lt;<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The &quot;Simplest&quot; method of seeing the number of concurrent calls is &quot;service<br>
asterisk status&quot;.  If I understand question two,  asterisk -rx &quot; core show<br>
channels verbose&quot; is probably your best bet.<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Ishfaq Malik<br>
Sent: Tuesday, October 25, 2011 8:29 AM<br>
To: Asterisk Users<br>
Subject: [asterisk-users] Concurrent call monitoring<br>
<div><div></div><div class="h5"><br>
Hi<br>
<br>
What are people using to monitor the concurrent number of calls at any given<br>
time?<br>
<br>
Also, is there any good way of monitoring concurrent inbound and outbound<br>
calls so that we can see the 2 different numbers?<br>
<br>
Thanks in advance<br>
<br>
Ish<br>
--<br>
Ishfaq Malik<br>
Software Developer<br>
PackNet Ltd<br>
<br>
Office:   0161 660 3062<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> -- New to<br>
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>
<br>
<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>
</div></div></blockquote></div><br></div>