Jerry Geis
2010-Jun-16 15:58 UTC
[asterisk-users] read data from file system and put in a variable
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
Steve Edwards
2010-Jun-16 16:21 UTC
[asterisk-users] read data from file system and put in a variable
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, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Jerry Geis
2010-Jun-16 16:44 UTC
[asterisk-users] read data from file system and put in a variable
> > 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