Pessoal isso não funcionou, esta no caminho certo ? Atraves da web recebo um numero que é recebido pelo asterisk e executa um dial automático.<br><br>&lt;/head&gt;<br><br>&lt;body&gt;<br>    &lt;form action=&quot;call.php&quot; method=&quot;post&quot;&gt;<br>
        &lt;INPUT name=&quot;num_client&quot; type=&quot;text&quot;&gt;<br>        &lt;INPUT type=&quot;submit&quot; value=&quot;Enviar&quot;&gt;<br>    &lt;/form&gt;<br>&lt;/body&gt;<br><br><br>&lt;?php<br>require (&#39;/srv/download/a2billing/AGI/lib/phpagi/phpagi.php&#39;);<br>
$agi = new AGI();<br><br>$num_client = $_POST[num_client];<br><br>$agi-&gt;exec(&quot;Dial&quot;.$SIP/TRUNKFXO/$num_client);<br><br>$agi-&gt;hangup();<br>?&gt;<br><br>