Hello
I was wondering if there were a way to use NoOp/Verbose to display
the output of the CLI's "show channels" from within
extensions.conf?
Something like that:
==========[incoming]
exten => h,1,Verbose($[CLI("show channels")])
...
==========
Any hint appreciated, thank you.
Steve Edwards
2011-Feb-19 15:29 UTC
[asterisk-users] [1.4] "show channels" in extensions.conf?
On Sat, 19 Feb 2011, Gilles wrote:> I was wondering if there were a way to use NoOp/Verbose to display > the output of the CLI's "show channels" from within extensions.conf?Ugly: system(asterisk -r -x 'show channels') Elegant: AGI using AMI. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000