Thanks for the input. I actually did use verbose() and that is when I noticed that my path to phpagi was not right since nothing was coming through.<div><br></div><div>For return value prior to fixing phpagi path, I was getting:</div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div><br></div><div><b>NoOp("SIP/64.111.222.111-00000ca7",<font class="Apple-style-span" color="#FF0000"> ""</font>)</b></div>
<div><br></div><div>which actually is just right because if you notice the last three charecters of that line is<b> "")</b>. So, when the phpagi path is correct, it looks like: <b>"415444555")</b>.</div>
<div><br></div><div>-Bruce</div></span><br><div class="gmail_quote">On Mon, Jun 14, 2010 at 6:09 PM, Steve Edwards <span dir="ltr"><<a href="http://asterisk.org">asterisk.org</a>@<a href="http://sedwards.com">sedwards.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> On Mon, 2010-06-14 at 14:57 -0400, bruce bruce wrote:<br>
<br>
>> Carlos, Thanks a lot for getting me started. That helps a great deal.<br>
<br>
</div><div class="im">>> exten => _x.,1,NoOp(${EXTEN})<br>
<br>
</div>Since you're just getting started, there is an application specifically<br>
written to send output to the CLI -- verbose(). It's more "obvious" and it<br>
has additional functionality.<br>
<div class="im"><br>
On Mon, 14 Jun 2010, Carlos Chavez wrote:<br>
<br>
</div><div class="im">> As you can see agi_extension and agi_dnid should contain the number that<br>
> the user dialed. Those are all the variables that are automatically<br>
> sent to the AGI script from Asterisk.<br>
<br>
</div>agi_extension contains the extension (the bit after the equals sign) of<br>
the statement that executes the AGI application. For example,<br>
<br>
exten = s,n, agi(foo)<br>
<br>
When "foo" examines agi_extension, it will contain "s"<br>
<div class="im"><br>
> I do not know why you are getting the channel instead of the extension,<br>
> you could try giving the extension as a parameter to the AGI script if<br>
> you cannot get that from the included request variable.<br>
<br>
</div>Better to fix the really simple stuff before he gets to the complex stuff.<br>
<div class="im"><br>
--<br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a> Voice: +1-760-468-3867 PST<br>
Newline Fax: +1-760-731-3000<br>
<br>
--<br>
_____________________________________________________________________<br>
</div><div><div></div><div class="h5">-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>