[Asterisk-Users] Low volume/ audio problems on TDM400 card

news.asterisk.users news.asterisk.users at twingeckos.com
Thu Jun 15 06:47:21 MST 2006


I did try fxotune.. it did wonders on echo and audio quality when 
dialing in.
Before the zapata upgrade it did nothing (the -d -b options weren't there).
I found a page on voip-info.org that talked about using the new version and
followed what was there:
amportal stop
./fxotune -d -b 2
./fxotune -d -b 3
./fxotune -d -b 2 -w 1004
./fxotune -d -b 3 -w 1004
./fxotune -i 5 -t 1
./fxotune -d -b 2 -w 1004
./fxotune -d -b 3 -w 1004
./fxotune -i 4
./fxotune -s
amportal start

/etc/fxotune.conf:
2=5,3,251,250,2,253,255,255,254
3=5,1,248,252,4,253,1,0,0

If I run just plain old fxotune -i 4 then I get this in fxotune.conf:
2=14,0,0,0,0,0,0,0,0
3=5,0,0,0,0,0,0,0,0

 cat /proc/interrupts
           CPU0       CPU1
  0:   85779369   85750198    IO-APIC-edge  timer
  1:        139        126    IO-APIC-edge  i8042
  8:          1          0    IO-APIC-edge  rtc
  9:          0          0   IO-APIC-level  acpi
 12:         58          0    IO-APIC-edge  i8042
 14:     134660     128889    IO-APIC-edge  libata
 15:         20         20    IO-APIC-edge  ide1
169:        273        164   IO-APIC-level  HDA Intel
177:     133013     292360   IO-APIC-level  sky2
185:   85757110   85717840   IO-APIC-level  wctdm
NMI:          0          0
LOC:  171545341  171545343
ERR:          0
MIS:          0



/etc/asterisk/zapata.conf:
language=en
context=from-pstn
rxwink=300        ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=400
group=0
callgroup=1
pickupgroup=1
immediate=no

signalling=fxo_ks
rxgain=0.0
txgain=0.0
channel =>1

signalling=fxo_ks
rxgain=0.0
txgain=0.0
channel =>4

signalling=fxs_ks
rxgain=8.0
txgain=1.0
channel =>2

signalling=fxs_ks
rxgain=8.0
txgain=1.0
channel => 3



;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf

Also although the 400P card says it's a revision J card it is detected 
as a revision I card:
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)
Registered tone zone 0 (United States / North America)
Registered tone zone 0 (United States / North America)




