[asterisk-users] Using SetVar with System() is it possible?

bruce bruce bruceb444 at gmail.com
Sat Jun 19 09:58:17 CDT 2010


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,*
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100619/990798de/attachment.htm 


More information about the asterisk-users mailing list