Sergio, Qual é a operadora?
As pulhas das operadoras brasileiras nunca mandam a sinalização no local correto. Veja com sua operadora onde ela manda o sinal de chamada à cobrar, será necessário personalizar via protocol file... Sds Alexandre Alencar Twitter @alexandreitpro http://blog.alexandrealencar.net/ http://www.alexandrealencar.net/ http://www.alexandrealencar.com http://www.servicosdeti.com.br/ COBIT, ITIL, CSM, LPI, MCP-I On Fri, May 3, 2013 at 10:36 AM, Sergio Simões <ser...@rondaweb.com.br>wrote: > ** ** > > Pessoal bom dia tudo bem?**** > > ** ** > > Estou tentando realizar o bloqueio de chamadas a cobrar > aqui no meu asterisk , bom já fiz alguns testes e modificações porem sem > sucesso, o meu asterisk e o de versão 1.6.0.26.**** > > ** ** > > Bom o que eu já fiz de modificações...**** > > ** ** > > **1- **Adicionei ao chan dadhi.conf a linha abaixo conforme > indicações do Sr. Alexandre aqui do Forum...**** > > ** ** > > mfcr2_allow_collect_calls = no**** > > ** ** > > Reiniciei o asterisk, e nada as ligações continuar a ser > recebidas.**** > > ** ** > > **2- **Removi a linha anterior e adicionei a linha abaixo**** > > **** > > mfcr2_double_answer = yes ;**** > > ** ** > > Reiniciei o asterisk, e nada as ligações continuar a ser > recebidas.**** > > ** ** > > ** ** > > Habilitei o debug para verificar se a string de “Reverse > Charging Indication” esta sendo apresentada quando uma ligação a cobrar e > recebida, e não aparece essa string a no log. Como pode ser observado no > trecho abaixo...**** > > ** ** > > -- Starting simple switch on 'DAHDI/1-1'**** > > -- Executing [s@from-zaptel:1] NoOp("DAHDI/1-1", "Entering > from-zaptel with DID == ") in new stack**** > > -- Executing [s@from-zaptel:2] Ringing("DAHDI/1-1", "") in new stack** > ** > > -- Executing [s@from-zaptel:3] Set("DAHDI/1-1", "DID=s") in new stack* > *** > > -- Executing [s@from-zaptel:4] NoOp("DAHDI/1-1", "DID is now s") in > new stack**** > > -- Executing [s@from-zaptel:5] GotoIf("DAHDI/1-1", "1?zapok:notzap") > in new stack**** > > -- Goto (from-zaptel,s,8)**** > > -- Executing [s@from-zaptel:8] NoOp("DAHDI/1-1", "Is a Zaptel > Channel") in new stack**** > > -- Executing [s@from-zaptel:9] Set("DAHDI/1-1", "CHAN=1-1") in new > stack**** > > -- Executing [s@from-zaptel:10] Set("DAHDI/1-1", "CHAN=1") in new > stack**** > > -- Executing [s@from-zaptel:11] Macro("DAHDI/1-1", > "from-zaptel-1,s,1") in new stack**** > > -- Executing [s@from-zaptel:12] NoOp("DAHDI/1-1", "Returned from > Macro from-zaptel-1") in new stack**** > > -- Executing [s@from-zaptel:13] Goto("DAHDI/1-1", "from-pstn,s,1") in > new stack**** > > -- Goto (from-pstn,s,1)**** > > -- Executing [s@from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=s") in new > stack**** > > -- Executing [s@from-pstn:2] Gosub("DAHDI/1-1", > "app-blacklist-check,s,1") in new stack**** > > -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", > "0?blacklisted") in new stack**** > > -- Executing [s@app-blacklist-check:2] Return("DAHDI/1-1", "") in new > stack**** > > -- Executing [s@from-pstn:3] ExecIf("DAHDI/1-1", "1 > ?Set(CALLERID(name)=)") in new stack**** > > -- Executing [s@from-pstn:4] Set("DAHDI/1-1", > "__CALLINGPRES_SV=allowed_not_screened") in new stack**** > > -- Executing [s@from-pstn:5] Set("DAHDI/1-1", > "CALLERPRES()=allowed_not_screened") in new stack**** > > -- Executing [s@from-pstn:6] Goto("DAHDI/1-1", "ivr-2,s,1") in new > stack**** > > -- Goto (ivr-2,s,1)**** > > -- Executing [s@ivr-2:1] Set("DAHDI/1-1", "MSG=custom/Rondaweb") in > new stack**** > > -- Executing [s@ivr-2:2] Set("DAHDI/1-1", "LOOPCOUNT=0") in new stack* > *** > > -- Executing [s@ivr-2:3] Set("DAHDI/1-1", "__DIR-CONTEXT=default") in > new stack**** > > -- Executing [s@ivr-2:4] Set("DAHDI/1-1", "_IVR_CONTEXT_ivr-2=") in > new stack**** > > -- Executing [s@ivr-2:5] Set("DAHDI/1-1", "_IVR_CONTEXT=ivr-2") in > new stack**** > > -- Executing [s@ivr-2:6] GotoIf("DAHDI/1-1", "0?begin") in new stack** > ** > > -- Executing [s@ivr-2:7] Answer("DAHDI/1-1", "") in new stack**** > > -- Executing [s@ivr-2:8] Wait("DAHDI/1-1", "1") in new stack**** > > -- Executing [s@ivr-2:9] Set("DAHDI/1-1", "TIMEOUT(digit)=3") in new > stack**** > > -- Digit timeout set to 3**** > > -- Executing [s@ivr-2:10] Set("DAHDI/1-1", "TIMEOUT(response)=5") in > new stack**** > > -- Response timeout set to 5**** > > -- Executing [s@ivr-2:11] Set("DAHDI/1-1", "__IVR_RETVM=") in new > stack**** > > -- Executing [s@ivr-2:12] ExecIf("DAHDI/1-1", > "1?Background(custom/Rondaweb)") in new stack**** > > -- <DAHDI/1-1> Playing 'custom/Rondaweb.slin' (language 'en')**** > > ** ** > > Com base nessas informações gostaria de saber se alguém > aqui da comunidade já conseguiu bloquear as ligações a cobrar no asterisk > 1.6. **** > > ** ** > > ** ** > > Desde já muito obrigado pela atenção.**** > > ** ** > > ** ** > > **** > > ** ** > > ** ** > > ** ** > > ** ** > > _______________________________________________ > KHOMP: completa linha de placas externas FXO, FXS, GSM e E1; > Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7; > Intercomunicadores para acesso remoto via rede IP. Conheça em > www.Khomp.com. > _______________________________________________ > DIGIVOICE Fabricante de Placas de Voz e Channel Bank > 20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM > Centro Treinamento - Curso de PABX IP - Asterisk - Site > www.digivoice.com.br > _______________________________________________ > ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7. > Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express. > Channel Bank – Appliance Asterisk - Acesse www.aligera.com.br. > _______________________________________________ > Para remover seu email desta lista, basta enviar um email em branco para > asteriskbrasil-unsubscr...@listas.asteriskbrasil.org >
_______________________________________________ KHOMP: completa linha de placas externas FXO, FXS, GSM e E1; Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7; Intercomunicadores para acesso remoto via rede IP. Conheça em www.Khomp.com. _______________________________________________ DIGIVOICE Fabricante de Placas de Voz e Channel Bank 20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM Centro Treinamento - Curso de PABX IP - Asterisk - Site www.digivoice.com.br _______________________________________________ ALIGERA Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7. Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express. Channel Bank Appliance Asterisk - Acesse www.aligera.com.br. _______________________________________________ Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscr...@listas.asteriskbrasil.org