From: Paul Hales <[EMAIL PROTECTED]>
Subject: [Asterisk-Users] Asterisk question
To: Asterisk Users Mailing List - Non-Commercial Discussion
        <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain

Any idea how to read an external file, grab some stuff and push it back
into an Asterisk variable?

I can do it the other way with:
system(echo "${UNIQUEID} =>" >> /home/ast/curr_calls)
but I'm a bit stumped on how to go the other way around....

much thanks,

Paul Hales

I'll go out on a limb here and take a guess that it could be done as an AGI script that incorporates SED (http://www.gnu.org/software/sed/) and AWK (http://www.gnu.org/software/gawk/gawk.html). I've used both for some bash scripting in the past. . .

Regards,
Steve Cayona
Super Technologies, Inc.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to