Hi Carlso,<div><br></div><div>Thanks for the input. I have done this in php and am not familiar with phpagi.</div><div>So, there is absolutely no way to temporarily solve this problem by getting the value back from php file?</div>
<div><br></div><div>Wondering if it would require a lot of work to change the php file to phpagi?</div><div>Thanks,</div><div>Bruce</div><div><br><div class="gmail_quote">On Mon, Jun 14, 2010 at 12:12 PM, Carlos Chavez <span dir="ltr"><<a href="mailto:cursor@telecomabmex.com">cursor@telecomabmex.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 12:00 -0400, bruce bruce wrote:<br>
> Hi Everyone,<br>
><br>
><br>
> I have a php file that if an argument is passed to it, it will echo a<br>
> number back. I am looking to use system() in dial-plan to send<br>
> ${EXTEN} to it and then to get that processed value back from the php<br>
> file and put it in $var back into asterisk dial-plan. While trying<br>
> this method doesn't work:<br>
><br>
><br>
> exten => _x.,1,SetVar(var = system(php /file.php ${EXTEN})<br>
> exten => _x.,n,NoOp(${var})<br>
><br>
><br>
<br>
</div> This is exactly what AGI was made for. Look into the PHPAGI library.<br>
<font color="#888888"><br>
--<br>
Telecomunicaciones Abiertas de México S.A. de C.V.<br>
Carlos Chávez Prats<br>
Director de Tecnología<br>
+52-55-91169161 ext 2001<br>
</font><br>--<br>
_____________________________________________________________________<br>
-- 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></blockquote></div><br></div>