Fredrik,
I have the ReadParse in the script.  I use it to get a few variables.

I do agree that ReadParse should be run as part of the New function and then
give us a public hash.

Is there any active development on the Asterisk-Perl package?

Shawn

On Wed, Jun 24, 2009 at 3:52 AM, Fredrik Liljegren <[email protected]>wrote:

> Hi Shawn
>
> Shawn L. Djernes wrote:
> > When I read variables with get_variable I get the results, but if I
> > read several in a row and then display them back the requested
> > information will be in the wrong variable.  It is off by one in the
> > order I request them.
> At first you have to do an $AGI->ReadParse, no matter if you want that
> info or not, since asterisk agi sends it.  Otherwise it messes up the
> stdin-buffer.  I guess it should be done in new, since it must always be
> done first...  Then we could have $AGI->input or so instead of always
> having to do my %input = $AGI->ReadParse.
>
> /F
>
>


-- 
Shawn L. Djernes
SD Consulting
[email protected] | [email protected]
MSN: [email protected]
402.345.7734 | 402.350.6973 Cell

Reply via email to