[asterisk-users] read data from file system and put in a variable

2010-06-16 Thread Jerry Geis
I am looking at http://www.voip-info.org/wiki/view/Asterisk+cmd+System I dont see how to execute a system command and set an asterisk variable to the string that is in my file /tmp/my_data. How is that done? Jerry -- _ --

Re: [asterisk-users] read data from file system and put in a variable

2010-06-16 Thread Steve Edwards
On Wed, 16 Jun 2010, Jerry Geis wrote: I am looking at http://www.voip-info.org/wiki/view/Asterisk+cmd+System I dont see how to execute a system command and set an asterisk variable to the string that is in my file /tmp/my_data. Read up on the application readfile(). -- Thanks in advance,

Re: [asterisk-users] read data from file system and put in a variable

2010-06-16 Thread Jerry Geis
Read up on the application readfile(). Steve, on my 1.4 system help readfile says no such command. searching a little more shows readfile as an AGI command. Is this what your refering to? http://www.voip-info.org/wiki/view/Long+Distance+or+Local+Python+AGI jerry --

Re: [asterisk-users] read data from file system and put in a variable

2010-06-16 Thread Zeeshan Zakaria
Do a 'show application ReadFile' Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-06-16 12:49 PM, Jerry Geis ge...@pagestation.com wrote: Read up on the application readfile(). Steve, on my 1.4 system help readfile says no such command. searching a little more shows readfile as an AGI