On Thu, Jan 30, 2014 at 5:48 PM, Justin Killen <jkil...@allamericanasphalt.com> wrote: > After posting this, I ran across 'core channel show concise', which gives > the data in a more machine friendly format. > >
That may work over AMI, but in general, it isn't recommended. The command class authorization, EVENT_CLASS_COMMAND, is relatively powerful and shouldn't be exposed to a general AMI action without a lot of forethought. What's more, CLI commands are generally viewed as being appropriate for end users, and not programs controlling Asterisk. While 'core show channels concise' is unlikely to change in future versions, it certainly isn't versioned in the same fashion as AMI events/actions. If you need to get a dump of all active channels in the system over AMI, I'd recommend the CoreShowChannels AMI action [1]. It will send the information back for each channel as an event, and doesn't require the same level of permission as the corresponding CLI command. [1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_CoreShowChannels Matt -- _____________________________________________________________________ -- 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