Page 1 of 1

Configuring TE235 dual span

PostPosted: Mon Nov 15, 2021 11:23 am
by worseo
Hello all here, thank you all for your initial support and I a getting to understand vicidial and asterisk more and more. I still need your help.

I have install vicibox 10
Closter on three serversas below
Server0-DB/WEB
Server1-Dialer1 with TE135F digium single span card
Server2-Dialer2 with Te235 digium dual span card

On the Dialer1 all is well and I can make test inbound and outbound calls.

On dialer2, the card is always in T1 mode when I run dahdi_scan

Please see below my configs and show commands.

dialer02:~ # dahdi_scan
[1]
active=yes
alarms=UNCONFIGURED
description=WCTE23X (PCI) Card 0 Span 1
name=WCTE2/0/1
manufacturer=Digium
devicetype=Wildcard TE235
location=PCI Bus 179 Slot 01
basechan=1
totchans=24
irq=0
type=digital-T1
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI
framing_opts=ESF,D4
coding=
framing=CAS
[2]
active=yes
alarms=UNCONFIGURED
description=WCTE23X (PCI) Card 0 Span 2
name=WCTE2/0/2
manufacturer=Digium
devicetype=Wildcard TE235
location=PCI Bus 179 Slot 01
basechan=25
totchans=24
irq=0
type=digital-T1
syncsrc=0
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI
framing_opts=ESF,D4
coding=
framing=CAS


dialer02:~ # dahdi_cfg -vvv
DAHDI Tools Version - 3.1.0

DAHDI Version: 3.1.0
Echo Canceller(s):
Configuration
======================

SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 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: D-channel (Default) (Echo Canceler: none) (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: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 24)
Channel 25: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 25)
Channel 26: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 26)
Channel 27: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 27)
Channel 28: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 28)
Channel 29: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 29)
Channel 30: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 30)
Channel 31: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 31)
Channel 32: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 32)
Channel 33: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 33)
Channel 34: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 34)
Channel 35: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 35)
Channel 36: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 36)
Channel 37: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 37)
Channel 38: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 38)
Channel 39: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 39)
Channel 40: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 40)
Channel 41: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 41)
Channel 42: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 42)
Channel 43: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 43)
Channel 44: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 44)
Channel 45: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 45)
Channel 46: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 46)
Channel 47: D-channel (Default) (Echo Canceler: none) (Slaves: 47)
Channel 48: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 48)
Channel 49: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 49)
Channel 50: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 50)
Channel 51: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 51)
Channel 52: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 52)
Channel 53: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 53)
Channel 54: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 54)
Channel 55: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 55)
Channel 56: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 56)
Channel 57: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 57)
Channel 58: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 58)
Channel 59: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 59)
Channel 60: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 60)
Channel 61: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 61)
Channel 62: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 62)

62 channels to configure.

DAHDI_SPANCONFIG failed on span 1: Invalid argument (22)


Configuration files

/etc/dahdi/system.conf

# Span 1: WCTE2/0/1 "WCTE23X (PCI) Card 0 Span 1" (MASTER) ESF/B8ZS RED
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31

# Span 2: WCTE2/0/2 "WCTE23X (PCI) Card 0 Span 2" ESF/B8ZS RED
span=2,2,0,ccs,hdb3
# termtype: te
bchan=32-46,48-62
dchan=47
echocanceller=mg2,32-46,48-62

# Global data

loadzone = uk
defaultzone = uk

/etc/modprobe.d/dahdi-blacklist.conf

blacklist wct4xxp
blacklist wcte12xp
blacklist wcte13xp
blacklist wct1xxp
blacklist wcte11xp
blacklist wctdm24xxp
blacklist wcfxo
blacklist wctdm
blacklist wctc4xxp
blacklist wcb4xxp
blacklist wcaxx
#blacklist wcte43x

# Some mISDN drivers may try to attach to cards supported by DAHDI. If you
# have a card which is *not* supported by DAHDI but supported by one of the
# below drivers you should feel free to remove it from the blacklist below.
blacklist hfcmulti
blacklist netjet
blacklist hfcpci


/etc/asterisk/dahdi-channels.conf

; Span 1: WCTE2/0/1 "WCTE23X (PCI) Card 0 Span 1" (MASTER) ESF/B8ZS RED
group=0,11
context=incoming
switchtype = national
signalling = pri_cpe
channel => 1-31
context = trunkinbound
group = 63

; Span 2: WCTE2/0/2 "WCTE23X (PCI) Card 0 Span 2" ESF/B8ZS RED
group=0,12
context=incoming
switchtype = national
signalling = pri_cpe
channel => 32-62
context = trunkinbound
group = 63


Please help me I am lost though I manage to get the single span up.

Re: Configuring TE235 dual span

PostPosted: Mon Nov 15, 2021 11:25 am
by worseo
Sorry I omitted this one

/etc/modprobe.d/dahdi.conf
options wcte43x default_linemode=e1

Re: Configuring TE235 dual span

PostPosted: Tue Nov 16, 2021 1:23 am
by striker
can you type dahdi_genconf -v
and post back the output..

Re: Configuring TE235 dual span

PostPosted: Tue Nov 16, 2021 4:33 am
by worseo
striker wrote:can you type dahdi_genconf -v
and post back the output..


this is the output

dialer02:~ # dahdi_genconf -v
Default parameters from /etc/dahdi/genconf_parameters
Generating /etc/dahdi/assigned-spans.conf
cut: '/sys/bus/dahdi_devices/devices/pci:0000:b3:00.0/spantype': No such file or directory
Generating /etc/dahdi/system.conf
Generating /etc/asterisk/dahdi-channels.conf

Re: Configuring TE235 dual span

PostPosted: Tue Nov 16, 2021 4:57 am
by striker
can you remove dahdi and reinstall dahdi
and then run dahdi_genconf -v

Re: Configuring TE235 dual span

PostPosted: Tue Nov 16, 2021 5:42 am
by worseo
striker wrote:can you remove dahdi and reinstall dahdi
and then run dahdi_genconf -v



Which version of dahdi should I install using vicibox 10

Re: Configuring TE235 dual span

PostPosted: Tue Nov 16, 2021 5:51 am
by worseo
worseo wrote:
striker wrote:can you remove dahdi and reinstall dahdi
and then run dahdi_genconf -v



Which version of dahdi should I install using vicibox 10

I am using opensuse

Re: Configuring TE235 dual span

PostPosted: Tue Nov 16, 2021 7:04 am
by worseo
worseo wrote:
worseo wrote:
striker wrote:can you remove dahdi and reinstall dahdi
and then run dahdi_genconf -v



Which version of dahdi should I install using vicibox 10

I am using opensuse



I did remove and reinstall same version but still get the same error. (Version - 3.1.0
)

Re: Configuring TE235 dual span

PostPosted: Tue Nov 16, 2021 7:16 am
by worseo
Is anyone available to help me with this for a fee? This seems to be hard for me and I am out of time.