[asterisk-users] using variables in the shell function

Israel Gottlieb isrlgb at gmail.com
Tue Sep 13 19:49:26 CDT 2011


is it possible to pas variables to the shell function

Set(recordingavail=${SHELL("ls
/var/lib/asterisk/sounds/custom/${TOPMENU}")})

im trying to see if a file is available before playing the file

or does anybody have a different idea but not using agi

asterisk 1.6.2.20
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110914/8ec6a5f2/attachment.htm>


More information about the asterisk-users mailing list