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

Steve Edwards asterisk.org at sedwards.com
Wed Jun 16 11:21:25 CDT 2010


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



More information about the asterisk-users mailing list