> Considering this your real question " I want to track the number of > calls up at any given time, through the AMI " .... > > Comparable Command Exists !! > > You can simply run CLI commands through AMI and receive the response. > Command used for this is itself "Command" in AMI. If you still want > to do it by counting the event stream then POE is the best solution > if you know PERL, but still why wasting resources in counting > events.If you have other plans like billing then it is > understandable otherwise go easy way and add a cron job or have a UI > in php or whatever. > > Manager Command: > Command command,all Execute Asterisk CLI Command
You should only use the AMI Command action if there is no other AMI action available to do the job. For instance, the AMI CoreShowChannels action is better than using the CLI "core show channels" command through AMI. manager show command CoreShowChannels Richard -- _____________________________________________________________________ -- 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