Steve Edwards wrote:
On Sat, 19 Jun 2010, bruce bruce wrote:
Is it possible to harvest the output of system into a SetVar(variable)?
exten = s,n,SetVar(var=system(asterisk -rx sip show channels | grep
-c (ulaw))
??? any problem with the syntax?
) Your parentheses don't match.
) You
Hi Guys,
Is it possible to harvest the output of system into a SetVar(variable)?
exten = s,n,SetVar(var=system(*asterisk -rx sip show channels | grep -c
(ulaw))*
*
*
*??? any problem with the syntax? *
*
*
*
*
*Thanks,*
*
*
--
On Sat, 19 Jun 2010, bruce bruce wrote:
Is it possible to harvest the output of system into a SetVar(variable)?
exten = s,n,SetVar(var=system(asterisk -rx sip show channels | grep
-c (ulaw))
??? any problem with the syntax?
Really? Is posting questions showing you've made zero effort
On Sat, Jun 19, 2010 at 10:58:17AM -0400, bruce bruce wrote:
Hi Guys,
Is it possible to harvest the output of system into a SetVar(variable)?
exten = s,n,SetVar(var=system(*asterisk -rx sip show channels | grep -c
(ulaw))*
There's the function SHELL. Though I suspect you use 1.2 and I'm
I am using Asterisk v1.4.x
I have got php along with phpagi to report back using a system call within
php to asterisk -rx but it's buggy. For one thing php is hanging sometimes
and not returning anything.
Wondering if I can run search to see if a g.729 channel is up or not using
only the