[asterisk-users] AGI - calling functions, CHANNEL STATUS broken?

Kevin DeGraaf kevin at kdegraaf.net
Wed Mar 12 13:39:34 CDT 2008


> This worked for me on * 1.6 where 1223 is the sip peer I wanted to get 
> status from.

> use Asterisk::AGI;
> my $AGI = new Asterisk::AGI;
> my $peer = $AGI->get_variable("SIPPEER(1223,status)");

It didn't work (for me) on 1.4.18.  An empty string was returned, even 
though I gave a it a valid peer number.  Oh, well.  :-)

Thanks.

-- 
Kevin DeGraaf



More information about the asterisk-users mailing list