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