I have experienced terrible echo on my two zap lines. This came up this weekend and is probably related to something I did while futzing around with my fxs ports. I have tried to put everything back together without success. The computer is the Everex gPC. Here is my system:
PBX in a Flash Version 1.3 Daemon Status
* Running Asterisk Version : Asterisk 1.4.21.2
* Asterisk Source Version : 1.4.21.2
* Zaptel Source Version : 1.4.12.1
* Libpri Source Version : 1.4.8
* Addons Source Version : 1.4.7
CentOS release 5.2 (Final) :32 Bit Kernel: 2.6.18-92.1.22.el5
I have a Digium TDM400 series board with 2 fxo and 2 fxs. I have two brother fax machines hooked up to the 2 fxs ports. The 2 fxo are hooked up to AT&T landlines. Sip Phones in the office are all GXP2000's which we have had for about 2 years and work fine. No recent firmware upgrades to the phone and the echo is on all phones on both land lines and is absent on all calls placed through vitelity or les.net.
When I was working on my fax lines, I adjusted the echo settings on the fxs ports without editing zapata.conf. Zapata.conf is exactly the way it was before. I ran fxotune and here is its output:
3=9,254,251,255,2,0,1,0,0
4=5,3,251,251,2,253,255,255,255
I tried using ztmonitor and followed the steps on the page tshif linked in his post in the hylafax thread. However, I came across a real oddity in that I needed something like 22.5 rxgain/txgain and that seems odd. The former settings were 2.0/2.0 and worked just fine. The massive adjustments to gain did nothing to fix the echo.
Out of desparation/stupidity last night I installed oslec without success.
I have run update-scripts and update-fixes.
Since zap is so bad, I forwarded my incoming landlines to my backup voip lines so I can run my business but this is weird. Unless someone has a great idea I think I will reinstall the system and rebuild everything from scratch. Anyone have any ideas that will save me the trouble of reinstalling and more importantly, help me understand what I did so that I won't do it again.
Update:
ran cat /proc/interrupts and got this:
root@pbx:/etc $ cat /proc/interrupts
CPU0
0: 61496567 IO-APIC-edge timer
1: 9 IO-APIC-edge i8042
6: 2 IO-APIC-edge floppy
7: 0 IO-APIC-edge parport0
8: 1 IO-APIC-edge rtc
9: 0 IO-APIC-level acpi
12: 115 IO-APIC-edge i8042
14: 550296 IO-APIC-edge ide0
169: 65339 IO-APIC-level sata_via
177: 0 IO-APIC-level ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4, uhci_hcd:usb5
185: 62918465 IO-APIC-level wctdm, eth0
193: 0 IO-APIC-level VIA8237
NMI: 0
LOC: 61505983
ERR: 0
MIS: 0
Looks like my ethernet card and my tdm card are sharing an interrupt. I will see about fixing that later today. Although this setup has been running fine for weeks.
Zaptel Tool (C)2002 Linux Support Services, Inc.
zttool shows:
â
âââââââââââââââââââââ⤠Zapata Telephony Interfaces âââââââââââââââââââââââ
â â
â Alarms Span â
â OK Wildcard TDM400P REV I Board 1 â â
â â® â
â â â
â â â
â â â
â â â
â â â
â â â
â â® â
â â â
â â
â â
â ââââââââââ ââââââââ â
â â Select â â Quit â â
â ââââââââââ ââââââââ â
â â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
and
Zaptel Tool (C)2002 Linux Support Services, Inc.
ââââââââââââââ⤠Wildcard TDM400P REV I Board 1 âââââââââââââââ
âââââââ â ââââââ
â â â â
â â Current Alarms: No alarms. â â
â â Sync Source: Internally clocked â â â
â â IRQ Misses: 0 â â® â
â â Bipolar Viol: 0 â â â
â â Tx/Rx Levels: 0/ 0 â â â
â â Total/Conf/Act: 4/ 4/ 2 â â â
â â ââââââââ â â â
â â 1234 â Back â â â â
â â TxA ---- ââââââââ â â â
â â TxB ---- â â® â
â â TxC ---- â â â
â â TxD ---- â â
â â ââââââââ â â
â â RxA ---- â Loop â â â
â â RxB ---- ââââââââ â â
â â RxC ---- â â
â â RxD ---- â â
âââââââ â âââââ
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Wildcard TDM400P REV I Board 1 F10=Back
zttest shows:
--- Results after 111 passes ---
Best: 99.998 -- Worst: 93.550 -- Average: 99.919649, Difference: 99.937201
that was with one incoming phone call on a zap line while I ran the test.
PBX in a Flash Version 1.3 Daemon Status
* Running Asterisk Version : Asterisk 1.4.21.2
* Asterisk Source Version : 1.4.21.2
* Zaptel Source Version : 1.4.12.1
* Libpri Source Version : 1.4.8
* Addons Source Version : 1.4.7
CentOS release 5.2 (Final) :32 Bit Kernel: 2.6.18-92.1.22.el5
I have a Digium TDM400 series board with 2 fxo and 2 fxs. I have two brother fax machines hooked up to the 2 fxs ports. The 2 fxo are hooked up to AT&T landlines. Sip Phones in the office are all GXP2000's which we have had for about 2 years and work fine. No recent firmware upgrades to the phone and the echo is on all phones on both land lines and is absent on all calls placed through vitelity or les.net.
When I was working on my fax lines, I adjusted the echo settings on the fxs ports without editing zapata.conf. Zapata.conf is exactly the way it was before. I ran fxotune and here is its output:
3=9,254,251,255,2,0,1,0,0
4=5,3,251,251,2,253,255,255,255
I tried using ztmonitor and followed the steps on the page tshif linked in his post in the hylafax thread. However, I came across a real oddity in that I needed something like 22.5 rxgain/txgain and that seems odd. The former settings were 2.0/2.0 and worked just fine. The massive adjustments to gain did nothing to fix the echo.
Out of desparation/stupidity last night I installed oslec without success.
I have run update-scripts and update-fixes.
Since zap is so bad, I forwarded my incoming landlines to my backup voip lines so I can run my business but this is weird. Unless someone has a great idea I think I will reinstall the system and rebuild everything from scratch. Anyone have any ideas that will save me the trouble of reinstalling and more importantly, help me understand what I did so that I won't do it again.
Update:
ran cat /proc/interrupts and got this:
root@pbx:/etc $ cat /proc/interrupts
CPU0
0: 61496567 IO-APIC-edge timer
1: 9 IO-APIC-edge i8042
6: 2 IO-APIC-edge floppy
7: 0 IO-APIC-edge parport0
8: 1 IO-APIC-edge rtc
9: 0 IO-APIC-level acpi
12: 115 IO-APIC-edge i8042
14: 550296 IO-APIC-edge ide0
169: 65339 IO-APIC-level sata_via
177: 0 IO-APIC-level ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4, uhci_hcd:usb5
185: 62918465 IO-APIC-level wctdm, eth0
193: 0 IO-APIC-level VIA8237
NMI: 0
LOC: 61505983
ERR: 0
MIS: 0
Looks like my ethernet card and my tdm card are sharing an interrupt. I will see about fixing that later today. Although this setup has been running fine for weeks.
Zaptel Tool (C)2002 Linux Support Services, Inc.
zttool shows:
â
âââââââââââââââââââââ⤠Zapata Telephony Interfaces âââââââââââââââââââââââ
â â
â Alarms Span â
â OK Wildcard TDM400P REV I Board 1 â â
â â® â
â â â
â â â
â â â
â â â
â â â
â â â
â â® â
â â â
â â
â â
â ââââââââââ ââââââââ â
â â Select â â Quit â â
â ââââââââââ ââââââââ â
â â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
and
Zaptel Tool (C)2002 Linux Support Services, Inc.
ââââââââââââââ⤠Wildcard TDM400P REV I Board 1 âââââââââââââââ
âââââââ â ââââââ
â â â â
â â Current Alarms: No alarms. â â
â â Sync Source: Internally clocked â â â
â â IRQ Misses: 0 â â® â
â â Bipolar Viol: 0 â â â
â â Tx/Rx Levels: 0/ 0 â â â
â â Total/Conf/Act: 4/ 4/ 2 â â â
â â ââââââââ â â â
â â 1234 â Back â â â â
â â TxA ---- ââââââââ â â â
â â TxB ---- â â® â
â â TxC ---- â â â
â â TxD ---- â â
â â ââââââââ â â
â â RxA ---- â Loop â â â
â â RxB ---- ââââââââ â â
â â RxC ---- â â
â â RxD ---- â â
âââââââ â âââââ
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Wildcard TDM400P REV I Board 1 F10=Back
zttest shows:
--- Results after 111 passes ---
Best: 99.998 -- Worst: 93.550 -- Average: 99.919649, Difference: 99.937201
that was with one incoming phone call on a zap line while I ran the test.