Conectar Troncal Telmex(Peru) a PBX ELASTIX

Conectar Troncal Telmex(Peru) a PBX ELASTIX

Posted Febrero 23rd, 2010 by Markus

Buenos dias.

He instlado Elastix como PBX en un servidor HP.
Contamos con una tarjeta E1 Digium TE122

La linea telefonica llega a travez de Fibra Opica y estaba conectada a una central telefonica Panasonic mediante un adaptador T1/E1 Copper-to-Fiber T1E1-CF-01
http://www.transition.com/TransitionNetworks/Uploads/Downloads/Obsolete/33112_T1E1CF01.pdf
Este adapatador en un conversor de fibra optica a E1 conector(rj45) . Bueno, Lo que se ha hecho es fabricar un cable par trenzado de acuerdo al manual del adaptador de la siguiente manera:

1 - 4
2 - 5
3 - 3
4 - 1
5 - 2
6 - 6
7 - 7
8 - 8

Al conectar a la tarjeta Digium me da alarma Azul (Blue/REC)

El archivo system.conf es:
--------------------------------------------------------------------------
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=oslec,1-15,17-31

# Global data

loadzone = us
defaultzone = us
---------------------------------------------------------------------------

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

;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: WCT1/0 "Wildcard TE122 Card 0" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63

Haber si podrian echar una mano en esto.

Gracias.

Marckus Fernandez

algunas ideas

- Prueba conectando solo estos hilos:

1 - 4
2 - 5
4 - 1
5 - 2

- Telmex usa CRC4?

- Prueba con un cable directo, he visto casos en que el modem/convertidor soporta esa confguracion. A veces tiene un switch al costado que alterna entre cableE1 y cable directo.

Saludos,

Ing.Daniel Pizarro
DCAP, Elastix Certified Engineer
Infobox

Posted by dpizarro on Mar, 2010-02-23 15:29
Gracias daniel. Por ahi he

Gracias daniel.

Por ahi he leido que tiene que desacativarse el CRC. Pero no se donde se hace eso.

Si he visto ese switch, lo probare con cable directo y les cuento como me va.

MArkus .

Posted by Markus on Mar, 2010-02-23 15:48
CRC4 off

Solo quita el texto "crc4" de la linea en el system.conf

Quedará así:

span=1,1,0,ccs,hdb3

Ing.Daniel Pizarro
DCAP, Elastix Certified Engineer
Infobox

Posted by dpizarro on Mar, 2010-02-23 16:58
CRC4 OFF

Bueno
Probe con el cable directo y con crc4 off y me sale igual
con dahdi_tool me muestra alarma que se intercambia entre BLU/REC y REC

pero al cambiar signalling = pri_net en dahdi-channels.conf ademas
me muestra en el log FULL

[Feb 23 11:52:16] VERBOSE[3499] logger.c: == Primary D-Channel on span 1 up
[Feb 23 11:52:16] WARNING[3499] chan_dahdi.c: PRI Error on span 0: We think we're the network, but they think they're the network, too.
[Feb 23 11:52:19] WARNING[3499] chan_dahdi.c: PRI Error on span 0: We think we're the network, but they think they're the network, too.

Que otras pruebas pordir hacer...?

Gracias

MArkus

Posted by Markus on Mar, 2010-02-23 18:32
crc/cable

La configuracion está correcta. Tienes que descartar el medio fisico (cableado/modem). Hiciste un nuevo cable?

Lo de cambiar a pri_net no tiene sentido porque no eres el lado del operador. Por eso te salieron los errores.

Ing.Daniel Pizarro
DCAP, Elastix Certified Engineer
Infobox

Posted by dpizarro on Mar, 2010-02-23 19:32
ALARMA OK

Bueno.

Segui tu consejo daniel, y me hize otro cable directo.
Y la alarma se puso en verde.(OK)
Probe haciendo una llamada a uno de los numeros de mi troncal
desde otro telefono y me respondio la operadoara en ingles (No he configurado aun mis rutas entrantes).

Gracias Daniel por tu tiempo.

Atte.

Markus

Posted by Markus on Mar, 2010-02-23 23:03