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

Reply via email to