[asterisk-users] TDM2400P "Unable to set SW Companding on channel .."

wassim darwich wassimdarwich1 at yahoo.com
Mon Jan 18 14:27:13 CST 2010


Hi:
I Bought TDM2400P ,with 24 FXO ports , I installed  the asterisk 1.4.28 and dahdi 2.2.0 and then i compiled them and configured all, i pluged into 8 pstn line into the Rj connector and then i got messages on asterisk console that alarm cleared on channels 1->8  , at this step everything should go fine ,but when i try to make a call through the TDM there is silence and no audio,and then i checked  them channel by channel and there is no tone at all ,this mean that  the TDM is not transfering tone from the PSTN line ,please help me in this .
 
 
This is my output when i type this commands:
#modprobe wctdm24xxp
# dahdi_cfg -vv
DAHDI Tools Version - 2.2.0
DAHDI Version: 2.2.0.2
Echo Canceller(s):
Configuration
======================

Channel map:
Channel 01: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 08)
Channel 09: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 09)
Channel 10: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 10)
Channel 11: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 11)
Channel 12: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 12)
Channel 13: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 13)
Channel 14: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 14)
Channel 15: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 15)
Channel 16: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 16)
Channel 17: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 17)
Channel 18: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 18)
Channel 19: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 19)
Channel 20: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 20)
Channel 21: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 21)
Channel 22: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 22)
Channel 23: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 23)
Channel 24: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 24)
24 channels to configure.
Setting echocan for channel 1 to none
Setting echocan for channel 2 to none
Setting echocan for channel 3 to none
Setting echocan for channel 4 to none
Setting echocan for channel 5 to none
Setting echocan for channel 6 to none
Setting echocan for channel 7 to none
Setting echocan for channel 8 to none
Setting echocan for channel 9 to none
Setting echocan for channel 10 to none
Setting echocan for channel 11 to none
Setting echocan for channel 12 to none
Setting echocan for channel 13 to none
Setting echocan for channel 14 to none
Setting echocan for channel 15 to none
Setting echocan for channel 16 to none
Setting echocan for channel 17 to none
Setting echocan for channel 18 to none
Setting echocan for channel 19 to none
Setting echocan for channel 20 to none
Setting echocan for channel 21 to none
Setting echocan for channel 22 to none
Setting echocan for channel 23 to none
Setting echocan for channel 24 to none

