Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
Alguém poderia me indicar alguma pessoa ou empresa nas proximidades da Praça da Sé, São Paulo-SP, para uma visita técnica presencial para resolver especificamente o problema abaixo? Tem que ser alguém que já passou por esse problema para uma solução rápida e de baixo custo. No momento não queremos uma ampla consultoria, apenas a solução pontual dessa problema. De: Roberto Carlos Enviada: Segunda-feira, 23 de Fevereiro de 2015 17:13 Para: asteriskbrasil@listas.asteriskbrasil.org Assunto: E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem Estou tentando fazer funcionar uma E1 da Embratel MFC/R2 (São Paulo-SP) em uma placa TE110E no Asterisk 11.13.1 Debian 8 Jessie. Eu consigo fazer ligações e receber ligações via URA, mas as chamadas duram poucos segundos e todas sempre caem. Nesse mesmo servidor, tenho 4 linhas analógicas que funcionam perfeitamente. Os ramais SIP via softphone também funcionam perfeitamente. Os ATAS têm alguns problemas, mas isso deixarei para outro email. As mensagens que ficam aparecendo o tempo todo na CLI são: - [Feb 17 19:49:16] WARNING[5215]: chan_dahdi.c:8129 handle_alarms: Detected alarm on channel 1: Yellow Alarm [Feb 17 19:49:16] NOTICE[5199]: chan_dahdi.c:4030 handle_clear_alarms: Alarm cleared on channel 1 [Feb 17 19:49:16] NOTICE[5188]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 1 - Quando recebo uma ligação, aparece o seguinte: - New MFC/R2 call detected on chan 1. MFC/R2 call offered on chan 1. ANI = 11, DNIS = 6680, Category = National Subscriber MFC/R2 call has been accepted on backward channel 1 -- Executing [6680@embratel:1] Answer(DAHDI/1-1, ) in new stack -- Executing [6680@embratel:2] Goto(DAHDI/1-1, startIVR,s,2) in new stack -- Goto (startIVR,s,2) -- Executing [s@startIVR:2] NoOp(DAHDI/1-1, /var/lib/asterisk/sounds/custom) in new stack -- Executing [s@startIVR:3] Set(DAHDI/1-1, GLOBAL(sounds_path)=/var/lib/asterisk/sounds/custom) in new stack == Setting global variable 'sounds_path' to '/var/lib/asterisk/sounds/custom' -- Executing [s@startIVR:4] Set(DAHDI/1-1, TIMEOUT(response)=20) in new stack -- Response timeout set to 200.000 -- Executing [s@startIVR:5] Set(DAHDI/1-1, TIMEOUT(digit)=30) in new stack -- Digit timeout set to 300.000 -- Executing [s@startIVR:6] BackGround(DAHDI/1-1, /var/lib/asterisk/sounds/custom/x) in new stack -- DAHDI/1-1 Playing '/var/lib/asterisk/sounds/custom/x.slin' (language 'br') [Feb 17 19:51:07] NOTICE[5188]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 2 [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 18 [Feb 17 19:51:07] NOTICE[5202]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 17 [Feb 17 19:51:07] NOTICE[5204]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 19 [Feb 17 19:51:07] NOTICE[5189]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 3 Chan 1 - Far end disconnected. Reason: Normal Clearing MFC/R2 call disconnected on channel 1 == Spawn extension (startIVR, s, 6) exited non-zero on 'DAHDI/1-1' MFC/R2 call end on channel 1 -- Hungup 'DAHDI/1-1' [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 18 - Segue a minha configuração: - # vi /etc/dahdi/system.conf # MFC R2 span=1,1,0,cas,hdb3 cas=1-15:1101 cas=17-31:1101 dchan=16 echocanceller=mg2,1-15,17-31 # vi /etc/asterisk/chan_dahdi.conf [channels] usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes group=1 callgroup=1 pickupgroup=1 busydetect=yes busycount=6 ; MFC R2 language=br usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes faxdetect=incoming signalling=mfcr2 mfcr2_variant=br mfcr2_get_ani_first=no mfcr2_max_ani=20 mfcr2_max_dnis=4 mfcr2_category=national_subscriber mfcr2_logdir=span1 ; The next three params are for debuging, you can disable when in production mfcr2_call_files=yes mfcr2_logdir=embratel mfcr2_logging=all mfcr2_mfback_timeout=4500 ; mfcr2_mfback_timeout=-1 mfcr2_metering_pulse_timeout=-1 mfcr2_allow_collect_calls=no mfcr2_double_answer=yes mfcr2_immediate_accept=no mfcr2_forced_release=yes mfcr2_charge_calls=yes rxgain=5.0 txgain=5.0 context=embratel group=63 channel=1-15,17-31 #include dahdi-channels.conf # vi /etc/asterisk/dahdi-channels.conf ; Span 1: WCT1/0 Digium Wildcard TE110P T1/E1 Card 0 group=0,11 channel = 1-15,17-31 group=63 context=embratel - Alguém poderia me dar alguma luz de onde estou errando? Obrigado.
Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
Ainda não estou recebendo as mensagens da lista, então usarei minha própria mensagem para agradecer e responder aos amigos como anda minha luta para configurar o E1 MFC/R2 da Embratel. Vou chamar o técnico da Embratel novamente para ver essa questão do RSlip e aterramento. Estou usando Debian 8 Jessie. Segue resultado depois de colocar acpi=off no grub2. Não tenho certeza se está funcionando: http://ubuntuguide.net/turn-off-acpi-ubuntu-grub2 # cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 0: 67 0 0 1 IO-APIC-edge timer 1: 1 0 1 1 IO-APIC-edge i8042 2: 0 0 0 0XT-PIC-XT-PICcascade 7: 1 0 0 0 IO-APIC-edge 8: 0 0 0 0 IO-APIC-edge rtc0 12: 0 2 2 0 IO-APIC-edge i8042 14: 0 0 0 0 IO-APIC-edge pata_atiixp 15: 0 0 0 0 IO-APIC-edge pata_atiixp 16:894706689796939807800 12916563 IO-APIC-fasteoi snd_hda_intel, wcte11xp 17:20979584724254 251960318638003 IO-APIC-fasteoi ehci_hcd:usb7, ehci_hcd:usb10, wctdm24xxp1 18: 0 0 0 0 IO-APIC-fasteoi ohci_hcd:usb12, ohci_hcd:usb13, ohci_hcd:usb14 19: 6540 40637476 7563 9177 IO-APIC-fasteoi wctdm24xxp0 21: 0 0 0 0 IO-APIC-fasteoi ohci_hcd:usb15 22: 0 0 0 0 IO-APIC-fasteoi ohci_hcd:usb16 23: 0 0 0 0 IO-APIC-fasteoi ehci_hcd:usb11 40: 0 0 0 0 PCI-MSI-edge PCIe PME 41: 0 0 0 0 PCI-MSI-edge PCIe PME 42: 0 0 0 0 PCI-MSI-edge PCIe PME 43: 0 0 0 0 PCI-MSI-edge PCIe PME 44: 0 0 0 0 PCI-MSI-edge PCIe PME 45: 0 0 0 0 PCI-MSI-edge PCIe PME 46: 0 0 0 0 PCI-MSI-edge xhci_hcd 47: 0 0 0 0 PCI-MSI-edge xhci_hcd 48: 0 0 0 0 PCI-MSI-edge xhci_hcd 49: 0 0 0 0 PCI-MSI-edge xhci_hcd 50: 0 0 0 0 PCI-MSI-edge xhci_hcd 51: 0 0 0 0 PCI-MSI-edge xhci_hcd 52: 0 0 0 0 PCI-MSI-edge xhci_hcd 53: 0 0 0 0 PCI-MSI-edge xhci_hcd 54: 0 0 0 0 PCI-MSI-edge xhci_hcd 55: 0 0 0 0 PCI-MSI-edge xhci_hcd 56: 7 8 7 10 PCI-MSI-edge xhci_hcd 57: 63 64 61 67 PCI-MSI-edge xhci_hcd 58: 0 0 0 0 PCI-MSI-edge xhci_hcd 59: 0 0 0 0 PCI-MSI-edge xhci_hcd 60: 0 0 0 0 PCI-MSI-edge xhci_hcd 61: 0 0 0 0 PCI-MSI-edge xhci_hcd 62: 7767 16578 50019 20261 PCI-MSI-edge ahci 63: 23 23 21 20 PCI-MSI-edge snd_hda_intel 64: 71122 25 22 16 PCI-MSI-edge eth0 NMI: 1122515643815 Non-maskable interrupts LOC: 10169007 10168972 10168969 10168966 Local timer interrupts SPU: 0 0 0 0 Spurious interrupts PMI: 1122515643815 Performance monitoring interrupts IWI: 0 0 0 0 IRQ work interrupts RTR: 0 0 0 0 APIC ICR read retries RES:3311658326802532939272949548 Rescheduling interrupts CAL: 1171 1002 1137 1001 Function call interrupts TLB: 2576 2465 2890 3472 TLB shootdowns TRM: 0 0 0 0 Thermal event interrupts THR: 0 0 0 0 Threshold APIC interrupts MCE: 0 0 0 0 Machine check exceptions MCP:136136136136 Machine check polls THR: 0 0 0 0 Hypervisor callback interrupts ERR: 1 MIS: 0 Eduardo araujo Mon, 23 Feb 2015 15:45:04 -0800 Boa noite! Geralmente isso é erro de escorregamento de link! RSlip. Tente aterrar a placa... E o rack também é importante
Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
divAinda não estou recebendo as mensagens da lista, então usarei minha própria mensagem para agradecer e responder aos amigos como anda minha luta para configurar o E1 MFC/R2 da Embratel.br /br //div divRonaldo, obrigado pela dica./div divEstou usando Debian 8 Jessie./div divEu segui esse roteiro http://ubuntuguide.net/turn-off-acpi-ubuntu-grub2 para fazer a alteração indicada por você./div divGRUB_CMDLINE_LINUX_DEFAULT=quiet acpi=off/div divAparentemente, não houve mudanças./div divAs ligações de entrada e saída continuam durando poucos segundo e caindo./div divOs alarmes amarelos prosseguem o tempo inteiro./div div /div div# cat /proc/interruptsbr / CPU0 CPU1 CPU2 CPU3br / 0: 67 0 0 1 IO-APIC-edge timerbr / 1: 1 0 1 1 IO-APIC-edge i8042br / 2: 0 0 0 0 XT-PIC-XT-PIC cascadebr / 7: 1 0 0 0 IO-APIC-edgebr / 8: 0 0 0 0 IO-APIC-edge rtc0br / 12: 0 2 2 0 IO-APIC-edge i8042br / 14: 0 0 0 0 IO-APIC-edge pata_atiixpbr / 15: 0 0 0 0 IO-APIC-edge pata_atiixpbr / 16: 8947066 8979693 9807800 12916563 IO-APIC-fasteoi snd_hda_intel, wcte11xpbr / 17: 2097958 4724254 25196031 8638003 IO-APIC-fasteoi ehci_hcd:usb7, ehci_hcd:usb10, wctdm24xxp1br / 18: 0 0 0 0 IO-APIC-fasteoi ohci_hcd:usb12, ohci_hcd:usb13, ohci_hcd:usb14br / 19: 6540 40637476 7563 9177 IO-APIC-fasteoi wctdm24xxp0br / 21: 0 0 0 0 IO-APIC-fasteoi ohci_hcd:usb15br / 22: 0 0 0 0 IO-APIC-fasteoi ohci_hcd:usb16br / 23: 0 0 0 0 IO-APIC-fasteoi ehci_hcd:usb11br / 40: 0 0 0 0 PCI-MSI-edge PCIe PMEbr / 41: 0 0 0 0 PCI-MSI-edge PCIe PMEbr / 42: 0 0 0 0 PCI-MSI-edge PCIe PMEbr / 43: 0 0 0 0 PCI-MSI-edge PCIe PMEbr / 44: 0 0 0 0 PCI-MSI-edge PCIe PMEbr / 45: 0 0 0 0 PCI-MSI-edge PCIe PMEbr / 46: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 47: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 48: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 49: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 50: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 51: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 52: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 53: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 54: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 55: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 56: 7 8 7 10 PCI-MSI-edge xhci_hcdbr / 57: 63 64 61 67 PCI-MSI-edge xhci_hcdbr / 58: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 59: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 60: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 61: 0 0 0 0 PCI-MSI-edge xhci_hcdbr / 62: 7767 16578 50019 20261 PCI-MSI-edge ahcibr / 63: 23 23 21 20 PCI-MSI-edge snd_hda_intelbr / 64: 71122 25 22 16 PCI-MSI-edge eth0br /NMI: 1122 515 643 815 Non-maskable interruptsbr /LOC: 10169007 10168972 10168969 10168966 Local timer interruptsbr /SPU: 0 0 0 0 Spurious interruptsbr /PMI: 1122 515 643 815 Performance monitoring interruptsbr /IWI: 0 0 0 0 IRQ work interruptsbr /RTR: 0 0 0 0 APIC ICR read retriesbr /RES: 3311658 3268025 3293927 2949548 Rescheduling interruptsbr /CAL: 1171 1002 1137 1001 Function call interruptsbr /TLB: 2576 2465 2890 3472 TLB shootdownsbr /TRM: 0 0 0 0 Thermal event interruptsbr /THR: 0 0 0 0 Threshold APIC interruptsbr /MCE: 0 0 0 0
Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
Ainda não estou recebendo as mensagens da lista, então usarei minha própria mensagem para agradecer e responder aos amigos como anda minha luta para configurar o E1 MFC/R2 da Embratel. Alexandre, eu removi minha configuração de /etc/asterisk/chan_dahdi.conf e apliquei as amostras 1 e 2 que o link indicado por você sugere. Com essa mudança, não consigo fazer nem receber ligação. Parece faltar alguma coisa naqueles exemplos de 07/12/2008 para mexer com o Asterisk 11 agora em 2015. Mesmo assim agradeço. Alguma outra dica? Alexandre Cavalcante Alencar Mon, 23 Feb 2015 14:59:20 -0800 Olá, Siga os exemplos da Embratel https://code.google.com/p/openr2/source/browse/trunk/doc/asterisk/br/README 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___ 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 e telefones IP Conheça todo o portfólio em www.Khomp.com ___ DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e FXS para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk. Construa soluções de PABX IP com produtos DigiVoice - visite www.digivoice.com.br ___ Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscr...@listas.asteriskbrasil.org
Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
Ainda não estou recebendo as mensagens da lista, então usarei minha própria mensagem para agradecer e responder aos amigos como anda minha luta para configurar o E1 MFC/R2 da Embratel. Danilo, obrigado pela dica. Não tenho, nem sei usar multímetro, mas o técnico da Embratel diz que a parte física está correta. Se eu espetar os conectores BNC diretamente num velho PABX Intelbras que temos por aqui tudo funciona corretamente, mas no Asterisk 11 a ligação fica caindo. Danilo Almeida Mon, 23 Feb 2015 16:45:07 -0800 Boa noite... É sempre bom dar uma conferida nos cabos também... Pode ser algum mal contato nos conectores. ___ 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 e telefones IP Conheça todo o portfólio em www.Khomp.com ___ DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e FXS para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk. Construa soluções de PABX IP com produtos DigiVoice - visite www.digivoice.com.br ___ Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscr...@listas.asteriskbrasil.org
Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
Ainda não estou recebendo as mensagens da lista, então usarei minha própria mensagem para agradecer e responder aos amigos como anda minha luta para configurar o E1 MFC/R2 da Embratel. Mário, obrigado pela dica. Não sei onde alterar ou verificar essa informação. Estou usando placa Digium (similar) não Digivoice. Em qual parâmetro de qual arquivo CONF devo olhar? Mário Arnaldo Mazon Mon, 23 Feb 2015 18:30:06 -0800 não esquece de checar o clock. Apanhei vários dias aqui com um Chanel Bank da digivoice até q descobrimos que o e1_sync tava em 3 qdo deveria ser 1. ___ 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 e telefones IP Conheça todo o portfólio em www.Khomp.com ___ DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e FXS para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk. Construa soluções de PABX IP com produtos DigiVoice - visite www.digivoice.com.br ___ Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscr...@listas.asteriskbrasil.org
[AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
Estou tentando fazer funcionar uma E1 da Embratel MFC/R2 (São Paulo-SP) em uma placa TE110E no Asterisk 11.13.1 Debian 8 Jessie. Eu consigo fazer ligações e receber ligações via URA, mas as chamadas duram poucos segundos e todas sempre caem. Nesse mesmo servidor, tenho 4 linhas analógicas que funcionam perfeitamente. Os ramais SIP via softphone também funcionam perfeitamente. Os ATAS têm alguns problemas, mas isso deixarei para outro email. As mensagens que ficam aparecendo o tempo todo na CLI são: - [Feb 17 19:49:16] WARNING[5215]: chan_dahdi.c:8129 handle_alarms: Detected alarm on channel 1: Yellow Alarm [Feb 17 19:49:16] NOTICE[5199]: chan_dahdi.c:4030 handle_clear_alarms: Alarm cleared on channel 1 [Feb 17 19:49:16] NOTICE[5188]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 1 - Quando recebo uma ligação, aparece o seguinte: - New MFC/R2 call detected on chan 1. MFC/R2 call offered on chan 1. ANI = 11, DNIS = 6680, Category = National Subscriber MFC/R2 call has been accepted on backward channel 1 -- Executing [6680@embratel:1] Answer(DAHDI/1-1, ) in new stack -- Executing [6680@embratel:2] Goto(DAHDI/1-1, startIVR,s,2) in new stack -- Goto (startIVR,s,2) -- Executing [s@startIVR:2] NoOp(DAHDI/1-1, /var/lib/asterisk/sounds/custom) in new stack -- Executing [s@startIVR:3] Set(DAHDI/1-1, GLOBAL(sounds_path)=/var/lib/asterisk/sounds/custom) in new stack == Setting global variable 'sounds_path' to '/var/lib/asterisk/sounds/custom' -- Executing [s@startIVR:4] Set(DAHDI/1-1, TIMEOUT(response)=20) in new stack -- Response timeout set to 200.000 -- Executing [s@startIVR:5] Set(DAHDI/1-1, TIMEOUT(digit)=30) in new stack -- Digit timeout set to 300.000 -- Executing [s@startIVR:6] BackGround(DAHDI/1-1, /var/lib/asterisk/sounds/custom/x) in new stack -- DAHDI/1-1 Playing '/var/lib/asterisk/sounds/custom/x.slin' (language 'br') [Feb 17 19:51:07] NOTICE[5188]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 2 [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 18 [Feb 17 19:51:07] NOTICE[5202]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 17 [Feb 17 19:51:07] NOTICE[5204]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 19 [Feb 17 19:51:07] NOTICE[5189]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 3 Chan 1 - Far end disconnected. Reason: Normal Clearing MFC/R2 call disconnected on channel 1 == Spawn extension (startIVR, s, 6) exited non-zero on 'DAHDI/1-1' MFC/R2 call end on channel 1 -- Hungup 'DAHDI/1-1' [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 18 - Segue a minha configuração: - # vi /etc/dahdi/system.conf # MFC R2 span=1,1,0,cas,hdb3 cas=1-15:1101 cas=17-31:1101 dchan=16 echocanceller=mg2,1-15,17-31 # vi /etc/asterisk/chan_dahdi.conf [channels] usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes group=1 callgroup=1 pickupgroup=1 busydetect=yes busycount=6 ; MFC R2 language=br usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes faxdetect=incoming signalling=mfcr2 mfcr2_variant=br mfcr2_get_ani_first=no mfcr2_max_ani=20 mfcr2_max_dnis=4 mfcr2_category=national_subscriber mfcr2_logdir=span1 ; The next three params are for debuging, you can disable when in production mfcr2_call_files=yes mfcr2_logdir=embratel mfcr2_logging=all mfcr2_mfback_timeout=4500 ; mfcr2_mfback_timeout=-1 mfcr2_metering_pulse_timeout=-1 mfcr2_allow_collect_calls=no mfcr2_double_answer=yes mfcr2_immediate_accept=no mfcr2_forced_release=yes mfcr2_charge_calls=yes rxgain=5.0 txgain=5.0 context=embratel group=63 channel=1-15,17-31 #include dahdi-channels.conf # vi /etc/asterisk/dahdi-channels.conf ; Span 1: WCT1/0 Digium Wildcard TE110P T1/E1 Card 0 group=0,11 channel = 1-15,17-31 group=63 context=embratel - Alguém poderia me dar alguma luz de onde estou errando? Obrigado. ___ 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 e telefones IP Conheça todo o portfólio em www.Khomp.com ___ DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e FXS para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk. Construa soluções de PABX IP com produtos DigiVoice - visite www.digivoice.com.br ___ Para
Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
Roberto; Voce não informou o hardware que esta usando, mas tenta desativando o acpi no boot. No grub é: /boot/grub/grub.conf . acrescente acpi=off na linha de boot.. algo assim: title Linux Server (2.6.18-36.el5) root (hd0,0) kernel /vmlinuz-2.6.18-36.el5 ro root=/dev/VolGroup00/LogVol00 console=ttyS0,115200n8 *acpi=off* initrd /initrd-2.6.18-36.el5.img Aguardo seu retorno. Abraço Att. Ronaldo On Mon, Feb 23, 2015 at 5:13 PM, Roberto Carlos rc.1...@bol.com.br wrote: Estou tentando fazer funcionar uma E1 da Embratel MFC/R2 (São Paulo-SP) em uma placa TE110E no Asterisk 11.13.1 Debian 8 Jessie. Eu consigo fazer ligações e receber ligações via URA, mas as chamadas duram poucos segundos e todas sempre caem. Nesse mesmo servidor, tenho 4 linhas analógicas que funcionam perfeitamente. Os ramais SIP via softphone também funcionam perfeitamente. Os ATAS têm alguns problemas, mas isso deixarei para outro email. As mensagens que ficam aparecendo o tempo todo na CLI são: - [Feb 17 19:49:16] WARNING[5215]: chan_dahdi.c:8129 handle_alarms: Detected alarm on channel 1: Yellow Alarm [Feb 17 19:49:16] NOTICE[5199]: chan_dahdi.c:4030 handle_clear_alarms: Alarm cleared on channel 1 [Feb 17 19:49:16] NOTICE[5188]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 1 - Quando recebo uma ligação, aparece o seguinte: - New MFC/R2 call detected on chan 1. MFC/R2 call offered on chan 1. ANI = 11, DNIS = 6680, Category = National Subscriber MFC/R2 call has been accepted on backward channel 1 -- Executing [6680@embratel:1] Answer(DAHDI/1-1, ) in new stack -- Executing [6680@embratel:2] Goto(DAHDI/1-1, startIVR,s,2) in new stack -- Goto (startIVR,s,2) -- Executing [s@startIVR:2] NoOp(DAHDI/1-1, /var/lib/asterisk/sounds/custom) in new stack -- Executing [s@startIVR:3] Set(DAHDI/1-1, GLOBAL(sounds_path)=/var/lib/asterisk/sounds/custom) in new stack == Setting global variable 'sounds_path' to '/var/lib/asterisk/sounds/custom' -- Executing [s@startIVR:4] Set(DAHDI/1-1, TIMEOUT(response)=20) in new stack -- Response timeout set to 200.000 -- Executing [s@startIVR:5] Set(DAHDI/1-1, TIMEOUT(digit)=30) in new stack -- Digit timeout set to 300.000 -- Executing [s@startIVR:6] BackGround(DAHDI/1-1, /var/lib/asterisk/sounds/custom/x) in new stack -- DAHDI/1-1 Playing '/var/lib/asterisk/sounds/custom/x.slin' (language 'br') [Feb 17 19:51:07] NOTICE[5188]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 2 [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 18 [Feb 17 19:51:07] NOTICE[5202]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 17 [Feb 17 19:51:07] NOTICE[5204]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 19 [Feb 17 19:51:07] NOTICE[5189]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 3 Chan 1 - Far end disconnected. Reason: Normal Clearing MFC/R2 call disconnected on channel 1 == Spawn extension (startIVR, s, 6) exited non-zero on 'DAHDI/1-1' MFC/R2 call end on channel 1 -- Hungup 'DAHDI/1-1' [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 18 - Segue a minha configuração: - # vi /etc/dahdi/system.conf # MFC R2 span=1,1,0,cas,hdb3 cas=1-15:1101 cas=17-31:1101 dchan=16 echocanceller=mg2,1-15,17-31 # vi /etc/asterisk/chan_dahdi.conf [channels] usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes group=1 callgroup=1 pickupgroup=1 busydetect=yes busycount=6 ; MFC R2 language=br usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes faxdetect=incoming signalling=mfcr2 mfcr2_variant=br mfcr2_get_ani_first=no mfcr2_max_ani=20 mfcr2_max_dnis=4 mfcr2_category=national_subscriber mfcr2_logdir=span1 ; The next three params are for debuging, you can disable when in production mfcr2_call_files=yes mfcr2_logdir=embratel mfcr2_logging=all mfcr2_mfback_timeout=4500 ; mfcr2_mfback_timeout=-1 mfcr2_metering_pulse_timeout=-1 mfcr2_allow_collect_calls=no mfcr2_double_answer=yes mfcr2_immediate_accept=no mfcr2_forced_release=yes mfcr2_charge_calls=yes rxgain=5.0 txgain=5.0 context=embratel group=63 channel=1-15,17-31 #include dahdi-channels.conf # vi /etc/asterisk/dahdi-channels.conf ; Span 1: WCT1/0 Digium Wildcard TE110P T1/E1 Card 0 group=0,11 channel = 1-15,17-31 group=63 context=embratel - Alguém poderia me dar alguma luz de onde estou
Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
Olá, Siga os exemplos da Embratel https://code.google.com/p/openr2/source/browse/trunk/doc/asterisk/br/README 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 Mon, Feb 23, 2015 at 5:13 PM, Roberto Carlos rc.1...@bol.com.br wrote: Estou tentando fazer funcionar uma E1 da Embratel MFC/R2 (São Paulo-SP) em uma placa TE110E no Asterisk 11.13.1 Debian 8 Jessie. Eu consigo fazer ligações e receber ligações via URA, mas as chamadas duram poucos segundos e todas sempre caem. Nesse mesmo servidor, tenho 4 linhas analógicas que funcionam perfeitamente. Os ramais SIP via softphone também funcionam perfeitamente. Os ATAS têm alguns problemas, mas isso deixarei para outro email. As mensagens que ficam aparecendo o tempo todo na CLI são: - [Feb 17 19:49:16] WARNING[5215]: chan_dahdi.c:8129 handle_alarms: Detected alarm on channel 1: Yellow Alarm [Feb 17 19:49:16] NOTICE[5199]: chan_dahdi.c:4030 handle_clear_alarms: Alarm cleared on channel 1 [Feb 17 19:49:16] NOTICE[5188]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 1 - Quando recebo uma ligação, aparece o seguinte: - New MFC/R2 call detected on chan 1. MFC/R2 call offered on chan 1. ANI = 11, DNIS = 6680, Category = National Subscriber MFC/R2 call has been accepted on backward channel 1 -- Executing [6680@embratel:1] Answer(DAHDI/1-1, ) in new stack -- Executing [6680@embratel:2] Goto(DAHDI/1-1, startIVR,s,2) in new stack -- Goto (startIVR,s,2) -- Executing [s@startIVR:2] NoOp(DAHDI/1-1, /var/lib/asterisk/sounds/custom) in new stack -- Executing [s@startIVR:3] Set(DAHDI/1-1, GLOBAL(sounds_path)=/var/lib/asterisk/sounds/custom) in new stack == Setting global variable 'sounds_path' to '/var/lib/asterisk/sounds/custom' -- Executing [s@startIVR:4] Set(DAHDI/1-1, TIMEOUT(response)=20) in new stack -- Response timeout set to 200.000 -- Executing [s@startIVR:5] Set(DAHDI/1-1, TIMEOUT(digit)=30) in new stack -- Digit timeout set to 300.000 -- Executing [s@startIVR:6] BackGround(DAHDI/1-1, /var/lib/asterisk/sounds/custom/x) in new stack -- DAHDI/1-1 Playing '/var/lib/asterisk/sounds/custom/x.slin' (language 'br') [Feb 17 19:51:07] NOTICE[5188]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 2 [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 18 [Feb 17 19:51:07] NOTICE[5202]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 17 [Feb 17 19:51:07] NOTICE[5204]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 19 [Feb 17 19:51:07] NOTICE[5189]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 3 Chan 1 - Far end disconnected. Reason: Normal Clearing MFC/R2 call disconnected on channel 1 == Spawn extension (startIVR, s, 6) exited non-zero on 'DAHDI/1-1' MFC/R2 call end on channel 1 -- Hungup 'DAHDI/1-1' [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 18 - Segue a minha configuração: - # vi /etc/dahdi/system.conf # MFC R2 span=1,1,0,cas,hdb3 cas=1-15:1101 cas=17-31:1101 dchan=16 echocanceller=mg2,1-15,17-31 # vi /etc/asterisk/chan_dahdi.conf [channels] usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes group=1 callgroup=1 pickupgroup=1 busydetect=yes busycount=6 ; MFC R2 language=br usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes faxdetect=incoming signalling=mfcr2 mfcr2_variant=br mfcr2_get_ani_first=no mfcr2_max_ani=20 mfcr2_max_dnis=4 mfcr2_category=national_subscriber mfcr2_logdir=span1 ; The next three params are for debuging, you can disable when in production mfcr2_call_files=yes mfcr2_logdir=embratel mfcr2_logging=all mfcr2_mfback_timeout=4500 ; mfcr2_mfback_timeout=-1 mfcr2_metering_pulse_timeout=-1 mfcr2_allow_collect_calls=no mfcr2_double_answer=yes mfcr2_immediate_accept=no mfcr2_forced_release=yes mfcr2_charge_calls=yes rxgain=5.0 txgain=5.0 context=embratel group=63 channel=1-15,17-31 #include dahdi-channels.conf # vi /etc/asterisk/dahdi-channels.conf ; Span 1: WCT1/0 Digium Wildcard TE110P T1/E1 Card 0 group=0,11 channel = 1-15,17-31 group=63 context=embratel - Alguém poderia me dar alguma luz de onde estou errando? Obrigado. ___ KHOMP: completa linha de placas
Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
não esquece de checar o clock. Apanhei vários dias aqui com um Chanel Bank da digivoice até q descobrimos que o e1_sync tava em 3 qdo deveria ser 1. On Monday, February 23, 2015, Danilo Almeida daniloricalme...@gmail.com wrote: Boa noite... É sempre bom dar uma conferida nos cabos também... Pode ser algum mal contato nos conectores. Em 23/02/2015 19:59, Ronaldo Wochner ronald...@gmail.com javascript:_e(%7B%7D,'cvml','ronald...@gmail.com'); escreveu: Roberto; Voce não informou o hardware que esta usando, mas tenta desativando o acpi no boot. No grub é: /boot/grub/grub.conf . acrescente acpi=off na linha de boot.. algo assim: title Linux Server (2.6.18-36.el5) root (hd0,0) kernel /vmlinuz-2.6.18-36.el5 ro root=/dev/VolGroup00/LogVol00 console=ttyS0,115200n8 *acpi=off* initrd /initrd-2.6.18-36.el5.img Aguardo seu retorno. Abraço Att. Ronaldo On Mon, Feb 23, 2015 at 5:13 PM, Roberto Carlos rc.1...@bol.com.br javascript:_e(%7B%7D,'cvml','rc.1...@bol.com.br'); wrote: Estou tentando fazer funcionar uma E1 da Embratel MFC/R2 (São Paulo-SP) em uma placa TE110E no Asterisk 11.13.1 Debian 8 Jessie. Eu consigo fazer ligações e receber ligações via URA, mas as chamadas duram poucos segundos e todas sempre caem. Nesse mesmo servidor, tenho 4 linhas analógicas que funcionam perfeitamente. Os ramais SIP via softphone também funcionam perfeitamente. Os ATAS têm alguns problemas, mas isso deixarei para outro email. As mensagens que ficam aparecendo o tempo todo na CLI são: - [Feb 17 19:49:16] WARNING[5215]: chan_dahdi.c:8129 handle_alarms: Detected alarm on channel 1: Yellow Alarm [Feb 17 19:49:16] NOTICE[5199]: chan_dahdi.c:4030 handle_clear_alarms: Alarm cleared on channel 1 [Feb 17 19:49:16] NOTICE[5188]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 1 - Quando recebo uma ligação, aparece o seguinte: - New MFC/R2 call detected on chan 1. MFC/R2 call offered on chan 1. ANI = 11, DNIS = 6680, Category = National Subscriber MFC/R2 call has been accepted on backward channel 1 -- Executing [6680@embratel:1] Answer(DAHDI/1-1, ) in new stack -- Executing [6680@embratel:2] Goto(DAHDI/1-1, startIVR,s,2) in new stack -- Goto (startIVR,s,2) -- Executing [s@startIVR:2] NoOp(DAHDI/1-1, /var/lib/asterisk/sounds/custom) in new stack -- Executing [s@startIVR:3] Set(DAHDI/1-1, GLOBAL(sounds_path)=/var/lib/asterisk/sounds/custom) in new stack == Setting global variable 'sounds_path' to '/var/lib/asterisk/sounds/custom' -- Executing [s@startIVR:4] Set(DAHDI/1-1, TIMEOUT(response)=20) in new stack -- Response timeout set to 200.000 -- Executing [s@startIVR:5] Set(DAHDI/1-1, TIMEOUT(digit)=30) in new stack -- Digit timeout set to 300.000 -- Executing [s@startIVR:6] BackGround(DAHDI/1-1, /var/lib/asterisk/sounds/custom/x) in new stack -- DAHDI/1-1 Playing '/var/lib/asterisk/sounds/custom/x.slin' (language 'br') [Feb 17 19:51:07] NOTICE[5188]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 2 [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 18 [Feb 17 19:51:07] NOTICE[5202]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 17 [Feb 17 19:51:07] NOTICE[5204]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 19 [Feb 17 19:51:07] NOTICE[5189]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 3 Chan 1 - Far end disconnected. Reason: Normal Clearing MFC/R2 call disconnected on channel 1 == Spawn extension (startIVR, s, 6) exited non-zero on 'DAHDI/1-1' MFC/R2 call end on channel 1 -- Hungup 'DAHDI/1-1' [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 18 - Segue a minha configuração: - # vi /etc/dahdi/system.conf # MFC R2 span=1,1,0,cas,hdb3 cas=1-15:1101 cas=17-31:1101 dchan=16 echocanceller=mg2,1-15,17-31 # vi /etc/asterisk/chan_dahdi.conf [channels] usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes group=1 callgroup=1 pickupgroup=1 busydetect=yes busycount=6 ; MFC R2 language=br usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes faxdetect=incoming signalling=mfcr2 mfcr2_variant=br mfcr2_get_ani_first=no mfcr2_max_ani=20 mfcr2_max_dnis=4 mfcr2_category=national_subscriber mfcr2_logdir=span1 ; The next three params are for debuging, you can disable when in production mfcr2_call_files=yes mfcr2_logdir=embratel mfcr2_logging=all mfcr2_mfback_timeout=4500 ;
Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
Boa noite... É sempre bom dar uma conferida nos cabos também... Pode ser algum mal contato nos conectores. Em 23/02/2015 19:59, Ronaldo Wochner ronald...@gmail.com escreveu: Roberto; Voce não informou o hardware que esta usando, mas tenta desativando o acpi no boot. No grub é: /boot/grub/grub.conf . acrescente acpi=off na linha de boot.. algo assim: title Linux Server (2.6.18-36.el5) root (hd0,0) kernel /vmlinuz-2.6.18-36.el5 ro root=/dev/VolGroup00/LogVol00 console=ttyS0,115200n8 *acpi=off* initrd /initrd-2.6.18-36.el5.img Aguardo seu retorno. Abraço Att. Ronaldo On Mon, Feb 23, 2015 at 5:13 PM, Roberto Carlos rc.1...@bol.com.br wrote: Estou tentando fazer funcionar uma E1 da Embratel MFC/R2 (São Paulo-SP) em uma placa TE110E no Asterisk 11.13.1 Debian 8 Jessie. Eu consigo fazer ligações e receber ligações via URA, mas as chamadas duram poucos segundos e todas sempre caem. Nesse mesmo servidor, tenho 4 linhas analógicas que funcionam perfeitamente. Os ramais SIP via softphone também funcionam perfeitamente. Os ATAS têm alguns problemas, mas isso deixarei para outro email. As mensagens que ficam aparecendo o tempo todo na CLI são: - [Feb 17 19:49:16] WARNING[5215]: chan_dahdi.c:8129 handle_alarms: Detected alarm on channel 1: Yellow Alarm [Feb 17 19:49:16] NOTICE[5199]: chan_dahdi.c:4030 handle_clear_alarms: Alarm cleared on channel 1 [Feb 17 19:49:16] NOTICE[5188]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 1 - Quando recebo uma ligação, aparece o seguinte: - New MFC/R2 call detected on chan 1. MFC/R2 call offered on chan 1. ANI = 11, DNIS = 6680, Category = National Subscriber MFC/R2 call has been accepted on backward channel 1 -- Executing [6680@embratel:1] Answer(DAHDI/1-1, ) in new stack -- Executing [6680@embratel:2] Goto(DAHDI/1-1, startIVR,s,2) in new stack -- Goto (startIVR,s,2) -- Executing [s@startIVR:2] NoOp(DAHDI/1-1, /var/lib/asterisk/sounds/custom) in new stack -- Executing [s@startIVR:3] Set(DAHDI/1-1, GLOBAL(sounds_path)=/var/lib/asterisk/sounds/custom) in new stack == Setting global variable 'sounds_path' to '/var/lib/asterisk/sounds/custom' -- Executing [s@startIVR:4] Set(DAHDI/1-1, TIMEOUT(response)=20) in new stack -- Response timeout set to 200.000 -- Executing [s@startIVR:5] Set(DAHDI/1-1, TIMEOUT(digit)=30) in new stack -- Digit timeout set to 300.000 -- Executing [s@startIVR:6] BackGround(DAHDI/1-1, /var/lib/asterisk/sounds/custom/x) in new stack -- DAHDI/1-1 Playing '/var/lib/asterisk/sounds/custom/x.slin' (language 'br') [Feb 17 19:51:07] NOTICE[5188]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 2 [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 18 [Feb 17 19:51:07] NOTICE[5202]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 17 [Feb 17 19:51:07] NOTICE[5204]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 19 [Feb 17 19:51:07] NOTICE[5189]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 3 Chan 1 - Far end disconnected. Reason: Normal Clearing MFC/R2 call disconnected on channel 1 == Spawn extension (startIVR, s, 6) exited non-zero on 'DAHDI/1-1' MFC/R2 call end on channel 1 -- Hungup 'DAHDI/1-1' [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 18 - Segue a minha configuração: - # vi /etc/dahdi/system.conf # MFC R2 span=1,1,0,cas,hdb3 cas=1-15:1101 cas=17-31:1101 dchan=16 echocanceller=mg2,1-15,17-31 # vi /etc/asterisk/chan_dahdi.conf [channels] usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes group=1 callgroup=1 pickupgroup=1 busydetect=yes busycount=6 ; MFC R2 language=br usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes faxdetect=incoming signalling=mfcr2 mfcr2_variant=br mfcr2_get_ani_first=no mfcr2_max_ani=20 mfcr2_max_dnis=4 mfcr2_category=national_subscriber mfcr2_logdir=span1 ; The next three params are for debuging, you can disable when in production mfcr2_call_files=yes mfcr2_logdir=embratel mfcr2_logging=all mfcr2_mfback_timeout=4500 ; mfcr2_mfback_timeout=-1 mfcr2_metering_pulse_timeout=-1 mfcr2_allow_collect_calls=no mfcr2_double_answer=yes mfcr2_immediate_accept=no mfcr2_forced_release=yes mfcr2_charge_calls=yes rxgain=5.0 txgain=5.0 context=embratel group=63 channel=1-15,17-31 #include dahdi-channels.conf # vi /etc/asterisk/dahdi-channels.conf ;
Re: [AsteriskBrasil] E1 da Embratel MFC/R2 - placa TE110 - Asterisk 11 - Debian 8 Jessie - as ligações sempre caem
Boa noite! Geralmente isso erro de escorregamento de link! RSlip. Tente aterrar a placa... E o rack tambm importante esses links so bem sistemticos. Veja se esta dando erro com o comando: cat /proc/interrupts Posta a saida do comando por favor! Sent using CloudMagic On seg, fev 23, 2015 at 6:29 PM, Roberto Carlos rc.1...@bol.com.br wrote:Estou tentando fazer funcionar uma E1 da Embratel MFC/R2 (São Paulo-SP) em uma placa TE110E no Asterisk 11.13.1 Debian 8 Jessie. Eu consigo fazer ligações e receber ligações via URA, mas as chamadas duram poucos segundos e todas sempre caem. Nesse mesmo servidor, tenho 4 linhas analógicas que funcionam perfeitamente. Os ramais SIP via softphone também funcionam perfeitamente. Os ATAS têm alguns problemas, mas isso deixarei para outro email. As mensagens que ficam aparecendo o tempo todo na CLI são: - [Feb 17 19:49:16] WARNING[5215]: chan_dahdi.c:8129 handle_alarms: Detected alarm on channel 1: Yellow Alarm [Feb 17 19:49:16] NOTICE[5199]: chan_dahdi.c:4030 handle_clear_alarms: Alarm cleared on channel 1 [Feb 17 19:49:16] NOTICE[5188]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 1 - Quando recebo uma ligação, aparece o seguinte: - New MFC/R2 call detected on chan 1. MFC/R2 call offered on chan 1. ANI = 11, DNIS = 6680, Category = National Subscriber MFC/R2 call has been accepted on backward channel 1 -- Executing [6680@embratel:1] Answer("DAHDI/1-1", "") in new stack -- Executing [6680@embratel:2] Goto("DAHDI/1-1", "startIVR,s,2") in new stack -- Goto (startIVR,s,2) -- Executing [s@startIVR:2] NoOp("DAHDI/1-1", "/var/lib/asterisk/sounds/custom") in new stack -- Executing [s@startIVR:3] Set("DAHDI/1-1", "GLOBAL(sounds_path)=/var/lib/asterisk/sounds/custom") in new stack == Setting global variable 'sounds_path' to '/var/lib/asterisk/sounds/custom' -- Executing [s@startIVR:4] Set("DAHDI/1-1", "TIMEOUT(response)=20") in new stack -- Response timeout set to 200.000 -- Executing [s@startIVR:5] Set("DAHDI/1-1", "TIMEOUT(digit)=30") in new stack -- Digit timeout set to 300.000 -- Executing [s@startIVR:6] BackGround("DAHDI/1-1", "/var/lib/asterisk/sounds/custom/x") in new stack -- DAHDI/1-1 Playing '/var/lib/asterisk/sounds/custom/x.slin' (language 'br') [Feb 17 19:51:07] NOTICE[5188]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 2 [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 18 [Feb 17 19:51:07] NOTICE[5202]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 17 [Feb 17 19:51:07] NOTICE[5204]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 19 [Feb 17 19:51:07] NOTICE[5189]: chan_dahdi.c:4412 dahdi_r2_on_line_blocked: Far end blocked on chan 3 Chan 1 - Far end disconnected. Reason: Normal Clearing MFC/R2 call disconnected on channel 1 == Spawn extension (startIVR, s, 6) exited non-zero on 'DAHDI/1-1' MFC/R2 call end on channel 1 -- Hungup 'DAHDI/1-1' [Feb 17 19:51:07] NOTICE[5203]: chan_dahdi.c:4421 dahdi_r2_on_line_idle: Far end unblocked on chan 18 - Segue a minha configuração: - # vi /etc/dahdi/system.conf # MFC R2 span=1,1,0,cas,hdb3 cas=1-15:1101 cas=17-31:1101 dchan=16 echocanceller=mg2,1-15,17-31 # vi /etc/asterisk/chan_dahdi.conf [channels] usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes group=1 callgroup=1 pickupgroup=1 busydetect=yes busycount=6 ; MFC R2 language=br usecallerid=yes callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes faxdetect=incoming signalling=mfcr2 mfcr2_variant=br mfcr2_get_ani_first=no mfcr2_max_ani=20 mfcr2_max_dnis=4 mfcr2_category=national_subscriber mfcr2_logdir=span1 ; The next three params are for debuging, you can disable when in production mfcr2_call_files=yes mfcr2_logdir=embratel mfcr2_logging=all mfcr2_mfback_timeout=4500 ; mfcr2_mfback_timeout=-1 mfcr2_metering_pulse_timeout=-1 mfcr2_allow_collect_calls=no mfcr2_double_answer=yes mfcr2_immediate_accept=no mfcr2_forced_release=yes mfcr2_charge_calls=yes rxgain=5.0 txgain=5.0 context=embratel group=63 channel=1-15,17-31 #include dahdi-channels.conf # vi /etc/asterisk/dahdi-channels.conf ; Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" group=0,11 channel = 1-15,17-31 group=63 context=embratel - Alguém poderia me dar alguma luz de onde estou errando? Obrigado. ___ KHOMP: completa linha de placas externas FXO, FXS, GSM