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