[asterisk-users] TE121 on Asterisk
Michel Verbraak
michel at verbraak.org
Thu Feb 26 01:52:37 CST 2009
Oguzhan Kayhan schreef:
>>> Oguzhan Kayhan wrote:
>>>
>>>> I want to change it to E1 instead of T1.
>>>> here comes the problem.
>>>>
>>>>
>>> If it's anything like the older cards, there is a jumper on the card
>>> that sets it to T1/E1
>>>
>>> Doug
>>>
>>>
>> Yes,
>> I just noticed the jumper on the card.
>> Thanks a lot.
>>
>>
>>
> Yes i changed the jumper to enable E1.
> dahdi_scan shows the following
> [1]
> active=yes
> alarms=UNCONFIGURED
> description=Wildcard TE121 Card 0
> name=WCT1/0
> manufacturer=Digium
> devicetype=Wildcard TE121 with VPMADT032
> location=PCI Bus 04 Slot 09
> basechan=1
> totchans=31
> irq=17
> type=digital-E1
> syncsrc=0
> lbo=0 db (CSU)/0-133 feet (DSX-1)
> coding_opts=HDB3
> framing_opts=CCS,CRC4
> coding=
> framing=
>
> But when i try to run dahdi_genconf i got the following error.
>
> 31 channels in a T1 span at /usr/local/share/perl/5.10.0/Dahdi/Span.pm
> line 244.
>
>
> dahdi_hardware
> 31 channels in a T1 span at /usr/local/share/perl/5.10.0/Dahdi/Span.pm
> line 244.
>
>
There is a bug in the perl module. I had the same problem. It trips over
the following part "*WCT1/0*" in "*WCT1/0* "Wildcard TE121 Card 0"
(MASTER) HDB3/CCS". It finds the text T1 in there and expects it to be a
T1 jumpered card in stead of an E1 jumpered card and it tries to create
a T1 system.conf file. I still need to make a bug report about this.
Your card is probably working allright. Create the right system.conf
file in /etc/dahdi/
Mine has (E1 for Dutch KPN ISDN15/20/30) and the following lines:
/# Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER) HDB3/CCS/CRC4 RECOVERING
span=1,1,0,ccs,hdb3
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31
/
Probably you have to enter ",CRC4" at the end of the span line.
(span=1,1,0,ccs,hdb3,crc4)
When you edited the file do a:
# 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)
<SNIP>
Channel 15: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 15)
Channel 16: D-channel (Default) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 17)
<SNIP>
Channel 31: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 31)
31 channels to configure.
Setting echocan for channel 1 to mg2
<SNIP>
And followed by:
#cat /proc/dahdi/1
Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER) HDB3/CCS
IRQ misses: 1
1 WCT1/0/1 Clear (In use) (EC: MG2)
2 WCT1/0/2 Clear (In use) (EC: MG2)
3 WCT1/0/3 Clear (In use) (EC: MG2)
4 WCT1/0/4 Clear (In use) (EC: MG2)
5 WCT1/0/5 Clear (In use) (EC: MG2)
6 WCT1/0/6 Clear (In use) (EC: MG2)
7 WCT1/0/7 Clear (In use) (EC: MG2)
8 WCT1/0/8 Clear (In use) (EC: MG2)
9 WCT1/0/9 Clear (In use) (EC: MG2)
10 WCT1/0/10 Clear (In use) (EC: MG2)
11 WCT1/0/11 Clear (In use) (EC: MG2)
12 WCT1/0/12 Clear (In use) (EC: MG2)
13 WCT1/0/13 Clear (In use) (EC: MG2)
14 WCT1/0/14 Clear (In use) (EC: MG2)
15 WCT1/0/15 Clear (In use) (EC: MG2)
16 WCT1/0/16 HDLCFCS (In use)
17 WCT1/0/17 Clear (EC: MG2)
18 WCT1/0/18 Clear (EC: MG2)
19 WCT1/0/19 Clear (EC: MG2)
20 WCT1/0/20 Clear (EC: MG2)
21 WCT1/0/21 Clear (EC: MG2)
22 WCT1/0/22 Clear (EC: MG2)
23 WCT1/0/23 Clear (EC: MG2)
24 WCT1/0/24 Clear (EC: MG2)
25 WT1/0/25 Clear (EC: MG2)
26 WCT1/0/26 Clear (EC: MG2)
27 WCT1/0/27 Clear (EC: MG2)
28 WCT1/0/28 Clear (EC: MG2)
29 WCT1/0/29 Clear (EC: MG2)
30 WCT1/0/30 Clear (EC: MG2)
31 WCT1/0/31 Clear (EC: MG2)
I have a ISDN15 connected to it so only 15 lines are in use. If you see
something like YELLOW or RED or BLUE in the previous something is wrong
with your line. I had this first but this was because I had the CRC4
option added to my system.conf file. Your syslog log file
/var/log/messages wil tell also if you have an alarm.
Regards, Michel.
>
> What should i do about it?
>
>
>
>>
>>> --
>>>
>>> Ben Franklin quote:
>>>
>>> "Those who would give up Essential Liberty to purchase a little
>>> Temporary
>>> Safety, deserve neither Liberty nor Safety."
>>>
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>>
>>>
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090226/370ff6ed/attachment.htm
More information about the asterisk-users
mailing list