<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Boa Tarde Pessoal.</span></div><div><br><span></span></div><div><span>Nas últimas semana me dediquei integralmente a desenvolver um sistema onde os clientes através de seus códigos fariam contato com helpdesk e o valor correspondente ao minuto seria debitado de seu cartão de chamadas.</span></div><div><br><span></span></div><div><span>Pesquisando cheguei até o tópico, onde o usuário informa que fez exatamente o que eu preciso. http://forum.asterisk2billing.org/viewtopic.php?f=5&amp;t=7741</span></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;">&nbsp;<br>Porém eu não consigo de forma alguma colocar isso pra funcionar.<br><br>Configurei um tronco azzu para ser o que vai receber as ligações e criei a rota de entrada que pega as ligações deste tronco. Se direciono para um ramal ele
 toca corretamente, agora se direcionado para o A2Billing-Passthru pra que seja solicitado o bin e passe a tarifar recebo a mensagem da azzu que diz que o meu ramal não está disponível, é como se ele interrompesse minha conexão com a azzu. Muito estranho.<br><br>Olhando no CLi me mostra o seguinte:<br><br>Executing [12061785@from-pstn:1] Set("SIP/12061785-000000bb", "__FROM_DID=12061785") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [12061785@from-pstn:2] Gosub("SIP/12061785-000000bb", "app-blacklist-check,s,1") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@app-blacklist-check:1] GotoIf("SIP/12061785-000000bb", "0?blacklisted") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@app-blacklist-check:2] Set("SIP/12061785-000000bb", "CALLED_BLACKLIST=1") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [s@app-blacklist-check:3] Return("SIP/12061785-000000bb", "") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [12061785@from-pstn:3]
 ExecIf("SIP/12061785-000000bb", "0 ?Set(CALLERID(name)=1181819535)") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [12061785@from-pstn:4] Set("SIP/12061785-000000bb", "__CALLINGPRES_SV=allowed_not_screened") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [12061785@from-pstn:5] Set("SIP/12061785-000000bb", "CALLERPRES()=allowed_not_screened") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [12061785@from-pstn:6] Goto("SIP/12061785-000000bb", "support-a2billing,12061785,1") in new stack<br>&nbsp;&nbsp;&nbsp; -- Goto (support-a2billing,12061785,1)<br>&nbsp;&nbsp;&nbsp; -- Executing [12061785@support-a2billing:1] DeadAGI("SIP/12061785-000000bb", "a2billing.php|1") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [12061785@support-a2billing:2] Hangup("SIP/12061785-000000bb", "") in new stack<br>&nbsp; == Spawn extension (support-a2billing, 12061785, 2) exited non-zero on 'SIP/12061785-000000bb'<br><br>Alguém tem uma luz do que posso fazer pra ver se está
 tudo ok?<br><br>No início do texto é mencionado o seguinte: "Provider IP needs to be set to "support@from-pstn". This is what the 
"inbound" Caller ID will be when you create a new trunk in FreePBX later
 on, just keep that in the back of your mind." Porém em nenhum lugar depois ele menciona sobre a criação deste trunk. Entendi certo ou fiz confusão?<br><br>Agradeço qualquer luz.<br><br>Abraços.<b><b><font face="Trebuchet MS" size="2"><span class="yui_3_2_0_17_134089772359169" style="font-size:10pt;font-family:'Trebuchet MS';"><font color="black"><span style="color:black;"><br><br>Jorge Lima<br>(11) 8181 9535</span></font></span></font></b></b><br> </div><div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> </div> </blockquote></div>   </div></body></html>