AGI-Perl STDOUT send back variable to asterisk

sammyt
Joined: Fri 13 of May, 2011

AGI-Perl STDOUT send back variable to asterisk

Posted:Fri 13 of May, 2011 (15:52 UTC)
Using AGI you have a STDIN & STDOUT. When in AGI Perl Script how do you send

a variable back to asterisk. I am using agi=>stream_file($filename,$digits,$offset).

When the digits are keyed in and collected in $digits, how do I get that variable back

to Asterisk and save the value in a variable there?