<DIV>Hi all,</DIV>
<DIV>&nbsp;&nbsp;&nbsp; Is there a way to get the "called id" (the B number) with AGI perl ?</DIV>
<DIV>I know how to get the caller id which is working fine and is just below:</DIV>
<DIV><FONT size=2>
<P>#!/usr/bin/perl</P>
<P>use Asterisk::AGI;</P>
<P>$AGI = new Asterisk::AGI;</P>
<P>my %input = $AGI-&gt;ReadParse();</P>
<P>$callerid = $input{'callerid'};</P>
<P>$AGI-&gt;say_digits($callerid);</P>
<P>}</P>
<P>Thanks in advance,</P>
<P>Angel.</P></FONT></DIV><p>
                <hr size=1><font face=arial size=-1>Do you Yahoo!?<br>Friends.  Fun. <a href="http://messenger.yahoo.com/">Try the all-new Yahoo! Messenger</a>