"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: [email protected]
[mailto:[email protected]] 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" <[email protected]> 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...

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to