when type: #dmesg  this what it shows up (i copied  some of the message cause the message is long ) 
 
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 19, io base 0x0000f080
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 20, io base 0x0000f060
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000f040
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000f020
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
input: ImPS/2 Generic Wheel Mouse as /class/input/input1
SCSI subsystem initialized
libata version 3.00 loaded.
ata_piix 0000:00:1f.2: version 2.12
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 20
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
PCI: Setting latency timer of device 0000:00:1f.2 to 64
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0xf0e0 ctl 0xf0d0 bmdma 0xf0a0 irq 20
ata2: SATA max UDMA/133 cmd 0xf0c0 ctl 0xf0b0 bmdma 0xf0a8 irq 20
ata1.01: NODEV after polling detection
ata1.00: ATAPI: TSSTcorp CDDVDW SH-S223F, SB03, max UDMA/100
ata1.00: configured for UDMA/100
ata2.00: HPA detected: current 488395055, native 488397168
ata2.00: ATA-7: ST3250823AS, 3.03, max UDMA/133
ata2.00: 488395055 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata2.00: configured for UDMA/133
  Vendor: TSSTcorp  Model: CDDVDW SH-S223F   Rev: SB03
  Type:   CD-ROM                             ANSI SCSI revision: 05
  Vendor: ATA       Model: ST3250823AS       Rev: 3.03
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 488395055 512-byte hdwr sectors (250058 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 488395055 512-byte hdwr sectors (250058 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda: sda1 sda2
sd 1:0:0:0: Attached scsi disk sda
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-devel at redhat.com
device-mapper: dm-raid45: initialized v0.2594l
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
type=1404 audit(1263540789.469:2): selinux=0 auid=4294967295 ses=4294967295
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:03:00.0 to 64
eth0: RTL8168d/8111d at 0xee2fe000, 00:1c:c0:dd:df:66, XID 281000c0 IRQ 252
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 20
input: PC Speaker as /class/input/input2
intel_rng: Firmware space is locked read-only. <4>intel_rng: If you can't or
 don't want to <4>intel_rng: disable this in firmware setup, and <4>intel_rng: if
 you are certain that your <4>intel_rng: system has a functional
 RNG, try<4>intel_rng: using the 'no_fwh_detect' option.
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 5 [PCSPP,TRISTATE,EPP]
scsi 0:0:0:0: Attached scsi generic sg0 type 5
sd 1:0:0:0: Attached scsi generic sg1 type 0
sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1b.0 to 64
hda_codec: Unknown model for ALC662, trying auto-probe from BIOS...
input: HDA Digital PCBeep as /class/input/input3
FDC 0 is a post-1991 82077
lp0: using parport0 (interrupt-driven).
lp0: console ready
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI Exception (video-1450): AE_NOT_FOUND, Evaluating _DOD [20060707]
input: Video Bus as /class/input/input4
ACPI: Video Device [GFX0] (multi-head: no  rom: yes  post: no)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: multipath: version 1.0.5 loaded
EXT3 FS on dm-0, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 4095992k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1 across:4095992k
IA-32 Microcode Update Driver: v1.14-xen <tigran at veritas.com>
Loading iSCSI transport class v2.0-871.
802.1Q VLAN Support v1.8 Ben Greear <greearb at candelatech.com>
All bugs added by David S. Miller <davem at redhat.com>
cxgb3i: tag itt 0x1fff, 13 bits, age 0xf, 4 bits.
iscsi: registered transport (cxgb3i)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
Broadcom NetXtreme II CNIC Driver cnic v2.0.0 (March 21, 2009)
Broadcom NetXtreme II iSCSI Driver bnx2i v2.0.1e (June 22, 2009)
iscsi: registered transport (bnx2i)
iscsi: registered transport (tcp)
iscsi: registered transport (iser)
r8169: eth0: link up
r8169: eth0: link up
Bluetooth: Core ver 2.10
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.2.0.2
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 17
Port 1: Installed -- AUTO FXO (FCC mode)
Port 2: Installed -- AUTO FXO (FCC mode)
Port 3: Installed -- AUTO FXO (FCC mode)
Port 4: Installed -- AUTO FXO (FCC mode)
Port 5: Installed -- AUTO FXO (FCC mode)
Port 6: Installed -- AUTO FXO (FCC mode)
eth0: no IPv6 routers present
Port 7: Installed -- AUTO FXO (FCC mode)
Port 8: Installed -- AUTO FXO (FCC mode)
Port 9: Installed -- AUTO FXO (FCC mode)
Port 10: Installed -- AUTO FXO (FCC mode)
Port 11: Installed -- AUTO FXO (FCC mode)
Port 12: Installed -- AUTO FXO (FCC mode)
Port 13: Installed -- AUTO FXO (FCC mode)
Port 14: Installed -- AUTO FXO (FCC mode)
Port 15: Installed -- AUTO FXO (FCC mode)
Port 16: Installed -- AUTO FXO (FCC mode)
Port 17: Installed -- AUTO FXO (FCC mode)
Port 18: Installed -- AUTO FXO (FCC mode)
Port 19: Installed -- AUTO FXO (FCC mode)
Port 20: Installed -- AUTO FXO (FCC mode)
Port 21: Installed -- AUTO FXO (FCC mode)
Port 22: Installed -- AUTO FXO (FCC mode)
Port 23: Installed -- AUTO FXO (FCC mode)
Port 24: Installed -- AUTO FXO (FCC mode)
VPM100: Not Present
dahdi_vpmadt032_loader: module license 'Digium Commercial' taints kernel.
Booting VPMADT032
VPMADT032: Present and operational (Firmware version 117)
Found a Wildcard TDM: Wildcard TDM2400P (24 modules)
dahdi_transcode: Loaded.
INFO-xpp: revision trunk-r6963 MAX_XPDS=64 (8*8)
INFO-xpp: FEATURE: without BRISTUFF support
INFO-xpp: FEATURE: with PROTOCOL_DEBUG
INFO-xpp: FEATURE: with sync_tick() from DAHDI
INFO-xpp_usb: revision trunk-r6963
usbcore: registered new driver xpp_usb
dahdi: Registered tone zone 0 (United States / North America)
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
Bridge firewalling registered
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (8192 buckets, 65536 max) - 228 bytes per conntrack
device vif0.0 entered promiscuous mode
xenbr0: topology change detected, propagating
xenbr0: port 1(vif0.0) entering forwarding state
r8169: peth0: link up
device peth0 entered promiscuous mode
xenbr0: topology change detected, propagating
xenbr0: port 2(peth0) entering forwarding state
wctdm24xxp0: Missed interrupt. Increasing latency to 4 ms in order to compensate.
virbr0: no IPv6 routers present
eth0: no IPv6 routers present
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 6 (reason 4)
Unable to set SW Companding on channel 5 (reason 4)
Unable to set SW Companding on channel 5 (reason 4)
Unable to set SW Companding on channel 4 (reason 4)
Unable to set SW Companding on channel 4 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
wctdm24xxp0: Missed interrupt. Increasing latency to 5 ms in order to compensate.
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)
Unable to set SW Companding on channel 0 (reason 4)

Notice:When i restart dahdi ,everything go well and i can hear audio,but it will work for a while  then it will return back to the same issue.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100118/d877515d/attachment-0001.htm 


More information about the asterisk-users mailing list