[asterisk-users] DTMF tone crashes server (Asterisk 1.4.18 with Digium TE120P)

arkda thrills3k3r at gmail.com
Mon Feb 25 14:27:07 CST 2008


Hi,

I've been playing with a TE120P on Asterisk 1.4.18 with zaptel 1.4.9 and
I've ran into an issue. After a call placed any DTMF tone causes the server
to lock up entirely. Calls placed work just fine (except for a problem with
echo cancellation). The phone registered to the server is a Linksys SPA-942.

I am seeing in zttool some IRQ misses, but it never seems to go above 74
(below).

When the server freezes there is no indication of any kind in the log on
what the cause could be. When a call is made the following is logged on the
console:

[Feb 25 14:47:36] WARNING[3409]: chan_zap.c:1437 zt_enable_ec: Unable to
enable echo cancellation on channel 1 (Argument list too long)
    -- Executing [7777 at external:1] Goto("Zap/1-1", "internal|7777|1") in new
stack
    -- Goto (internal,7777,1)
    -- Executing [7777 at internal:1] Answer("Zap/1-1", "") in new stack
    -- Executing [7777 at internal:2] Dial("Zap/1-1", "SIP/user1") in new stack
    -- Called user1
    -- SIP/user1-0820fcf8 is ringing
ioctl(ZT_FREEZONE) failed: Inappropriate ioctl for device
Failed to register zone 'France': No data available

Not sure why it's listing France as the zone (this is in the US).

I'm pretty new to Digium hardware so any advice is welcome. Below are the
results of some of my testing. Am I crazy or is IRQ 217 not right?

# cat /proc/interrupts
           CPU0       CPU1
  0:     295139          0    IO-APIC-edge  timer
  1:          8          0    IO-APIC-edge  i8042
  6:          5          0    IO-APIC-edge  floppy
  8:          2          0    IO-APIC-edge  rtc
  9:          1          0   IO-APIC-level  acpi
 12:        103          0    IO-APIC-edge  i8042
 14:      12689          0    IO-APIC-edge  libata
 15:       8792          0    IO-APIC-edge  libata
169:       3480          0   IO-APIC-level  eth0
177:          0          0   IO-APIC-level  ehci_hcd:usb1
185:          0          0   IO-APIC-level  uhci_hcd:usb2
201:          0          0   IO-APIC-level  uhci_hcd:usb3
217:    1159061          0   IO-APIC-level  wcte12x[p]
NMI:          0          0
LOC:     294996     294975
ERR:          0
MIS:          0

# lspci -v
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub
(rev 02)
        Subsystem: IBM Unknown device 02ad
        Flags: bus master, fast devsel, latency 0
        Memory at d2000000 (32-bit, prefetchable) [size=32M]
        Capabilities: [e4] Vendor Specific Information

