AGI Perl Question

Home » Asterisk Users » AGI Perl Question
Asterisk Users No Comments

From inside a Perl script, Asterisk 1.4, I am trying to get this information
$xipaddress = $AGI->get_full_variable(‘CHANNEL(recvip)’);
or using pan get_variable But I get nothing. How do I read the IP address of origin from an AGI Perl script?
I cannot update the version, for this is an old system that I am being paid to keep it running. Philip Orleans