[AsteriskBrasil] Elastix 1.6 Openr2 com Tc Digitronco Telemar E1

Jovino Goncalves jovenfino2 em yahoo.com.br
Segunda Junho 7 22:09:31 BRT 2010


Por favor me ajudem nessa! É seguinte tô usando elastix 1.6 que já com openr2 nativo em um servidor com uma placa digium e122p. A Telemar/Oi instalou o Tc Digitronco a placa sinaliza tudo OK[Green]. Mas o técnico de campo(telemont) disse que meu pabx eh imcompatível. Sei que não é! E acho que as linhas não estão ativas porque CAS RX tah BLOCK. Você poderia me tirar essa dúvida? O problema está no Elastix ou são minhas linas que ainda não estão ativas? :(

Aqui vão minha configurações:

/etc/dahdi/system.conf
span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
dchan=16
echocanceller=oslec,1-15,17-31
loadzone    = br
defaultzone    = br

dahdi_cfg -vvvvd
DAHDI Tools Version - 2.2.0
Line 10: span=1,1,0,cas,hdb3
Line 15: cas=1-15:1101
Line 16: cas=17-31:1101
Line 18: dchan=16
Line 19: echocanceller=oslec,1-15,17-31
Line 23: loadzone    = br
Line 24: defaultzone    = br
<End of File>

DAHDI Version: 2.2.0.2
Echo Canceller(s): OSLEC
Configuration
======================

SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 04)
Channel 05: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 05)
Channel 06: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 06)
Channel 07: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 07)
Channel 08: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 08)
Channel 09: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 09)
Channel 10: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 10)
Channel 11: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 11)
Channel 12: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 12)
Channel 13: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 13)
Channel 14: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 14)
Channel 15: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 15)
Channel 16: D-channel (Default) (Echo Canceler: none) (Slaves: 16)
Channel 17: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 17)
Channel 18: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 18)
Channel 19: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 19)
Channel 20: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 20)
Channel 21: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 21)
Channel 22: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 22)
Channel 23: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 23)
Channel 24: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 24)
Channel 25: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 25)
Channel 26: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 26)
Channel 27: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 27)
Channel 28: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 28)
Channel 29: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 29)
Channel 30: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 30)
Channel 31: CAS / User (Default) (Echo Canceler: oslec) (Slaves: 31)

31 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
Setting echocan for channel 4 to oslec
Setting echocan for channel 5 to oslec
Setting echocan for channel 6 to oslec
Setting echocan for channel 7 to oslec
Setting echocan for channel 8 to oslec
Setting echocan for channel 9 to oslec
Setting echocan for channel 10 to oslec
Setting echocan for channel 11 to oslec
Setting echocan for channel 12 to oslec
Setting echocan for channel 13 to oslec
Setting echocan for channel 14 to oslec
Setting echocan for channel 15 to oslec
Setting echocan for channel 16 to none
Setting echocan for channel 17 to oslec
Setting echocan for channel 18 to oslec
Setting echocan for channel 19 to oslec
Setting echocan for channel 20 to oslec
Setting echocan for channel 21 to oslec
Setting echocan for channel 22 to oslec
Setting echocan for channel 23 to oslec
Setting echocan for channel 24 to oslec
Setting echocan for channel 25 to oslec
Setting echocan for channel 26 to oslec
Setting echocan for channel 27 to oslec
Setting echocan for channel 28 to oslec
Setting echocan for channel 29 to oslec
Setting echocan for channel 30 to oslec
Setting echocan for channel 31 to oslec

/etc/asterisk/chan_dahdi.conf
[channels]
context=from-pstn
signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=yes
mfcr2_max_ani=20
mfcr2_max_dnis=20
mfcr2_category=national_subscriber
mfcr2_logdir=openr2
mfcr2_call_files=no
mfcr2_logging=all
mfcr2_metering_pulse_timeout=500
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=yes
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

;Uncomment these lines if you have problems with the disconection of your analog lines
;busydetect=yes
;busycount=3


immediate=no

;#include dahdi-channels.conf
channel=>1-15,17-31
;#include chan_dahdi_additional.conf

pbx-alem*CLI> mfcr2 show channels
Chan Variant Max ANI Max DNIS ANI First Immediate Accept Tx CAS   Rx CAS  
   1 BR      20      20       Yes       No               IDLE     BLOCK   
   2 BR      20      20       Yes       No               IDLE     BLOCK   
   3 BR      20      20       Yes       No               IDLE     BLOCK   
   4 BR      20      20       Yes       No               IDLE     BLOCK   
   5 BR      20      20       Yes       No               IDLE     BLOCK   
   6 BR      20      20       Yes       No               IDLE     BLOCK   
   7 BR      20      20       Yes       No               IDLE     BLOCK   
   8 BR      20      20       Yes       No               IDLE     BLOCK   
   9 BR      20      20       Yes       No               IDLE     BLOCK   
  10 BR      20      20       Yes       No               IDLE     BLOCK   
  11 BR      20      20       Yes       No               IDLE     BLOCK   
  12 BR      20      20       Yes       No               IDLE     BLOCK   
  13 BR      20      20       Yes       No               IDLE     BLOCK   
  14 BR      20      20       Yes       No               IDLE     BLOCK   
  15 BR      20      20       Yes       No               IDLE     BLOCK   
  17 BR      20      20       Yes       No               IDLE     BLOCK   
  18 BR      20      20       Yes       No               IDLE     BLOCK   
  19 BR      20      20       Yes       No               IDLE     BLOCK   
  20 BR      20      20       Yes       No               IDLE     BLOCK   
  21 BR      20      20       Yes       No               IDLE     BLOCK   
  22 BR      20      20       Yes       No               IDLE     BLOCK   
  23 BR      20      20       Yes       No               IDLE     BLOCK   
  24 BR      20      20       Yes       No               IDLE     BLOCK   
  25 BR      20      20       Yes       No               IDLE     BLOCK   
  26 BR      20      20       Yes       No               IDLE     BLOCK   
  27 BR      20      20       Yes       No               IDLE     BLOCK   
  28 BR      20      20       Yes       No               IDLE     BLOCK   
  29 BR      20      20       Yes       No               IDLE     BLOCK   
  30 BR      20      20       Yes       No               IDLE     BLOCK   
  31 BR      20      20       Yes       No               IDLE     BLOCK   

O que mais me intriga eh que a coluna do RxB do dahdi_tool fica sempre em 11111-111111 quando inicio o asterisk.

[ ]'s,

Jovino Gonçalves.





      


      


Mais detalhes sobre a lista de discussão AsteriskBrasil