From: Henry Junior [EMAIL PROTECTED]I want to issue a System cmd in my dialpan that is similar to the
unix echo command stated above. *EXCEPT* that I want to pipe theresults into a *new* variable (vs a text file.)Ideally, what would happen is in my diaplan I would issue the 'echo |date' command
I am looking to issue a 'System cmd' that will echo the results into a new variable -- can anyone tell me the correct way to do this? example: at the terminal I am currently able to issue this command: echo | date date.txt Do you want to run that command in the shell? This pipes the output
As far as I know ${EPOCH} would not work because I need the results to be similar to this format: Mon Aug 29 18:32:45 EDT 2005What about variable ${EPOCH} ? ___
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
I don't see why, since most programms (asterisk included) when using
the date and time will be able to use the ${EPOCH} format.
On 8/29/05, Henry Junior [EMAIL PROTECTED] wrote:
As far as I know ${EPOCH} would not work because I need the results to be
similar to this format: Mon Aug 29 18:32:45