Hello
you can send it to the agi from the extensions.conf like this
exten => _X.,1,DeadAGI(agi.pl,${CALLERIDNUM},${EXTEN})
exten => _X.,2,Hangup
exten => _X.,2,Hangup
Then Capture it from the agi file it self.
If u need more assistance, please email or msn me on [EMAIL PROTECTED]
On 12/23/05, Michael Stearne <[EMAIL PROTECTED]> wrote:
I am trying to determine the number that was called in via an IAX2 channel.
When using debug:
IAX2 Debugging Enabled
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
Timestamp: 00013ms SCall: 00814 DCall: 00000 [66.234.228.170:4569]
VERSION : 2
CALLED NUMBER : 609XXXXXXX
CALLING NUMBER : 347XXXXXXX
CALLING NAME : 347XXXXXX
LANGUAGE : en
USERNAME : voicepulse-in-01
FORMAT : 4
CAPABILITY : 1086
ADSICPE : 2
DATE TIME : 194420173
What is the variable that CALLED NUMBER is stored in? I would like to
access through php_agi. $agi->request['agi_dnid'] works for SIP
channels but not IAX.
Thanks!
Michael
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Rehan Ahmed AllahWala
http://www.SuperTec.com - Tommrow's Technology, Today.
http://www.didx.net - DID Number Exchange and Peering Service.
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
