keywords: ip pbx voip gateway gsm gateway

× Questions about D110/210/410 T1/E1/J1 PRI Cards

DE410P + D210P connection problem

11 years 11 months ago #6673 by giuliano
Hello,
I'm trying to connect two asterisk 1.4.39 boxes using a cressed cable and 2 PRI cards.
Cables has the following wiring pattern:
1->4
2->5
4->1
5->2

server 1 has the 210p card with the following config:
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
span=1,0,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
#echocanceller=oslec,1-15,17-31

# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4
span=2,1,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47
#echocanceller=oslec,32-46,48-62

# Global data

loadzone = us
defaultzone = us

and dahdi-channel.conf
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER) HDB3/CCS/CRC4
group=11
context=from-internal
switchtype = euroisdn
signalling = pri_net
channel => 1-15,17-31

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" HDB3/CCS/CRC4
group=12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62




server 2 has the de410p card with the following config:
# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,0,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=oslec,1-15,17-31

# Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"
span=2,0,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
dchan=47
echocanceller=oslec,32-46,48-62

# Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"
span=3,1,0,ccs,hdb3,crc4
# termtype: te
bchan=63-77,79-93
dchan=78
echocanceller=oslec,63-77,79-93

# Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"
span=4,1,0,ccs,hdb3,crc4
# termtype: te
bchan=94-108,110-124
dchan=109
echocanceller=oslec,94-108,110-124

# Global data

loadzone = us
defaultzone = us

and dahdi-channel.conf
; Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
group=1
context=from-internal
switchtype = euroisdn
signalling = pri_net
channel => 1-15,17-31

; Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"
group=1
context=from-internal
switchtype = euroisdn
signalling = pri_net
channel => 32-46,48-62

; Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"
group=2
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 63-77,79-93

; Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"
group=2
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 94-108,110-124


server1 span1 is connected to server 2 span 3
dahdi_tools reports the two ports as OK but in the details both are internally clocked
if I try to place a call on DAHDI/g1/123 from server1 to server2 I get a channel busy answer.
In the asterisk full log I have lots of
WARNING[6847] chan_dahdi.c: No D-channels available! Using Primary channel 16 as D-channel anyway!

I've updated the dahdi drivers and the libpri to the latest available for elastix 1.6 with the same result.

Any idea on what's going on ?

thanks

Giuliano
11 years 11 months ago #6677 by james.zhu
hi:
I think the way you are testing is not very correct. please review your setting.
and try in this way:
server 1:
span=1,0,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
#echocanceller=oslec,1-15,17-31
============
group=1
context=from-internal
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
server 2:
span=1,0,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
#echocanceller=oslec,1-15,17-31
============
group=1
context=from-internal
switchtype = euroisdn
signalling = pri_net
channel => 1-15,17-31
span 1 in server 1connects span 1 in server 2.

11 years 11 months ago #6678 by Jessie.liao
Hi,
Please set as James.zhu said.
If you want to make a call via g1,you should set goup=1 and please comment echocanceller in /etc/dahdi/system.conf.

11 years 11 months ago #6688 by giuliano
Hi,
thanks for the suggestions. Should I comment out echo cancel even if the card has the ec module installed ?

I did some other testing and the problem seems to be hardware-related. The server with the 4 pri card has an asus p5ql-cm with latest biosmotherboard. If I install the 2pri card on the same motherboard it's not recognized, no matter which pci slot I use. I tried the 4 Pri card on another pc and it works like a charm. Is there any know incompatibility with some chipsets ?

tia

giuliano
11 years 11 months ago #6689 by Jessie.liao
Hi,
Echocanceller should be commented in /etc/dahdi/system.conf but in /etc/asterisk/chan_dahdi.conf you should set echocancel=yes.

Is there intterupts conflict on the motherboard?

Time to create page: 0.032 seconds
Powered by Kunena Forum