I somehow missed the first message about this problem.  I'll see if I
can reproduce it here and figure it out.

I've never seen a problem like this and can't see any obvious problems.
 Is it possible to turn on AGI debugging from the asterisk console and
see what it does?  You can send this to me privately if you don't want
to send it to the list

James

Shawn L. Djernes wrote:
> 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] <mailto:[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] <mailto:[email protected]> | [email protected]
> <mailto:[email protected]>
> MSN: [email protected] <mailto:[email protected]>
> 402.345.7734 | 402.350.6973 Cell

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to