List Info

Thread: Re: Monitor Asterisk using C




Re: Monitor Asterisk using C
country flaguser name
United Kingdom
2008-02-11 06:35:11
On 8 Feb 2008, at 21:38, Russell Bryant wrote:

> Soumya Kat wrote:
>> What I would like to know is how to get information
such as SIP  
>> users,
>> number of SIP connections and traffic associated
with those from  
>> asterisk
>> using a C Code.
>
> There is actually no good way to do this inside of
Asterisk right  
> now.  It's
> certainly all possible ... it's just software ... but
there is no
> straightforward common API to accomplish what you are
looking for.
>
> -- 

If you run the snmp agent in asterisk, you can query this
stuff with  
the netsnmp
tools (snmpget). To get the specific traffic, you would need
a switch/ 
host or router
that supported RMON.  It wouldn't be trivial, (and I
wouldn't do it in  
C) but all
the data is (theoretically) available from one SNMP agent or
another.

Tim.

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )