[asterisk-users] "Cheapest" way to determine channels in a group from outside asterisk?

Tim Panton tim at mexuar.com
Tue Oct 31 13:11:06 MST 2006


On 26 Oct 2006, at 12:12, Nick Adams wrote:

> I need to determine the number of active calls in a group from  
> outside of Asterisk. Currently I poll the manager API and parse the  
> channel status list but this is becoming too expensive on CPU.
>
> What are my options? What is considered "standard practice" ?  
> Update a DB field? Poll the manager api? Use an asterisk -rv 'some  
> command' call?

That depends on your configuration. If you already use SNMP in your  
organisation, you
might want to use that.

If you are/have a java coder, there is some support for the asterisk  
MIB in the free-ware
from snmp.westhawk.co.uk

(Disclaimer - I wrote large chunks of it so I'm biased :-) )


Tim Panton

www.mexuar.com





More information about the asterisk-users mailing list