> 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

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to