00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to PCI to CSA
Bridge (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, fast devsel, latency 48
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: d0100000-d01fffff
        Prefetchable memory behind bridge: a8000000-a80fffff

00:1c.0 PCI bridge: Intel Corporation 6300ESB 64-bit PCI-X Bridge (rev 02)
(prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, fast devsel, latency 48
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=48
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: d0200000-d02fffff
        Prefetchable memory behind bridge: 00000000a8100000-00000000a81fffff
        Capabilities: [50] PCI-X bridge device

00:1d.0 USB Controller: Intel Corporation 6300ESB USB Universal Host
Controller (rev 02) (prog-if 00 [UHCI])
        Subsystem: IBM Unknown device 02ae
        Flags: bus master, medium devsel, latency 0, IRQ 185
        I/O ports at 1400 [size=32]

00:1d.1 USB Controller: Intel Corporation 6300ESB USB Universal Host
Controller (rev 02) (prog-if 00 [UHCI])
        Subsystem: IBM Unknown device 02ae
        Flags: bus master, medium devsel, latency 0, IRQ 201
        I/O ports at 1420 [size=32]

00:1d.4 System peripheral: Intel Corporation 6300ESB Watchdog Timer (rev 02)
        Subsystem: IBM Unknown device 02ae
        Flags: medium devsel
        Memory at d0000000 (32-bit, non-prefetchable) [size=16]

00:1d.5 PIC: Intel Corporation 6300ESB I/O Advanced Programmable Interrupt
Controller (rev 02) (prog-if 20 [IO(X)-APIC])
        Subsystem: IBM Unknown device 02ae
        Flags: bus master, fast devsel, latency 0
        Capabilities: [50] PCI-X non-bridge device

00:1d.7 USB Controller: Intel Corporation 6300ESB USB2 Enhanced Host
Controller (rev 02) (prog-if 20 [EHCI])
        Subsystem: IBM Unknown device 02ae
        Flags: bus master, medium devsel, latency 0, IRQ 177
        Memory at d0000400 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 0a) (prog-if 00
[Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
        Memory behind bridge: d0300000-d03fffff
        Prefetchable memory behind bridge: e0000000-efffffff

00:1f.0 ISA bridge: Intel Corporation 6300ESB LPC Interface Controller (rev
02)
        Flags: bus master, medium devsel, latency 0

00:1f.2 IDE interface: Intel Corporation 6300ESB SATA Storage Controller
(rev 02) (prog-if 8a [Master SecP PriP])
        Subsystem: IBM Unknown device 02ae
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 169
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at 1470 [size=16]

00:1f.3 SMBus: Intel Corporation 6300ESB SMBus Controller (rev 02)
        Subsystem: IBM Unknown device 02ae
        Flags: medium devsel, IRQ 193
        I/O ports at 1440 [size=32]

02:01.0 Ethernet controller: Intel Corporation 82547GI Gigabit Ethernet
Controller
        Subsystem: IBM Unknown device 02ae
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 169
        Memory at d0120000 (32-bit, non-prefetchable) [size=128K]
        Memory at d0100000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 2000 [size=32]
        [virtual] Expansion ROM at a8000000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2

03:01.0 Ethernet controller: Digium, Inc. Unknown device 0120 (rev 11)
        Subsystem: Digium, Inc. Unknown device 0120
        Flags: bus master, fast Back2Back, medium devsel, latency 32, IRQ
217
        I/O ports at 3000 [size=256]
        Memory at d0200000 (32-bit, non-prefetchable) [size=1K]
        [virtual] Expansion ROM at a8100000 [disabled] [size=128K]
        Capabilities: [c0] Power Management version 2

04:02.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY
[Radeon 7000/VE] (prog-if 00 [VGA])
        Subsystem: IBM IBM eServer xSeries server mainboard
        Flags: bus master, stepping, medium devsel, latency 66, IRQ 3
        Memory at e0000000 (32-bit, prefetchable) [size=256M]
        I/O ports at 4000 [size=256]
        Memory at d0300000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at d0360000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2

04:03.0 Ethernet controller: Intel Corporation 82541GI Gigabit Ethernet
Controller
        Subsystem: IBM Unknown device 02ae
        Flags: bus master, 66MHz, medium devsel, latency 52, IRQ 209
        Memory at d0340000 (32-bit, non-prefetchable) [size=128K]
        Memory at d0320000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at 4400 [size=64]
        [virtual] Expansion ROM at d0380000 [disabled] [size=128K]
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device

zttool:
Wildcard TE120P Card 0

Current Alarms:     No alarms.
 Sync Source:        Internally clocked
 IRQ Misses:              74
  Bipolar Viol:             0
  Tx/Rx Levels:         0/  0
Total/Conf/Act:      24/ 24/  0
  111111111122222
 123456789012345678901234
 TxA ------------------------
 TxB ------------------------
 TxC ------------------------
 TxD ------------------------

 RxA ------------------------
 RxB ------------------------
 RxC ------------------------
 RxD ------------------------

*CLI> zap show status
Description                              Alarms     IRQ        bpviol
CRC4
Wildcard TE120P Card 0                   OK         74         0
0
*CLI>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080225/5fefeb1c/attachment.htm 


More information about the asterisk-users mailing list