<div id="RTEContent">Hello, <br>  <br>  Forgive my newbie-ness here, but i am trying to get a voicemail service up and running.<br>  <br>  Basically, i am trying to offer individual incoming phone numbers to  every user.&nbsp; I currently use an IAX2 trunk to connect my server to  the phone lines.<br>  <br>  Is there a way to figure out what number was dialed to get to my  server?&nbsp; Ie, i want to know if they dialed 800-444-4444 vs  800-444-4445.&nbsp; I figure there must be a way, but i've tried using  the ${DNID} variable and it is empty.<br>  <br>  ALSO, on an unrelated note, i want to pass back info back and forth  between my AGI script and Asterisk.&nbsp; I know you can pass info INTO  AGI, but can you pass the info back OUT of AGI into the Asterisk  extensions.conf dialplan?<br>  <br>  Many thanks.<br>  David<br>  </div><p>
                <hr size=1> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/">Yahoo! FareChase - Search multiple travel sites in one click.</a>