[AsteriskBrasil] Configuração de E1 VIVO particionado (10 canais)

Eduardo araujo eduardo em abcconnect.com.br
Segunda Agosto 31 15:17:31 BRT 2015


Boa tarde, Fabio.
Levando em consideração que suas configurações sobre E1 esteja ok, 
exemplos: pacotes como openr2 que é fundamental para funcionar com link 
R2Digital.
Você pode tentar da seguinte maneira:

1º No seu arquivo de configuração /etc/dahdi/system.conf



span=1,1,0,cas,hdb3
cas = 1-15:1101
dchan=16
cas = 17-31:1101


echocanceller=oslec,1-15,17-31
loadzone= br
defaultzone= br

no seu arquivo /etc/asterisk/chan_dahdi.conf


[channels]
context=default

signalling=mfcr2

mfcr2_variant=br

mfcr2_immediate_accept=no

mfcr2_get_ani_first=no

mfcr2_max_ani=20

mfcr2_max_dnis=4

mfcr2_category=national_subscriber

mfcr2_mfback_timeout=3000

mfcr2_metering_pulse_timeout=-1

mfcr2_allow_collect_calls=no

mfcr2_charge_calls=yes

mfcr2_double_answer=no

group=1

channel=>1-15,17-31


Lembrando que eu não uso Elastix ok?


Cordialmente,





On 08/31/2015 12:22 PM, Fabio wrote:
>
> Senhores, bom dia.
>
> Estou tentando configurar um E1 da VIVO com apenas 10 canais. Não 
> achei tutorial algum e o que eu fiz, pelo jeito, não funcionou. :P heheh
>
> Alguém poderia dar uma luz?
>
> A placa foi reconhecida como Span2 por causa de uma TDM400P que ficou 
> no Span1 e esta como MASTER(?!?!?). “Pode isso, Arnaldo?”
>
> Qual seria o canal para sincronismo, ou seja, aquele canal no meio do e1?
>
> Minhas configs no Elastix:
>
> System.conf
>
> #
>
> # Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
>
> fxsks=1
>
> echocanceller=oslec,1
>
> fxsks=2
>
> echocanceller=oslec,2
>
> fxsks=3
>
> echocanceller=oslec,3
>
> fxsks=4
>
> echocanceller=oslec,4
>
> # Span 2: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0"
>
> span=2,1,0,cas,hdb3
>
> # termtype: te
>
> #cas=5-19:1101
>
> #cas=21-35:1101
>
> cas=5-14
>
> echocanceller=oslec,5-14
>
> #dchan=20
>
> #echocanceller=oslec,5-35
>
> # Global data
>
> loadzone        = br
>
> defaultzone     = br
>
> chan_dahdi.conf
>
> ; Auto-generated by /usr/sbin/hardware_detector
>
> [trunkgroups]
>
> [channels]
>
> context=from-pstn
>
> signalling=fxs_ks
>
> rxwink=300              ; Atlas seems to use long (250ms) winks
>
> usecallerid=yes
>
> hidecallerid=no
>
> callwaiting=yes
>
> usecallingpres=yes
>
> callwaitingcallerid=yes
>
> threewaycalling=yes
>
> transfer=yes
>
> canpark=yes
>
> cancallforward=yes
>
> callreturn=yes
>
> echocancel=yes
>
> echocancelwhenbridged=no
>
> faxdetect=incoming
>
> echotraining=800
>
> rxgain=0.0
>
> txgain=0.0
>
> callgroup=1
>
> pickupgroup=1
>
> relaxdtmf=yes
>
> ;;===LINK E1 VIVO 5511XXXXXXXX===
>
> callerid=11XXXXXXXX
>
> signalling=mfcr2
>
> mfcr2_variant=br
>
> mfcr2_immediate_accept=no
>
> 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_allow_collect_calls=yes
>
> ;mfcr2_charge_calls=yes
>
> mfcr2_double_answer=no
>
> mfcr2_logdir=span2
>
> mfcr2_call_files=yes
>
> mfcr2_logging=all
>
> group=5
>
> channel=>5-14
>
> ;channel=>5-19,21-35
>
> ;Uncomment these lines if you have problems with the disconection of 
> your analog lines
>
> ;busydetect=yes
>
> ;busycount=3
>
> immediate=no
>
> #include dahdi-channels.conf
>
> #include chan_dahdi_additional.conf
>
> dahdi-channels.conf
>
> ; Span 1: WCTDM/4 "Wildcard TDM400P REV E/F Board 5" (MASTER)
>
> ;;; line="1 WCTDM/4/0 FXSKS"
>
> signalling=fxs_ks
>
> callerid=asreceived
>
> group=0
>
> context=from-pstn
>
> channel => 1
>
> callerid=
>
> group=
>
> context=default
>
> ;;; line="2 WCTDM/4/1 FXSKS"
>
> signalling=fxs_ks
>
> callerid=asreceived
>
> group=0
>
> context=from-pstn
>
> channel => 2
>
> callerid=
>
> group=
>
> context=default
>
> ;;; line="3 WCTDM/4/2 FXSKS"
>
> signalling=fxs_ks
>
> callerid=asreceived
>
> group=0
>
> context=from-pstn
>
> channel => 3
>
> callerid=
>
> group=
>
> context=default
>
> ;;; line="4 WCTDM/4/3 FXSKS"
>
> signalling=fxs_ks
>
> callerid=asreceived
>
> group=0
>
> context=from-pstn
>
> channel => 4
>
> callerid=
>
> group=
>
> context=default
>
> ; Span 2: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0"
>
> group=5
>
> context=from-pstn
>
> ;switchtype = euroisdn
>
> signalling = mfcr2
>
> channel => 5-14
>
> ;channel => 5-19,21-35
>
> context = default
>
> ;group = 5
>
> Agradeço imensamente qualquer ajuda.
>
> Abraços
>
> Fabio
>
>
>
> _______________________________________________
> KHOMP: Primeira edição do WORKOFFEE CAMPO GRANDE acontecerá
> dia 19/09 no Grand Park Hotel. Conheça todo portfólio KHOMP
> e o recém lançado NGP. Faça já sua INSCRIÇÃO GRATUITA em
> www.workoffee.com.br. Sorteio de brindes no encerramento.
> _______________________________________________
> 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-unsubscribe at listas.asteriskbrasil.org

-- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20150831/6e7c56f0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ABC_assinatura_e-mail_2015_Eduardo.png
Type: image/png
Size: 90652 bytes
Desc: not available
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20150831/6e7c56f0/attachment-0001.png>


Mais detalhes sobre a lista de discussão AsteriskBrasil