Fabio wrote:
> Hi Carlos,
>  
>   - send us your interrupts configuration: cat /proc/interrupts
>   - try adjusting line impedancy; see fxotune on zaptel source directory.
>  
> cheers,
>  
> Fabay 
>
>  -----Mensaje original-----
> *De:* asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com]*En nombre de 
> *news.asterisk.users
> *Enviado el:* Jueves, 15 de Junio de 2006 08:19 a.m.
> *Para:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Asunto:* Re: [Asterisk-Users] Low volume/ audio problems on TDM400 card
>
>     That is the first thing I did.. rxgain seems to help to make it
>     louder when the two PSTN lines are bridged but also affects
>     the audio quality adversely.  It's very touchy.. it also causes
>     horrible feedback (loud screeching when lines bridge). 
>     I've upgraded zapata and libpri too.
>
>     JD
>
>     Carlos Rojas wrote:
>>     Hi,
>>
>>     I solved this problem in zapata.conf file
>>
>>     ;rxgain=0.0                             ;Volume RX
>>     rxgain=8.0                             ;Volume RX
>>     ;txgain=0.0                             ;Volume TX
>>     txgain=1.0                             ;Volume TX
>>
>>
>>     Regards
>>
>>     On 6/9/06, *news.asterisk.users* <
>>     news.asterisk.users at twingeckos.com
>>     <mailto:news.asterisk.users at twingeckos.com>> wrote:
>>
>>         I've been attempting to get this TDM400 card to work since March.
>>         While it sort of works, I'm having a lot of audio issues with it.
>>
>>         I am on Asterisk 1.2.9.1 <http://1.2.9.1> svn rev 32797 and Zaptel 1.2.6. 
>>
>>         I've tried moving it to beefier hardware, upgrading asterisk/zaptel/etc, 
>>
>>         moving the X100 cards around on the TDM400 card, nothing seems to fix it.
>>         The card says it's a revision J card. 
>>
>>         I get low volume on the receiving end (too quiet to hear when channels bridge) and
>>         adjusting rx/txgain to comfortable levels causes popping and clicking when 
>>
>>         calls are made that cause bridged channels.  Upgrading to the newest zaptel fixed the horrible echo
>>         and feedback issues I was having.
>>
>>         Before I send it in for a replacement I thought I'd ask about it in case there is a setting
>>
>>         I can make to fix it.
>>
>>             
>>
>>
>>         	
>>
>>         	
>>         Kernel Version 	2.6.9-34.0.1.ELsmp (SMP)
>>         Distro Name 	CentOS release 4.3 (Final)
>>         Uptime 	2 hours 57 minutes
>>         Current Users 	0
>>         Load Averages 	0.08 0.02 0.01
>>
>>
>>         Network Usage
>>         *Device* 	*Received* 	*Sent* 	*Err/Drop*
>>         lo 	2.02 MB 	2.02 MB 	0/0
>>         eth0 	2.49 MB 	4.67 MB 	0/0
>>         sit0 	0.00 KB 	0.00 KB 	0/0
>>
>>         	
>>         Hardware Information
>>         Processors 	2
>>         Model 	Intel(R) Pentium(R) D CPU 2.66GHz
>>         CPU Speed 	2.66 GHz
>>         Cache Size 	1024 KB
>>         System Bogomips 	10646.51
>>         PCI Devices 	
>>         - 	Audio device: Intel Corporation 82801G
>>         - 	Communication controller: Tiger Jet Network Inc. Tiger3XX
>>         Modem/ISDN interface
>>         - 	Ethernet controller: Marvell Technology Group Ltd. 88E8053
>>         PCI-E Gigabit Ethernet Controller
>>         - 	IDE interface: Intel Corporation 82801GB/GR/GH
>>         - 	SMBus: Intel Corporation 82801G
>>         - 	VGA compatible controller: Intel Corporation 945G/GZ
>>         Express Integrated Graphics Controller
>>
>>         IDE Devices 	
>>         - 	hdc: CD-RW IDE5224
>>
>>         SCSI Devices 	
>>         - 	ATA WDC WD2500KS-00M (Direct-Access)
>>
>>         Memory Usage
>>         *Type* 	*Percent Capacity* 	*Free* 	*Used* 	*Size*
>>         Physical Memory 	20% 	806.78 MB 	195.65 MB 	1002.43 MB
>>         - Kernel + applications 	14% 	  	135.73 MB 	 
>>         - Buffers 	 2% 	  	17.18 MB 	 
>>         - Cached 	4% 	  	42.75 MB 	 
>>         Disk Swap 	0% 	760.88 MB 	0.00 KB 	760.88 MB
>>
>>         Mounted Filesystems
>>         *Mount* 	*Type* 	*Partition* 	*Percent Capacity* 	*Free*
>>         *Used* 	*Size*
>>         / 	ext3 	/dev/sda2 	1% 	215.06 GB 	1.74 GB 	228.40 GB
>>         /dev/shm 	proc 	none 	0% 	501.21 MB 	0.00 KB 	501.21 MB
>>         /dev/shm 	sysfs 	none 	0% 	501.21 MB 	0.00 KB 	501.21 MB
>>         /dev/shm 	devpts 	none 	0% 	501.21 MB 	0.00 KB 	501.21 MB
>>         /boot 	ext3 	/dev/sda1 	17% 	77.33 MB 	16.29 MB 	98.72 MB
>>         /dev/shm 	tmpfs 	none 	0% 	501.21 MB 	0.00 KB 	501.21 MB
>>         /dev/shm 	tmpfs 	none 	0% 	501.21 MB 	0.00 KB 	501.21 MB
>>         /Totals :  / 	1% 	215.63 GB 	1.75 GB 	228.98 GB
>>
>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060615/32b8b750/attachment.htm


More information about the asterisk-users mailing list