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

Andy Powell andy at beagles-den.demon.co.uk
Thu Jun 10 15:55:04 MST 2004


On 10/06/2004 at 14:40 Angel Diaz wrote:

>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:
>

<code snip>

>
>Thanks in advance,
>
>Angel.


use:

$exten = $input{'extension'};

to get the extension called.

Andy





More information about the asterisk-users mailing list