[AsteriskBrasil] DAHDI MFCR2 - Embratel

Nildo Furtado nildo em infont.com.br
Terça Março 26 21:55:43 BRT 2013


Cara, qual a operadora que esta fornecendo o seu link E1? Se for a OI, pede
uma ATIVITEC com LOG de ligação com o testador de R2 que equipe da oi usa,
blz.... ser outra operadora coloca ai qual é, para tentar ajuda-lo... pois
parece que o seu link nao esta recebendo o numero ANI de ninguem ....  o eu
aqui aparece assim ...

[2013-03-26 21:54:28] New MFC/R2 call detected on chan 10.
[2013-03-26 21:54:32] MFC/R2 call offered on chan 10. ANI = 2178592532,
DNIS = 7650, Category = National Subscriber
[2013-03-26 21:54:32] MFC/R2 call has been accepted on backward channel 10





2013/3/26 deny.santos em gmail.com <deny.santos em gmail.com>

>
> On Mar 26, 2013, at 6:56 PM, Alexandre Cavalcante Alencar wrote:
>
> Olá
>
> Qual seu intuito e o conteúdo do protocol file?
>
> mfcr2_advanced_protocol_file=/etc/asterisk/r2proto.conf
>
> Não use o protocol file se não souber exatamente o que está fazendo. No
> diretório doc/asterisk/br tem um README com vários exemplos para as
> operadoras brasileiras, incluindo a Embratel.
>
>
>
> Ola Alexandre, eu estava utilizando justamente com a configuração para a
> Embratel , fiz algumas alterações e agora estou recebendo esta mensagem
> abaixo porem ele gera o Hangup no final e nem chega a chamar.
>
> Chan 1 - Handling persistent pattern 0x00
> New MFC/R2 call detected on chan 1.
> Chan 1 - Handling persistent pattern 0x08
> Chan 1 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 1
> MFC/R2 call end on channel 1
> Chan 1 - Handling persistent pattern 0x00
> New MFC/R2 call detected on chan 1.
> MFC/R2 call offered on chan 1. ANI = , DNIS = 1, Category = *Unknown*
> MFC/R2 call has been accepted on backward channel 1
>     -- Executing [1 em from-trunk:1] Set("DAHDI/1-1", "__FROM_DID=1") in new
> stack
>     -- Executing [1 em from-trunk:2] NoOp("DAHDI/1-1", "Received an unknown
> call with DID set to 1") in new stack
>     -- Executing [1 em from-trunk:3] Goto("DAHDI/1-1", "s,a2") in new stack
>     -- Goto (from-trunk,s,2)
>     -- Executing [s em from-trunk:2] Answer("DAHDI/1-1", "") in new stack
>     -- Executing [s em from-trunk:3] Wait("DAHDI/1-1", "2") in new stack
> Chan 1 - Handling persistent pattern 0x08
> Chan 1 - Far end disconnected. Reason: Normal Clearing
> MFC/R2 call disconnected on channel 1
>   == Spawn extension (from-trunk, s, 3) exited non-zero on 'DAHDI/1-1'
>     -- Executing [h em from-trunk:1] Macro("DAHDI/1-1", "hangupcall,") in
> new stack
>     -- Executing [s em macro-hangupcall:1] GotoIf("DAHDI/1-1", "1?theend")
> in new stack
>     -- Goto (macro-hangupcall,s,3)
>     -- Executing [s em macro-hangupcall:3] ExecIf("DAHDI/1-1",
> "0?Set(CDR(recordingfile)=)") in new stack
>     -- Executing [s em macro-hangupcall:4] Hangup("DAHDI/1-1", "") in new
> stack
>   == Spawn extension (macro-hangupcall, s, 4) exited non-zero on
> 'DAHDI/1-1' in macro 'hangupcall'
>   == Spawn extension (from-trunk, h, 1) exited non-zero on 'DAHDI/1-1'
> MFC/R2 call end on channel 1
>     -- Hungup 'DAHDI/1-1'
>
>
>
>
>
>
>
> On Tue, Mar 26, 2013 at 3:18 PM, deny.santos em gmail.com <
> deny.santos em gmail.com> wrote:
>
>>
>> On Mar 26, 2013, at 3:00 PM, Patrick EL Youssef wrote:
>>
>> > Posta o chan_dahdi.conf
>>
>> Este é chan_dahdi.conf
>>
>> trunkgroups]
>>
>> [channels]
>>
>> language=br
>>
>> #include chan_dahdi_additional.conf
>> #include dahdi-channels.conf
>>
>> usecallerid=yes
>> ;hidecallerid=yes
>> callwaiting=yes
>> callwaitingcallerid=yes
>> threewaycalling=yes
>> transfer=yes
>> cancallforward=yes
>> callreturn=yes
>> immediate=no
>> echocancel=yes
>> echocancelwhenbridged=yes
>> faxdetect=both
>>
>> dahd_channels
>>
>> signalling=mfcr2
>> mfcr2_variant=BR
>> mfcr2_get_ani_first=no
>> mfcr2_max_ani=20
>> mfcr2_max_dnis=4
>> mfcr2_category=national_subscriber
>> mfcr2_mfback_timeout=-1
>> mfcr2_metering_pulse_timeout=-1
>> mfcr2_advanced_protocol_file=/etc/asterisk/r2proto.conf
>> mfcr2_logdir=span1
>> mfcr2_logging=all
>> faxdetect=both
>>
>> context=from-trunk
>> group=0
>> signalling=mfcr2
>> callgroup=1
>> pickupgroup=1
>> channel => 1-15
>> channel => 17-31
>> context=from-trunk
>> group=1
>> signalling=mfcr2
>> callgroup=2
>> pickupgroup=2
>> channel => 32-46
>> channel => 48-62
>>
>>
>>
>> >
>> > Em 26-03-2013 14:55, deny.santos em gmail.com escreveu:
>> >> Bom dia amigos gostaria de uma ajuda de todos, estou configurando um
>> link R2 da embratel porem o mesmo quando recebi chamadas esta gerando este
>> erro no dahdi e derrubando a ligação , alguma ideia ?
>> >>
>> >> Obrigado
>> >>
>> >> New MFC/R2 call detected on chan 1.
>> >> Chan 2 - Handling persistent pattern 0x00
>> >> New MFC/R2 call detected on chan 2.
>> >> MFC/R2 call offered on chan 1. ANI = , DNIS = 1, Category = *Unknown*
>> >> MFC/R2 call has been accepted on backward channel 1
>> >>    -- Executing [1 em from-trunk:1] Set("DAHDI/1-1", "__FROM_DID=1") in
>> new stack
>> >>    -- Executing [1 em from-trunk:2] NoOp("DAHDI/1-1", "Received an
>> unknown call with DID set to 1") in new stack
>> >>    -- Executing [1 em from-trunk:3] Goto("DAHDI/1-1", "s,a2") in new
>> stack
>> >>    -- Goto (from-trunk,s,2)
>> >>    -- Executing [s em from-trunk:2] Answer("DAHDI/1-1", "") in new stack
>> >>    -- Executing [s em from-trunk:3] Wait("DAHDI/1-1", "2") in new stack
>> >> Chan 2 - Handling persistent pattern 0x08
>> >> Chan 2 - Far end disconnected. Reason: Normal Clearing
>> >> MFC/R2 call disconnected on channel 2
>> >> MFC/R2 call end on channel 2
>> >> Chan 1 - Handling persistent pattern 0x08
>> >> Chan 1 - Far end disconnected. Reason: Normal Clearing
>> >> MFC/R2 call disconnected on channel 1
>> >>  == Spawn extension (from-trunk, s, 3) exited non-zero on 'DAHDI/1-1'
>> >>    -- Executing [h em from-trunk:1] Macro("DAHDI/1-1", "hangupcall,") in
>> new stack
>> >>    -- Executing [s em macro-hangupcall:1] GotoIf("DAHDI/1-1",
>> "1?theend") in new stack
>> >>    -- Goto (macro-hangupcall,s,3)
>> >>    -- Executing [s em macro-hangupcall:3] ExecIf("DAHDI/1-1",
>> "0?Set(CDR(recordingfile)=)") in new stack
>> >>    -- Executing [s em macro-hangupcall:4] Hangup("DAHDI/1-1", "") in new
>> stack
>> >>  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on
>> 'DAHDI/1-1' in macro 'hangupcall'
>> >>  == Spawn extension (from-trunk, h, 1) exited non-zero on 'DAHDI/1-1'
>> >> MFC/R2 call end on channel 1
>> >>    -- Hungup 'DAHDI/1-1'
>> >>
>> >>
>> >>
>> >>
>> >> MFC/R2 call offered on chan 2. ANI = , DNIS = 1, Category = *Unknown*
>> >> [2013-03-26 10:43:50] WARNING[5264]: chan_dahdi.c:4127
>> dahdi_r2_write_log: Chan 1 - MF back cycle timed out!
>> >> [2013-03-26 10:43:50] ERROR[5264]: chan_dahdi.c:4130
>> dahdi_r2_write_log: Chan 1 - Protocol error. Reason = Multi Frequency Cycle
>> Timeout, R2 State = Seize ACK Transmitted, MF state = Accepted Call
>> Transmitted, MF Group = Backward Group B, CAS = 0x00
>> >> DNIS = 1, ANI = , MF = 0x31
>> >> [2013-03-26 10:43:50] ERROR[5264]: chan_dahdi.c:3915
>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 1: Multi
>> Frequency Cycle Timeout
>> >> Chan 1 - Handling persistent pattern 0x08
>> >> [2013-03-26 10:43:51] NOTICE[5264]: chan_dahdi.c:4161
>> dahdi_r2_on_line_idle: Far end unblocked on chan 1
>> >> [2013-03-26 10:43:52] WARNING[5264]: chan_dahdi.c:4127
>> dahdi_r2_write_log: Chan 2 - MF back cycle timed out!
>> >> [2013-03-26 10:43:52] ERROR[5264]: chan_dahdi.c:4130
>> dahdi_r2_write_log: Chan 2 - Protocol error. Reason = Multi Frequency Cycle
>> Timeout, R2 State = Seize ACK Transmitted, MF state = Accepted Call
>> Transmitted, MF Group = Backward Group B, CAS = 0x00
>> >> DNIS = 1, ANI = , MF = 0x31
>> >> [2013-03-26 10:43:52] ERROR[5264]: chan_dahdi.c:3915
>> dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 2: Multi
>> Frequency Cycle Timeout
>> >> Chan 2 - Handling persistent pattern 0x08
>> >> [2013-03-26 10:43:52] NOTICE[5264]: chan_dahdi.c:4161
>> dahdi_r2_on_line_idle: Far end unblocked on chan 2
>> >> _______________________________________________
>> >> 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-unsubscribe em 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-unsubscribe em 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-unsubscribe em 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-unsubscribe em 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-unsubscribe em listas.asteriskbrasil.org
>



-- 
*Att.*
*
*
*Nildo Furtado*
*CCNA - 503734B*
*Tel: 7761-8557*
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20130326/1463d2f2/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil