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
--
_____________________________________________________________________
-- 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

Reply via email to