I have recently done a clean install of Ubuntu (10.04) and dowloaded/compiled/installed the latest versions of Asterisk and DAHDI. In my server, I have a single WCTDM 4-port analogue card with 2x FXS modules and a single FXO module. My primary phone number is provided by a SIP provider.
Since re-doing everything, I am encountering regular clicks and tones (i.e. DTMF) on my analogue phones under certain conditions. Orginigally I speculated it was a hardware problem, so moved the PCI card around to ensure it had a unique interrupt (see output of lspci -v below). On further testing, however, I discovered that the clicks and tones were only present in the following scenario:
[ul]
[li]incoming call via SIP provider -> answered on anlogue extension[/li]
[li]SIP extension calls analogue extension[/li][/ul]
To try to isolate the cause further, I found that the following scenarios did not have any problems:
[ul]
[li]analogue extension initiates call to either internal SIP extension or external PSTN via SIP provider[/li]
[li]incoming call via SIP provider -> answered on SIP extension[/li]
[li]incoming call via SIP provider -> answered on SIP extension -> transferred to analogue extension[/li][/ul]
This leads me to believe it is not a hardware problem, but software in nature. Has anyone encountered something similar or have any suggestions on what I could do to rectify this?
Asterisk 1.4.32
DAHDI (linux complete 2.3.0.1+2.3.0)
Ubuntu 10.04 Server i386
Linux Kernel 2.6.32-22-generic-pae
[code]~$ sudo lspci -v
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
Subsystem: Dell Device 0157
Flags: bus master, fast devsel, latency 0
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Capabilities: [e4] Vendor Specific Information <?>
Capabilities: [a0] AGP version 3.0
Kernel driver in use: agpgart-intel
Kernel modules: i82875p_edac, intel-agp
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02)
Flags: bus master, 66MHz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: fd000000-feafffff
Prefetchable memory behind bridge: f0000000-f7ffffff
Kernel modules: shpchp
00:06.0 System peripheral: Intel Corporation 82875P/E7210 Processor to I/O Memory Interface (rev 02)
Flags: fast devsel
Memory at fecf0000 (32-bit, non-prefetchable) [size=4K]
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
Subsystem: Dell Device 0157
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at ff80 [size=32]
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
Subsystem: Dell Device 0157
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at ff60 [size=32]
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
Subsystem: Dell Device 0157
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at ff40 [size=32]
Kernel driver in use: uhci_hcd
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
Subsystem: Dell Device 0157
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at ff20 [size=32]
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20)
Subsystem: Dell Device 0157
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fce00000-fcffffff
Prefetchable memory behind bridge: 40000000-400fffff
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
Flags: bus master, medium devsel, latency 0
Kernel modules: iTCO_wdt, intel-rng
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Dell Device 0157
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at ffa0 [size=16]
Memory at febffc00 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: ata_piix
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Dell Device 0157
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 18
I/O ports at fe00 [size=8]
I/O ports at fe10 [size=4]
I/O ports at fe20 [size=8]
I/O ports at fe30 [size=4]
I/O ports at fea0 [size=16]
Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
Subsystem: Dell Device 0157
Flags: medium devsel, IRQ 5
I/O ports at efe0 [size=32]
Kernel modules: i2c-i801
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)
Subsystem: nVidia Corporation Device 01b6
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at fea00000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
02:01.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Device b1d9:0003
Flags: bus master, medium devsel, latency 64, IRQ 22
I/O ports at dd00 [size=256]
Memory at fcefe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
Kernel driver in use: wctdm
Kernel modules: wctdm, hisax, netjet
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
Subsystem: Netgear Device 311a
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
I/O ports at de00 [size=256]
Memory at fcefdf00 (32-bit, non-prefetchable) [size=256]
Expansion ROM at 40000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Kernel driver in use: r8169
Kernel modules: r8169
[/code]