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

2006-10-31 Thread Tim Panton


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



___
--Bandwidth and Colocation provided by Easynews.com --

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


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

2006-10-26 Thread Nick Adams
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?


___
--Bandwidth and Colocation provided by Easynews.com --

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


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

2006-10-26 Thread Lenz


why not using a zap show command and parse the results externally?
l.



On Thu, 26 Oct 2006 13:12:46 +0200, Nick Adams [EMAIL PROTECTED] 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?





--
Loway Research - Home of QueueMetrics
http://queuemetrics.loway.it
___
--Bandwidth and Colocation provided by Easynews.com --

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