[asterisk-users] TE121 on Asterisk

Oguzhan Kayhan oguzhank at bilkent.edu.tr
Wed Feb 25 09:00:45 CST 2009


Hello, I just bought a TE121 T1/E1 card, and now trying to install it on a
1.4.23.1 asterisk with dahdi 2.1.0.4
Actually first everything went on well and i managed to see my card on dahdi.
Here's the output:
#asterisk# dahdi_hardware
pci:0000:04:08.0     wcte12xp+    d161:8000 Wildcard TE121

and this is the scan:
--------------------------
asterisk# dahdi_scan
[1]
active=yes
alarms=RED
description=Wildcard TE121 Card 0
name=WCT1/0
manufacturer=Digium
devicetype=Wildcard TE121 with VPMADT032
location=PCI Bus 04 Slot 09
basechan=1
totchans=24
irq=17
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
--------------------------
 and this is the proc output

asterisk# cat /proc/dahdi/1
Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER) B8ZS/ESF RED
        IRQ misses: 1

           1 WCT1/0/1 Clear RED (EC: MG2)
           2 WCT1/0/2 Clear RED (EC: MG2)
           3 WCT1/0/3 Clear RED (EC: MG2)
           4 WCT1/0/4 Clear RED (EC: MG2)
           5 WCT1/0/5 Clear RED (EC: MG2)
           6 WCT1/0/6 Clear RED (EC: MG2)
           7 WCT1/0/7 Clear RED (EC: MG2)
           8 WCT1/0/8 Clear RED (EC: MG2)
           9 WCT1/0/9 Clear RED (EC: MG2)
          10 WCT1/0/10 Clear RED (EC: MG2)
          11 WCT1/0/11 Clear RED (EC: MG2)
          12 WCT1/0/12 Clear RED (EC: MG2)
          13 WCT1/0/13 Clear RED (EC: MG2)
          14 WCT1/0/14 Clear RED (EC: MG2)
          15 WCT1/0/15 Clear RED (EC: MG2)
          16 WCT1/0/16 Clear RED (EC: MG2)
          17 WCT1/0/17 Clear RED (EC: MG2)
          18 WCT1/0/18 Clear RED (EC: MG2)
          19 WCT1/0/19 Clear RED (EC: MG2)
          20 WCT1/0/20 Clear RED (EC: MG2)
          21 WCT1/0/21 Clear RED (EC: MG2)
          22 WCT1/0/22 Clear RED (EC: MG2)
          23 WCT1/0/23 Clear RED (EC: MG2)
          24 WCT1/0/24 HDLCFCS RED
-----------------

I want to change it to E1 instead of T1.
here comes the problem.
Default system.conf under /etc/dundi is:
span=1,1,0,esf,b8zs
bchan=1-23
dchan=24
echocanceller=mg2,1-23
loadzone        = us
defaultzone     = us
------

to make it work as E1, if i write a new span like span=1,1,0,ccs,hdb3,crc4
i got the following error when i type dahdi_cfg
dahdi_cfg -vvvv
DAHDI Tools Version - 2.1.0.2

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

SPAN 1: 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: 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) (Slaves: 24)

24 channels to configure.

DAHDI_SPANCONFIG failed on span 1: Invalid argument (22)




How can i set a working E1.
Any examples will welcome..






More information about the asterisk-users mailing list