Question : How to configure dahdi channels

I'm switching from zaptel to dahdi and am having problems configuring the channels.

When I connect the channel bank to the Digium card, dahdi_tool shows the alarm on the span going from RED to YEL to UNCONFIGURED

What am I missing or doing wrong?

Current config:

[root@021asterisk101 ~]# /usr/sbin/dahdi_hardware
pci:0000:07:08.0     wct4xxp+     d161:0420 Wildcard TE420 (4th Gen)

[root@021asterisk101 ~]# /sbin/lsmod | grep wct4xxp
wct4xxp               348640  0
dahdi                 196168  5 wct4xxp


[root@021asterisk101 ~]# cat /etc/dahdi/system.conf

span=1,0,0,esf,b8zs
span=2,0,0,esf,b8zs
span=3,0,0,esf,b8zs

loadzone        = us
defaultzone     = us


[root@021asterisk101 ~]# /usr/sbin/dahdi_scan
[1]
active=yes
alarms=UNCONFIGURED
description=T4XXP (PCI) Card 0 Span 1
name=TE4/0/1
manufacturer=Digium
devicetype=Wildcard TE420 (4th Gen) (VPMOCT128)
location=Board ID Switch 0
basechan=1
totchans=24
irq=162
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=ESF
[2]
active=yes
alarms=RED
description=T4XXP (PCI) Card 0 Span 2
name=TE4/0/2
manufacturer=Digium
devicetype=Wildcard TE420 (4th Gen) (VPMOCT128)
location=Board ID Switch 0
basechan=25
totchans=24
irq=162
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=ESF
[3]
active=yes
alarms=RED
description=T4XXP (PCI) Card 0 Span 3
name=TE4/0/3
manufacturer=Digium
devicetype=Wildcard TE420 (4th Gen) (VPMOCT128)
location=Board ID Switch 0
basechan=49
totchans=24
irq=162
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=ESF


[root@021asterisk101 ~]# cat chan_dahdi.conf
[trunkgroups]

[channels]
context=incomingsip
switchtype=national
signalling=fxo_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=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1

immediate=no

group=1
context=localonly
callerid=asreceived
signalling=fxo_ks
channel => 1-8,17,23,28,33,35,36,40,43,47,49,50,53,55,57,63-69

group=2
context=ldonly
callerid=asreceived
signalling=fxo_ks
channel => 11-16,21,22,24-27,30-32,34,41,42,46,48,51-52,54,67,68,70,71

group=3
context=ldandinformation
callerid=asreceived
signalling=fxo_ks
channel => 37-39,56,59,62

group=4
context=ldandinformationandchecks
callerid=asreceived
signalling=fxo_ks
channel => 60,61

group=5
context=faxmodem
pulsedial=yes
callerid=asreceived
faxdetect=both
signalling=fxo_ks
channel => 18-20,44,45,58,69,72


Answer : How to configure dahdi channels

The solution was to add these 3 missing lines to system.conf

fxoks=1-24
fxoks=25-48
fxoks=49-72

I feel dumb now since those are basic/required settings that I always configure in zaptel.conf and should have known that they needed to be in system.conf.
Random Solutions  
 
programming4us programming4us