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

Danny Nicholas danny at debsinc.com
Wed Jun 16 12:21:55 CDT 2010


"core show application readfile" is the new command to not get the
"deprecated" message.   To answer the OP's query, here's the dialplan line

Exten => 1234,1,readfile(foo,"/tmp/my_data")

 

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Zeeshan
Zakaria
Sent: Wednesday, June 16, 2010 12:03 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] read data from file system and put in
avariable

 

Do a 'show application ReadFile'

Zeeshan A Zakaria

--
www.ilovetovoip.com

On 2010-06-16 12:49 PM, "Jerry Geis" <geisj at 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 command.
Is this what your refering to?
http://www.voip-info.org/wiki/view/Long+Distance+or+Local+Python+AGI


jerry

-- 
_____________________________________________________________________
-- Bandwidth and C...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100616/f33017c3/attachment.htm 


More information about the asterisk-users mailing list