[AsteriskBrasil] Helpdesk com A2Billing

Jorge Lima jayjr83 em yahoo.com.br
Sexta Junho 29 10:01:19 BRT 2012


Boa Tarde Pessoal.

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.

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&t=7741 
Porém eu não consigo de forma alguma colocar isso pra funcionar.

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.

Olhando no CLi me mostra o seguinte:

Executing [12061785 em from-pstn:1] Set("SIP/12061785-000000bb", "__FROM_DID=12061785") in new stack
    -- Executing [12061785 em from-pstn:2] Gosub("SIP/12061785-000000bb", "app-blacklist-check,s,1") in new stack
    -- Executing [s em app-blacklist-check:1] GotoIf("SIP/12061785-000000bb", "0?blacklisted") in new stack
    -- Executing [s em app-blacklist-check:2] Set("SIP/12061785-000000bb", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s em app-blacklist-check:3] Return("SIP/12061785-000000bb", "") in new stack
    -- Executing [12061785 em from-pstn:3]
 ExecIf("SIP/12061785-000000bb", "0 ?Set(CALLERID(name)=1181819535)") in new stack
    -- Executing [12061785 em from-pstn:4] Set("SIP/12061785-000000bb", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [12061785 em from-pstn:5] Set("SIP/12061785-000000bb", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [12061785 em from-pstn:6] Goto("SIP/12061785-000000bb", "support-a2billing,12061785,1") in new stack
    -- Goto (support-a2billing,12061785,1)
    -- Executing [12061785 em support-a2billing:1] DeadAGI("SIP/12061785-000000bb", "a2billing.php|1") in new stack
    -- Executing [12061785 em support-a2billing:2] Hangup("SIP/12061785-000000bb", "") in new stack
  == Spawn extension (support-a2billing, 12061785, 2) exited non-zero on 'SIP/12061785-000000bb'

Alguém tem uma luz do que posso fazer pra ver se está
 tudo ok?

No início do texto é mencionado o seguinte: "Provider 
IP needs to be set to "support em 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?

Agradeço qualquer luz.

Abraços.

 
Jorge Lima
(11) 8181 9535
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20120629/61030054/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil