On 11-08-24 03:48 PM, Steve Edwards wrote:
You can pass multiple parameters on the command line like:
exten = *,n,system(echo ${EPOCH} ${CHANNEL} >/tmp/foo)
(When I wrote this example, I used the EXTEN channel variable instead of
EPOCH. Extra points for the first reader to explain why that was not a good
example. Anyone, anyone?)
On Wed, 24 Aug 2011, J Gao wrote:
(But I hasn't figure out your question about the using
of EXTEN channel variable. I can only guessing it could be you are using
"*".)
Correct -- buy that man a beer!
echo expanded * so /tmp/foo contained a list of all of the files in
Asterisk's CWD followed by the channel name.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards [email protected] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- 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