TE110P T1/E1 with Avaya G3r

jdabro
Joined: Wed 28 of Mar, 2007

Re: TE110P T1/E1 with Avaya G3r

Posted:Sat 23 of Jan, 2010 (19:00 UTC)
Issue resolved by modifying chan_dahdi.conf

[trunkgroups]

[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=0
callgroup=1
pickupgroup=1
language=en        
echotraining=800 
rxgain=0.0 
txgain=0.0 
immediate=no
signalling=pri_net 
switchtype=national 
prilocaldialplan=unknown 
context=default
channel => 1-23

jdabro
Joined: Wed 28 of Mar, 2007

TE110P T1/E1 with Avaya G3r

Posted:Sat 23 of Jan, 2010 (17:06 UTC)
I'm setting up a T1 trunk between an Avaya G3R and an asterisk via a Digium Wildcard TE110P T1/E1. I'd done this before with Zap drivers but I'm having trouble with DAHDI not seeing the channels. Here is what the server sees:

Asterisk SVN-group-srtp-r183146-/trunk, Copyright (C) 1999 - 2008 Digium, Inc. and others.

idsasterisk:/etc/asterisk# dahdi_hardware
pci:0000:00:02.0 wcte11xp+ e159:0001 Digium Wildcard TE110P T1/E1 Board


idsasterisk:/etc/asterisk# dahdi_scan
[1]
active=yes
alarms=OK
description=Digium Wildcard TE110P T1/E1 Card 0
name=WCT1/0
manufacturer=Digium
devicetype=Digium Wildcard TE110P T1/E1
location=PCI Bus 00 Slot 03
basechan=1
totchans=24
irq=20
type=digital-T1
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI
framing_opts=ESF,D4
coding=B8ZS
framing=D4

idsasterisk:/etc/asterisk# dahdi_cfg -vvv
DAHDI Tools Version - 2.2.0

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

SPAN 1: D4/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 08)
Channel 09: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 11)
Channel 12: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 12)
Channel 13: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 13)
Channel 14: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 14)
Channel 15: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 15)
Channel 16: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 17)
Channel 18: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 18)
Channel 19: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 19)
Channel 20: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 20)
Channel 21: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 21)
Channel 22: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 22)
Channel 23: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 23)
Channel 24: D-channel (Default) (Echo Canceler: none) (Slaves: 24)

24 channels to configure.

Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2
Setting echocan for channel 9 to mg2
Setting echocan for channel 10 to mg2
Setting echocan for channel 11 to mg2
Setting echocan for channel 12 to mg2
Setting echocan for channel 13 to mg2
Setting echocan for channel 14 to mg2
Setting echocan for channel 15 to mg2
Setting echocan for channel 16 to mg2
Setting echocan for channel 17 to mg2
Setting echocan for channel 18 to mg2
Setting echocan for channel 19 to mg2
Setting echocan for channel 20 to mg2
Setting echocan for channel 21 to mg2
Setting echocan for channel 22 to mg2
Setting echocan for channel 23 to mg2
Setting echocan for channel 24 to none


dahdi-channels.conf
Span 1
WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER) B8ZS/D4
group=0,11
context=from-pstn
switchtype = national
signalling = pri_net
channel => 1-23
context = default
group = 63

idsasterisk*CLI> dahdi show status
Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO
Digium Wildcard TE110P T1/E1 Card 0 OK 0 0 0 D4 B8ZS YEL 0 db (CSU)/0-133 feet (DSX-1)


idsasterisk*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service


As you can see the card appears fine but the channels don't show up. I had this working with d4,B8ZS and PRI_NET signalling when zap was an option. Here is the configuration on the Avaya side:

framing mode: d4
line coding: b8zs
set the signaling mode to isdn-pri
set the connect: Network
Set protocol version to B (national)
Interface Companding: mulaw
dd trunk-group next
direction: 2 way
service-type: tie
queue: 23
add signaling-group next
set the primary d-channel to the 24 line of your card, i.e 01B1524
add ports 01b1501 through 01b1523 with signaling-group set to the one previously defined.


My old config with zaptel:
zaptel.conf
span=1,1,0,d4,b8zs
bchan=1-23
dchan=24
defaultzone=us


zapata.conf
switchtype = national
overlapdial = yes
signalling = pri_net
channel => 1-23