[asterisk-users] Concurrent call monitoring

Ishfaq Malik ish at pack-net.co.uk
Tue Oct 25 08:49:54 CDT 2011


Which monitoring tool were you using?

On Tue, 2011-10-25 at 18:46 +0500, Sammy Govind wrote:
> 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 <danny at 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-bounces at lists.digium.com
>         [mailto:asterisk-users-bounces at 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

-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062




More information about the asterisk-users mailing list