[Home]

Summary:ASTERISK-04057: Zaptel/TE405P broken
Reporter:apignard (apignard)Labels:
Date Opened:2005-05-03 22:09:38Date Closed:2011-06-07 14:00:32
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I have update to last CVS and seems Zaptel is broken.
No more channel init and reset.

cvs co -D 04/30/05 zaptel ; cvs co -D 04/30/05
and work again
Comments:By: apignard (apignard) 2005-05-03 22:11:50

Ps : I have move the PRI to a new server. Maybe the card have to be correctly init ? I have try install different version before report bug. On IRC someone seems don't have this problem ...

All span was down with last cvs.
Reboot don't help.



By: Brian West (bkw918) 2005-05-03 22:38:26

Do a fresh checkout of libpri.. build it.. install it... fresh checkout of zaptel.. build it.. install it..

Fresh checkout of asterisk... build it.. install it..

/b

By: twisted (twisted) 2005-05-03 22:38:30

I'm using latest at the office, with libpri and all, nothing is wrong.  You DO have to update libpri when you update to the latest CVS, just fyi.

wipe your source directories, and do this:

cvs co asterisk libpri zaptel
cd libpri
make
make install

cd ../zaptel
make
make install
cd ../asterisk
make install

By: apignard (apignard) 2005-05-03 22:40:21

Here is how i update :

Don't work :
rm -R zaptel ; rm -R asterisk ; rm -R libpri ; rm -R asterisk-addons ; rm -R /usr/lib/asterisk/modules
cvs co zaptel ; cvs co libpri ; cvs co asterisk ; cvs co asterisk-addons
cd zaptel ; make clean all ; make install ; cd .. ; cd libpri ; make clean all ; make install ; cd .. ; cd asterisk ; make clean ; make all ; make install ; cd .. ; cd asterisk-addons

Work :
rm -R zaptel ; rm -R asterisk ; rm -R libpri ; rm -R asterisk-addons ; rm -R /usr/lib/asterisk/modules
cvs co -D 04/30/05 zaptel ; cvs co -D 04/30/05 libpri ; cvs co -D 04/30/05 asterisk ; cvs co -D 04/30/05 asterisk-addons
cd zaptel ; make clean all ; make install ; cd .. ; cd libpri ; make clean all ; make install ; cd .. ; cd asterisk ; make clean ; make all ; make install ; cd .. ; cd asterisk-addons

I have switch 3 times from last cvs and 04/30/05 and each time same result...

I use PRI as E1...



By: Paul Cadach (pcadach) 2005-05-03 23:36:21

Could you tell us your switchtype or show span configuration?

By: apignard (apignard) 2005-05-03 23:38:41

switchtype=euroisdn
signalling=pri_cpe
overlapdial=yes
switchtype=euroisdn
usecallerid=yes
usecallingpres=yes
hidecallerid=no
echocancelwhenbridged=yes
echotraining=yes
echocancel=yes
rxgain=3
txgain=3
immediate=no
group=1
channel => 1-15
channel => 17-31
channel => 32-46
channel => 48-62

and 2 others for another telco



By: Paul Cadach (pcadach) 2005-05-03 23:54:47

Which type of hardware used to run E1 on Asterisk? Which PCI ID it have (cat /proc/pci)? I don't see any critical changes on libpri, chan_zap, but zaptel have updates for next generation TE405P/TE410P...



By: apignard (apignard) 2005-05-04 00:05:38

It's XEON 3ghz / Debian

Like i said it's working fine with CVS of 30 april 2005

By: Paul Cadach (pcadach) 2005-05-04 00:09:49

I mean which Digium's hardware you uses to handle E1s. TE405/TE410P, etc.?

By: apignard (apignard) 2005-05-04 00:14:34

only one TE405
no extra card in.

0000:00:00.0 Host bridge: ServerWorks GCNB-LE Host Bridge (rev 32)
       Flags: fast devsel

0000:00:00.1 Host bridge: ServerWorks GCNB-LE Host Bridge
       Flags: fast devsel

0000:00:03.0 Communication controller: Xilinx Corporation: Unknown device 0314 (rev 01)
       Flags: bus master, medium devsel, latency 64, IRQ 5
       Memory at febfef80 (32-bit, non-prefetchable)

0000:00:0a.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 0d)
       Subsystem: Intel Corp. EtherExpress PRO/100 Server Adapter
       Flags: bus master, medium devsel, latency 64, IRQ 11
       Memory at febfd000 (32-bit, non-prefetchable)
       I/O ports at dc00
       Memory at feb80000 (32-bit, non-prefetchable)
       Capabilities: [dc] Power Management version 2

0000:00:0b.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) (prog-if 00 [VGA])
       Subsystem: ATI Technologies Inc Rage XL
       Flags: bus master, stepping, medium devsel, latency 64, IRQ 10
       Memory at fd000000 (32-bit, non-prefetchable)
       I/O ports at d800
       Memory at febff000 (32-bit, non-prefetchable)
       Capabilities: [5c] Power Management version 2

0000:00:0c.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller (rev 02)
       Subsystem: Intel Corp. PRO/1000 MT Desktop Adapter
       Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 12
       Memory at feb40000 (32-bit, non-prefetchable)
       Memory at feb20000 (32-bit, non-prefetchable)
       I/O ports at d400
       Capabilities: [dc] Power Management version 2
       Capabilities: [e4] PCI-X non-bridge device.
       Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

0000:00:0f.0 ISA bridge: ServerWorks CSB6 South Bridge (rev a0)
       Subsystem: Giga-byte Technology: Unknown device 0203
       Flags: bus master, medium devsel, latency 64

0000:00:0f.1 IDE interface: ServerWorks CSB6 RAID/IDE Controller (rev a0) (prog-if 8a [Master SecP PriP])
       Subsystem: ServerWorks: Unknown device 0212
       Flags: bus master, medium devsel, latency 64
       I/O ports at <ignored>
       I/O ports at <ignored>
       I/O ports at <ignored>
       I/O ports at <ignored>
       I/O ports at <ignored>

0000:00:0f.3 Host bridge: ServerWorks GCLE-2 Host Bridge
       Subsystem: Giga-byte Technology: Unknown device 0227
       Flags: bus master, medium devsel, latency 0


I think the problem may be affect by this update :
[Asterisk-cvs] zaptel wct4xxp.c, 1.59, 1.60 zaptel.c, 1.104, 1.105 zaptel.h, 1.41, 1.42

Else i don't see why.



By: Kevin P. Fleming (kpfleming) 2005-05-04 00:26:02

Mark, it looks like your 2nd gen TE commits have borked something badly here...

By: adomjan (adomjan) 2005-05-04 09:46:09

I have the same problem with 1 month old TE405P.

By: twisted (twisted) 2005-05-04 10:45:06

If it's any issue, newest code works fine on both older hardware and new hardware here.  I cannot recreate.

By: deti (deti) 2005-05-04 11:17:13

Same problem here. wct4xxp.c seems to be broken for 1st generation cards.

By: apignard (apignard) 2005-05-04 12:40:40

i have REV1 board

By: Mark Spencer (markster) 2005-05-04 14:32:03

Please pursue technical support issues through Digium technical support (support@digium.com) not through the bug tracker.