[Asterisk-Users] How to get the Called id with AGI

Angel Diaz angelrdiaz0 at yahoo.com
Thu Jun 10 14:40:53 MST 2004


Hi all,
    Is there a way to get the "called id" (the B number) with AGI perl ?
I know how to get the caller id which is working fine and is just below:

#!/usr/bin/perl

use Asterisk::AGI;

$AGI = new Asterisk::AGI;

my %input = $AGI->ReadParse();

$callerid = $input{'callerid'};

$AGI->say_digits($callerid);

}

Thanks in advance,

Angel.


		
---------------------------------
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040610/c31bfe63/attachment.htm


More information about the asterisk-users mailing list