[AsteriskBrasil] DAHDI MFCR2 - Embratel

Alexandre Cavalcante Alencar alexandre.alencar em gmail.com
Terça Março 26 18:56:47 BRT 2013


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.



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 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
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20130326/cfbcd09e/attachment.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil