Galera criei um AGI bem veloz para o acesso quem precisar aqui :<div><a href="https://gist.github.com/3306926">https://gist.github.com/3306926</a><div><br></div><div>Exemplo de como estou usando:</div><div><br></div><div><div>
exten=&gt;_0.,1,Answer()</div><div>exten=&gt;_0.,n,AGI(operadora.py,${EXTEN:1})</div><div>exten=&gt;_0.,n,NoOP(Operadora = ${Operadora})</div><div>exten=&gt;_0.,n,Hangup()</div></div><div><br></div><div><br></div><div>Retorno do AGI no Asterisk:</div>
<div><br></div><div><div>== Using SIP RTP CoS mark 5</div><div>    -- Executing [01381741580@saida:1] Answer(&quot;SIP/667-0000005d&quot;, &quot;&quot;) in new stack</div><div>    -- Executing [01381741580@saida:2] AGI(&quot;SIP/667-0000005d&quot;, &quot;operadora.py,1381741580&quot;) in new stack</div>
<div>    -- Launched AGI Script /var/lib/asterisk/agi-bin/operadora.py</div><div>    -- &lt;SIP/667-0000005d&gt;AGI Script operadora.py completed, returning 0</div><div>    -- Executing [01381741580@saida:3] NoOp(&quot;SIP/667-0000005d&quot;, &quot;Operadora = TIM CELULAR&quot;) in new stack</div>
<div>    -- Executing [01381741580@saida:4] Hangup(&quot;SIP/667-0000005d&quot;, &quot;&quot;) in new stack</div><div>  == Spawn extension (saida, 01381741580, 4) exited non-zero on &#39;SIP/667-0000005d&#39;</div></div><div>
<br></div><div><br><div>Bela iniciativa Adílson !</div></div><div><br></div><div>[]&#39;s</div><div><br></div><div>Eng Eder de Souza</div><br><div class="gmail_quote">Em 9 de agosto de 2012 15:38, Jefferson E. Pessoa <span dir="ltr">&lt;<a href="mailto:jefferson@mile.com.br" target="_blank">jefferson@mile.com.br</a>&gt;</span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Prezados,<br><br>     só agora eu li com calma o email e coloco o meu servidor a disposição é só falar o que precisam.<div class="im">
<br><br clear="all"><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><b><span style>Jefferson Eduardo Pessoa .&#39;.<br>

---------------------------------------------<br>Celulares<br style></span></b>



<span style><a href="tel:67-8407-5252" value="+16784075252" target="_blank">67-8407-5252</a> Brt/Oi<br>
67-9207-5252 Claro<br></span></font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span style>67-8185-5252 Tim<br>67-9824-5252 Vivo<br></span></font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><b><span style>Fixos</span></b></font></font><br style>


<font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span style>
</span>
<span style>67-<span><span><span><span><span><span>4062</span></span></span></span></span></span>-<span><span><span><span><span><span><span>7252 Vono</span></span></span></span></span></span></span></span>/</font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span style><span><span><span><span><span><span><span>GVT</span></span></span></span></span></span></span></span></font></font><br style="font-family:arial,helvetica,sans-serif">


<font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888">


<span style>11-3522-7252</span></font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span style><span><span><span><span><span><span><span> Vono</span></span></span></span></span></span></span></span></font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888">/</font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span style><span><span><span><span><span><span><span>GVT</span></span></span></span></span></span></span></span></font></font><br style="font-family:arial,helvetica,sans-serif">



<font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span style>65-</span></font></font><span style="font-family:arial,helvetica,sans-serif">4052-9502<font color="#888888"> </font></span><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span style><span><span><span><span><span><span><span>Vono</span></span></span></span></span></span></span></span></font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888">/</font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span style><span><span><span><span><span><span><span>GVT</span></span></span></span></span></span></span></span></font></font><br>


<br>
<br>
<br>
<br><br></div><div class="gmail_quote">Em 9 de agosto de 2012 14:36, Jefferson E. Pessoa <span dir="ltr">&lt;<a href="mailto:jefferson@mile.com.br" target="_blank">jefferson@mile.com.br</a>&gt;</span> escreveu:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Prezados,<br><br>      peço a liberação de quatro IP´s :<br><br><a href="tel:201.34.203.61" value="+12013420361" target="_blank">201.34.203.61</a><br>189.59.90.51<br>189.59.90.52<br>189.113.175.100<br><br><br clear="all">
<font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><b><span>Jefferson Eduardo Pessoa .&#39;.<br>


---------------------------------------------<br>Celulares<br></span></b>



<span><a href="tel:67-8407-5252" value="+16784075252" target="_blank">67-8407-5252</a> Brt/Oi<br>
67-9207-5252 Claro<br></span></font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span>67-8185-5252 Tim<br>67-9824-5252 Vivo<br></span></font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><b><span>Fixos</span></b></font></font><br>



<font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span>
</span>
<span>67-<span><span><span><span><span><span>4062</span></span></span></span></span></span>-<span><span><span><span><span><span><span>7252 Vono</span></span></span></span></span></span></span></span>/</font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span><span><span><span><span><span><span><span>GVT</span></span></span></span></span></span></span></span></font></font><br style="font-family:arial,helvetica,sans-serif">



<font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888">


<span>11-3522-7252</span></font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span><span><span><span><span><span><span><span> Vono</span></span></span></span></span></span></span></span></font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888">/</font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span><span><span><span><span><span><span><span>GVT</span></span></span></span></span></span></span></span></font></font><br style="font-family:arial,helvetica,sans-serif">




<font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span>65-</span></font></font><span style="font-family:arial,helvetica,sans-serif">4052-9502<font color="#888888"> </font></span><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span><span><span><span><span><span><span><span>Vono</span></span></span></span></span></span></span></span></font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888">/</font></font><font style="font-family:arial,helvetica,sans-serif" color="#888888"><font color="#888888"><span><span><span><span><span><span><span><span>GVT</span></span></span></span></span></span></span></span></font></font><br>



<br>
<br>
</blockquote></div></div></div><br>
<br>_______________________________________________<br>
KHOMP Inovação: External Board Series<br>
Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e FreeSWITCH.<br>
Tenha a External Series Experience na sua aplicação. Visite <a href="http://www.khomp.com" target="_blank">www.khomp.com</a><br>
_______________________________________________<br>
DIGIVOICE  Fabricante de Placas de Voz e Channel Bank<br>
20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM<br>
Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  <a href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a><br>
________<br>
YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.<br>
email: <a href="mailto:yealink@commlogik.com.br">yealink@commlogik.com.br</a> | <a href="http://www.commlogik.com.br" target="_blank">www.commlogik.com.br</a> | (11) 5503-1011<br>
______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br></blockquote></div>
<br></div>