Hi Ben,
in my dialplan I use:
exten => _0.,1,AGI,lcr.agi|${EXTEN:${TRUNKMSD}}
then you can get this argv in your AGI with:
$number = $ARGV[0];
should give a you a point where to start... If you have questions please ask!
bye...
Thorsten
----- Original Message -----
From: Ben Merrills
To: asterisk-users@lists.digium.com
Sent: Wednesday, June 30, 2004 12:46 PM
Subject: [Asterisk-Users] AGI Diad number
Is there a way of getting the dialled number from an AGI? Is it passed in the
initial variables, or can it be pulled out or passed across from the dial plan?
Cheers,
Ben Merrills
Griffin Internet
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20040630/262b92b7/attachment.htm