<div dir="ltr"><i>which php</i><br><br>/usr/bin/php<br><br>the path is ok, <br>php -h gives me some parameter except -q<br><br><br><div class="gmail_quote">On Wed, Jan 30, 2013 at 10:20 AM, Zyumbilev, Peter <span dir="ltr"><<a href="mailto:peter@aboutsupport.com" target="_blank">peter@aboutsupport.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">from ssh(console) run "which php"<br>
it should give you path where it is installed.<br>
<br>
Peter<br>
<div class="HOEnZb"><div class="h5"><br>
On 30/01/2013 08:28, Muhammad wrote:<br>
> Hi,<br>
><br>
> I used elastix with asterisk 1.8<br>
> when I run my AGI code, cli give me theses errors:<br>
><br>
> <SIP/147-00000098>AGI Tx >> agi_callingpres: 0<br>
> <SIP/147-00000098>AGI Tx >> agi_callingani2: 0<br>
> <SIP/147-00000098>AGI Tx >> agi_callington: 0<br>
> <SIP/147-00000098>AGI Tx >> agi_callingtns: 0<br>
> <SIP/147-00000098>AGI Tx >> agi_dnid: unknown<br>
> <SIP/147-00000098>AGI Tx >> agi_rdnis: unknown<br>
> <SIP/147-00000098>AGI Tx >> agi_context: from-internal<br>
> <SIP/147-00000098>AGI Tx >> agi_extension: 9099999999<br>
> <SIP/147-00000098>AGI Tx >> agi_priority: 2<br>
> <SIP/147-00000098>AGI Tx >> agi_enhanced: 0.0<br>
> <SIP/147-00000098>AGI Tx >> agi_accountcode:<br>
> <SIP/147-00000098>AGI Tx >> agi_threadid: -1226703984<br>
> <SIP/147-00000098>AGI Tx >> agi_arg_1:<br>
> <SIP/147-00000098>AGI Tx >><br>
> <SIP/147-00000098>AGI Rx << Usage: php [options] [-f] <file> [--] [args...]<br>
> <SIP/147-00000098>AGI Tx >> 510 Invalid or unknown command<br>
> <SIP/147-00000098>AGI Rx << php [options] -r <code> [--] [args...]<br>
> <SIP/147-00000098>AGI Tx >> 510 Invalid or unknown command<br>
> <SIP/147-00000098>AGI Rx << php [options] [-B <begin_code>] -R<br>
> <code> [-E <end_code>] [--] [args...]<br>
> ....<br>
> .<br>
> .<br>
> .<br>
> .<br>
> -- <SIP/147-00000098>AGI Script myAGI.php completed, returning 0<br>
><br>
><br>
> I run my php script in bash linux, it seems it is not work with -q parameter<br>
><br>
> what is problem?<br>
><br>
><br>
><br>
><br>
><br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">> --<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>
><br>
</font></span></blockquote></div><br></div>