[Asterisk-Dev] Perl AGI: get_variable
duncan at impede.net
Sun Jan 25 15:04:33 MST 2004
>Anyone out there that can help me with the Perl AGI library?
>I can't read any variable with get_variable.
> $acc = $AGI->get_variable("ACCOUNTCODE");
>Just downloaded 0.08 from gnuinter.net
>Tested with both global variables, like ACCOUNTCODE and local variables
>created with setvar().
>Would appreciate any examples!
try: $acc = $AGI->get_variable('accountcode');
i dont think asterisk-perl likes "" being used as quotes
hope this helps
More information about the asterisk-dev