Bom depois de muito pesquisar, tai um script que funcionou perfeitamente ahhh e muito obrigado pela GRANDE atenção dos jedi, que sempre apontam para o google.<br><br>&lt;?<br>    if( isset($_GET[&quot;ligar&quot;]) ) {<br>
    <br>    include &quot;AstMan.php&quot;;<br>    <br>    $ast = new AstMan();<br>    <br>    $ast-&gt;Login( &quot;localhost&quot;, &quot;admin&quot;, &quot;amp111&quot; );<br>    <br>    echo &quot;&lt;pre&gt;&quot;;<br>
    echo $ast-&gt;sendCommand(&quot;Originate&quot;, array(<br>        &quot;Channel&quot; =&gt; &quot;SIP/XXXXX&quot;,<br>        &quot;CallerID&quot; =&gt; $_GET[&quot;numero&quot;],<br>        &quot;Account&quot; =&gt; &quot;8458591895&quot;,<br>
        &quot;Context&quot; =&gt; &quot;a2billing-webcall&quot;,<br>        &quot;Exten&quot; =&gt; $_GET[&quot;numero&quot;],<br>        &quot;Priority&quot; =&gt; &quot;1&quot;<br>        ));<br>    echo &quot;&lt;/pre&gt;&quot;;<br>
    <br>    }<br>    <br>?&gt;<br>&lt;html&gt;<br>&lt;body&gt;<br>Click to Call<br>&lt;form action=&quot;index.php&quot;&gt;<br>    &lt;input type=&quot;hidden&quot; name=&quot;ligar&quot; value=&quot;1&quot;&gt;<br>           Numero: <br>
          &lt;input type=&quot;text&quot; name=&quot;numero&quot; value=&quot;&lt;?= @$_GET[&quot;numero&quot;] ?&gt;&quot;&gt;<br>        &lt;input type=&quot;button&quot; value=&quot;Ligar&quot; onclick=&quot;submit()&quot;&gt;<br>
&lt;/form&gt;<br><br>&lt;/body&gt;<br>&lt;/html&gt;<br>