<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">&lt;<a href="mailto:peter@aboutsupport.com" target="_blank">peter@aboutsupport.com</a>&gt;</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 &quot;which php&quot;<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>
&gt; Hi,<br>
&gt;<br>
&gt; I used elastix with asterisk 1.8<br>
&gt; when I run my AGI code, cli give me theses errors:<br>
&gt;<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_callingpres: 0<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_callingani2: 0<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_callington: 0<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_callingtns: 0<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_dnid: unknown<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_rdnis: unknown<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_context: from-internal<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_extension: 9099999999<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_priority: 2<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_enhanced: 0.0<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_accountcode:<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_threadid: -1226703984<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; agi_arg_1:<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt;<br>
&gt; &lt;SIP/147-00000098&gt;AGI Rx &lt;&lt; Usage: php [options] [-f] &lt;file&gt; [--] [args...]<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; 510 Invalid or unknown command<br>
&gt; &lt;SIP/147-00000098&gt;AGI Rx &lt;&lt;        php [options] -r &lt;code&gt; [--] [args...]<br>
&gt; &lt;SIP/147-00000098&gt;AGI Tx &gt;&gt; 510 Invalid or unknown command<br>
&gt; &lt;SIP/147-00000098&gt;AGI Rx &lt;&lt;        php [options] [-B &lt;begin_code&gt;] -R<br>
&gt; &lt;code&gt; [-E &lt;end_code&gt;] [--] [args...]<br>
&gt; ....<br>
&gt; .<br>
&gt; .<br>
&gt; .<br>
&gt; .<br>
&gt; -- &lt;SIP/147-00000098&gt;AGI Script myAGI.php completed, returning 0<br>
&gt;<br>
&gt;<br>
&gt; I run my php script in bash linux, it seems it is not work with -q parameter<br>
&gt;<br>
&gt; what is problem?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><span class="HOEnZb"><font color="#888888">&gt; --<br>
&gt; _____________________________________________________________________<br>
&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
&gt;                <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
&gt;<br>
&gt; asterisk-users mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;    <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;<br>
</font></span></blockquote></div><br></div>