Hi,<br><br>In your script, use
signalling=fxo_ks, you have TDM04B?<br>I have TDM400 with fxo modules and use <br><br>signalling=fxs_ks<br><br><br>Regards<br><br><div><span class="gmail_quote">On 6/15/06, <b class="gmail_sendername">news.asterisk.users
</b> <<a href="mailto:news.asterisk.users@twingeckos.com">news.asterisk.users@twingeckos.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div bgcolor="#ffffff" text="#000000">
I did try fxotune.. it did wonders on echo and audio quality when
dialing in.<br>
Before the zapata upgrade it did nothing (the -d -b options weren't
there).<br>
I found a page on <a href="http://voip-info.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">voip-info.org</a> that talked about using the new version
and<br>
followed what was there:<br>
amportal stop<br>
./fxotune -d -b 2<br>
./fxotune -d -b 3<br>
./fxotune -d -b 2 -w 1004<br>
./fxotune -d -b 3 -w 1004<br>
./fxotune -i 5 -t 1<br>
./fxotune -d -b 2 -w 1004<br>
./fxotune -d -b 3 -w 1004<br>
./fxotune -i 4<br>
./fxotune -s<br>
amportal start<br>
<br>
/etc/fxotune.conf:<br>
2=5,3,251,250,2,253,255,255,254<br>
3=5,1,248,252,4,253,1,0,0<br>
<br>
If I run just plain old fxotune -i 4 then I get this in fxotune.conf:<br>
2=14,0,0,0,0,0,0,0,0<br>
3=5,0,0,0,0,0,0,0,0<br>
<br>
cat /proc/interrupts<br>
CPU0 CPU1<br>
0: 85779369 85750198 IO-APIC-edge timer<br>
1: 139 126 IO-APIC-edge i8042<br>
8: 1 0 IO-APIC-edge rtc<br>
9: 0 0 IO-APIC-level acpi<br>
12: 58 0 IO-APIC-edge i8042<br>
14: 134660 128889 IO-APIC-edge libata<br>
15: 20 20 IO-APIC-edge ide1<br>
169: 273 164 IO-APIC-level HDA Intel<br>
177: 133013 292360 IO-APIC-level sky2<br>
185: 85757110 85717840 IO-APIC-level wctdm<br>
NMI: 0 0<br>
LOC: 171545341 171545343<br>
ERR: 0<br>
MIS: 0<br>
<br>
<br>
<br>
/etc/asterisk/zapata.conf:<br>
language=en<br>
context=from-pstn<br>
rxwink=300 ; Atlas seems to use long (250ms) winks<br>
;<br>
; Whether or not to do distinctive ring detection on FXO lines<br>
;<br>
;usedistinctiveringdetection=yes<br>
<br>
usecallerid=yes<br>
hidecallerid=no<br>
callwaiting=yes<br>
usecallingpres=yes<br>
callwaitingcallerid=yes<br>
threewaycalling=yes<br>
transfer=yes<br>
cancallforward=yes<br>
callreturn=yes<br>
echocancel=yes<br>
echocancelwhenbridged=yes<br>
echotraining=400<br>
group=0<br>
callgroup=1<br>
pickupgroup=1<br>
immediate=no<br>
<br>
signalling=fxo_ks<br>
rxgain=0.0<br>
txgain=0.0<br>
channel =>1 <br>
<br>
signalling=fxo_ks<br>
rxgain=0.0<br>
txgain=0.0<br>
channel =>4<br>
<br>
signalling=fxs_ks<br>
rxgain=8.0<br>
txgain=1.0<br>
channel =>2<br>
<br>
signalling=fxs_ks<br>
rxgain=8.0<br>
txgain=1.0<br>
channel => 3<br>
<br>
<br>
<br>
;faxdetect=both<br>
faxdetect=incoming<br>
;faxdetect=outgoing<br>
;faxdetect=no<br>
;Include genzaptelconf configs<br>
#include zapata-auto.conf<br>
<br>
group=1<br>
<br>
;Include AMP configs<br>
#include zapata_additional.conf<br>
<br>
Also although the 400P card says it's a revision J card it is detected
as a revision I card:<br>
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)<br>
Registered tone zone 0 (United States / North America)<br>
Registered tone zone 0 (United States / North America)</div><div><span class="e" id="q_10bd8029d60f91f9_1"><br>
<br>
<br>
<br>
<br>
Fabio wrote:
<blockquote cite="http://midBDECJGNIEHCGMFFMLHFDOEPFDPAA.folist@trestech.com.ar" type="cite">
<div><span><font color="#0000ff" face="Arial" size="2">Hi Carlos,</font></span></div>
<div><span></span> </div>
<div><span> <font color="#0000ff" face="Arial" size="2">- send us your interrupts configuration: cat
/proc/interrupts</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"> - t</font></span><span><font color="#0000ff" face="Arial" size="2">ry adjusting
line impedancy; see fxotune on zaptel source directory.</font></span></div>
<div><span></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">cheers,</font></span></div>
<div><span></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Fabay</font> </span></div>
<span></span><font face="Tahoma">
<div><br>
<font size="2"><span> </span>-----Mensaje
original-----<br>
<b>De:</b> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users-bounces@lists.digium.com</a>
[<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mailto:asterisk-users-bounces@lists.digium.com</a>]<b>En nombre de </b>news.asterisk.users<br>
<b>Enviado el:</b> Jueves, 15 de Junio de 2006 08:19 a.m.<br>
<b>Para:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br>
<b>Asunto:</b> Re: [Asterisk-Users] Low volume/ audio problems on
TDM400 card<br>
<br>
</font></div>
</font>
<blockquote>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<br>
the audio quality adversely. It's very touchy.. it also causes
horrible feedback (loud screeching when lines bridge). <br>
I've upgraded zapata and libpri too.<br>
<br>
JD<br>
<br>
Carlos Rojas wrote:
<blockquote cite="http://mid626c07e70606091707r2dcf064tf8805b227c303036@mail.gmail.com" type="cite">Hi, <br>
<br>
I solved this problem in zapata.conf file<br>
<br>
;rxgain=0.0 ;Volume RX<br>
rxgain=8.0 ;Volume RX<br>
;txgain=0.0 ;Volume TX<br>
txgain=1.0 ;Volume TX<br>
<br>
<br>
Regards<br>
<br>
<div><span class="gmail_quote">On 6/9/06, <b class="gmail_sendername">news.asterisk.users</b> <<a href="mailto:news.asterisk.users@twingeckos.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
news.asterisk.users@twingeckos.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div text="#000000" bgcolor="#ffffff">I've been attempting to
get this TDM400 card to work since March.<br>
While it sort of works, I'm having a lot of audio issues with it.<br>
<pre>I am on Asterisk <a href="http://1.2.9.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">1.2.9.1</a> svn rev 32797 and Zaptel 1.2.6. <br><br>I've tried moving it to beefier hardware, upgrading asterisk/zaptel/etc,
<br><br>moving the X100 cards around on the TDM400 card, nothing seems to fix it.<br>The card says it's a revision J card. <br><br>I get low volume on the receiving end (too quiet to hear when channels bridge) and<br>adjusting rx/txgain to comfortable levels causes popping and clicking when
<br><br>calls are made that cause bridged channels. Upgrading to the newest zaptel fixed the horrible echo<br>and feedback issues I was having.<br><br>Before I send it in for a replacement I thought I'd ask about it in case there is a setting
<br><br>I can make to fix it.<br><br> </pre>
<table align="center" width="100%">
<tbody>
<tr>
<td valign="top" width="50%">
<table width="100%">
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td dir="ltr">
<table align="center" border="0" width="100%">
<tbody>
<tr>
<td valign="top"><br>
</td>
<td><br>
</td>
</tr>
<tr>
<td valign="top"><br>
</td>
<td><br>
</td>
</tr>
<tr>
<td valign="top"><font size="-1">Kernel
Version</font></td>
<td><font size="-1">2.6.9-34.0.1.ELsmp
(SMP)</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">Distro
Name</font></td>
<td><font size="-1">CentOS release 4.3
(Final)</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">Uptime</font></td>
<td><font size="-1">2 hours 57 minutes</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">Current
Users</font></td>
<td><font size="-1">0</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">Load
Averages</font></td>
<td><font size="-1">0.08 0.02 0.01</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br>
<table width="100%">
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td>Network Usage</td>
</tr>
<tr>
<td dir="ltr">
<table align="center" border="0" width="100%">
<tbody>
<tr>
<td align="left" valign="top"><font size="-1"><b>Device</b></font></td>
<td align="right" valign="top"><font size="-1"><b>Received</b></font></td>
<td align="right" valign="top"><font size="-1"><b>Sent</b></font></td>
<td align="right" valign="top"><font size="-1"><b>Err/Drop</b></font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">lo</font></td>
<td align="right" valign="top"><font size="-1">2.02 MB</font></td>
<td align="right" valign="top"><font size="-1">2.02 MB</font></td>
<td align="right" valign="top"><font size="-1">0/0</font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">eth0</font></td>
<td align="right" valign="top"><font size="-1">2.49 MB</font></td>
<td align="right" valign="top"><font size="-1">4.67 MB</font></td>
<td align="right" valign="top"><font size="-1">0/0</font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">sit0</font></td>
<td align="right" valign="top"><font size="-1">0.00 KB</font></td>
<td align="right" valign="top"><font size="-1">0.00 KB</font></td>
<td align="right" valign="top"><font size="-1">0/0</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td valign="top" width="50%">
<table width="100%">
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td>Hardware Information</td>
</tr>
<tr>
<td dir="ltr">
<table align="center" border="0" width="100%">
<tbody>
<tr>
<td valign="top"><font size="-1">Processors</font></td>
<td><font size="-1">2</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">Model</font></td>
<td><font size="-1">Intel(R) Pentium(R)
D CPU 2.66GHz</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">CPU
Speed</font></td>
<td><font size="-1">2.66 GHz</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">Cache
Size</font></td>
<td><font size="-1">1024 KB</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">System
Bogomips</font></td>
<td><font size="-1">10646.51</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">PCI
Devices</font></td>
<td>
<table>
<tbody>
<tr>
<td valign="top"><font size="-1">-</font></td>
<td><font size="-1">Audio device:
Intel Corporation 82801G</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">-</font></td>
<td><font size="-1">Communication
controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">-</font></td>
<td><font size="-1">Ethernet
controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit
Ethernet Controller</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">-</font></td>
<td><font size="-1">IDE
interface: Intel Corporation 82801GB/GR/GH</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">-</font></td>
<td><font size="-1">SMBus: Intel
Corporation 82801G</font></td>
</tr>
<tr>
<td valign="top"><font size="-1">-</font></td>
<td><font size="-1">VGA
compatible controller: Intel Corporation 945G/GZ Express Integrated
Graphics Controller</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top"><font size="-1">IDE
Devices</font></td>
<td>
<table>
<tbody>
<tr>
<td valign="top"><font size="-1">-</font></td>
<td><font size="-1">hdc: CD-RW
IDE5224</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top"><font size="-1">SCSI
Devices</font></td>
<td>
<table>
<tbody>
<tr>
<td valign="top"><font size="-1">-</font></td>
<td><font size="-1">ATA WDC
WD2500KS-00M (Direct-Access)</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%">
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td>Memory Usage</td>
</tr>
<tr>
<td dir="ltr">
<table align="center" border="0" width="100%">
<tbody>
<tr>
<td align="left" valign="top"><font size="-1"><b>Type</b></font></td>
<td align="left" valign="top"><font size="-1"><b>Percent Capacity</b></font></td>
<td align="right" valign="top"><font size="-1"><b>Free</b></font></td>
<td align="right" valign="top"><font size="-1"><b>Used</b></font></td>
<td align="right" valign="top"><font size="-1"><b>Size</b></font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">Physical Memory</font></td>
<td align="left" valign="top"><font size="-1">20% </font></td>
<td align="right" valign="top"><font size="-1">806.78 MB</font></td>
<td align="right" valign="top"><font size="-1">195.65 MB</font></td>
<td align="right" valign="top"><font size="-1">1002.43 MB</font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">- Kernel + applications</font></td>
<td align="left" valign="top"><font size="-1">14% </font></td>
<td align="right" valign="top"><font size="-1"> </font></td>
<td align="right" valign="top"><font size="-1">135.73 MB</font></td>
<td align="right" valign="top"><font size="-1"> </font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">- Buffers</font></td>
<td align="left" valign="top"><font size="-1"> 2% </font></td>
<td align="right" valign="top"><font size="-1"> </font></td>
<td align="right" valign="top"><font size="-1">17.18 MB</font></td>
<td align="right" valign="top"><font size="-1"> </font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">- Cached</font></td>
<td align="left" valign="top"><font size="-1">4% </font></td>
<td align="right" valign="top"><font size="-1"> </font></td>
<td align="right" valign="top"><font size="-1">42.75 MB</font></td>
<td align="right" valign="top"><font size="-1"> </font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">Disk Swap</font></td>
<td align="left" valign="top"><font size="-1">0% </font></td>
<td align="right" valign="top"><font size="-1">760.88 MB</font></td>
<td align="right" valign="top"><font size="-1">0.00 KB</font></td>
<td align="right" valign="top"><font size="-1">760.88 MB</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%">
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td>Mounted Filesystems</td>
</tr>
<tr>
<td dir="ltr">
<table align="center" border="0" width="100%">
<tbody>
<tr>
<td align="left" valign="top"><font size="-1"><b>Mount</b></font></td>
<td align="left" valign="top"><font size="-1"><b>Type</b></font></td>
<td align="left" valign="top"><font size="-1"><b>Partition</b></font></td>
<td align="left" valign="top"><font size="-1"><b>Percent Capacity</b></font></td>
<td align="right" valign="top"><font size="-1"><b>Free</b></font></td>
<td align="right" valign="top"><font size="-1"><b>Used</b></font></td>
<td align="right" valign="top"><font size="-1"><b>Size</b></font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">/</font></td>
<td align="left" valign="top"><font size="-1">ext3</font></td>
<td align="left" valign="top"><font size="-1">/dev/sda2</font></td>
<td align="left" valign="top"><font size="-1">1%</font></td>
<td align="right" valign="top"><font size="-1">215.06 GB</font></td>
<td align="right" valign="top"><font size="-1">1.74 GB</font></td>
<td align="right" valign="top"><font size="-1">228.40 GB</font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">/dev/shm</font></td>
<td align="left" valign="top"><font size="-1">proc</font></td>
<td align="left" valign="top"><font size="-1">none</font></td>
<td align="left" valign="top"><font size="-1">0%</font></td>
<td align="right" valign="top"><font size="-1">501.21 MB</font></td>
<td align="right" valign="top"><font size="-1">0.00 KB</font></td>
<td align="right" valign="top"><font size="-1">501.21 MB</font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">/dev/shm</font></td>
<td align="left" valign="top"><font size="-1">sysfs</font></td>
<td align="left" valign="top"><font size="-1">none</font></td>
<td align="left" valign="top"><font size="-1">0%</font></td>
<td align="right" valign="top"><font size="-1">501.21 MB</font></td>
<td align="right" valign="top"><font size="-1">0.00 KB</font></td>
<td align="right" valign="top"><font size="-1">501.21 MB</font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">/dev/shm</font></td>
<td align="left" valign="top"><font size="-1">devpts</font></td>
<td align="left" valign="top"><font size="-1">none</font></td>
<td align="left" valign="top"><font size="-1">0%</font></td>
<td align="right" valign="top"><font size="-1">501.21 MB</font></td>
<td align="right" valign="top"><font size="-1">0.00 KB</font></td>
<td align="right" valign="top"><font size="-1">501.21 MB</font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">/boot</font></td>
<td align="left" valign="top"><font size="-1">ext3</font></td>
<td align="left" valign="top"><font size="-1">/dev/sda1</font></td>
<td align="left" valign="top"><font size="-1">17%</font></td>
<td align="right" valign="top"><font size="-1">77.33 MB</font></td>
<td align="right" valign="top"><font size="-1">16.29 MB</font></td>
<td align="right" valign="top"><font size="-1">98.72 MB</font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">/dev/shm</font></td>
<td align="left" valign="top"><font size="-1">tmpfs</font></td>
<td align="left" valign="top"><font size="-1">none</font></td>
<td align="left" valign="top"><font size="-1">0%</font></td>
<td align="right" valign="top"><font size="-1">501.21 MB</font></td>
<td align="right" valign="top"><font size="-1">0.00 KB</font></td>
<td align="right" valign="top"><font size="-1">501.21 MB</font></td>
</tr>
<tr>
<td align="left" valign="top"><font size="-1">/dev/shm</font></td>
<td align="left" valign="top"><font size="-1">tmpfs</font></td>
<td align="left" valign="top"><font size="-1">none</font></td>
<td align="left" valign="top"><font size="-1">0%</font></td>
<td align="right" valign="top"><font size="-1">501.21 MB</font></td>
<td align="right" valign="top"><font size="-1">0.00 KB</font></td>
<td align="right" valign="top"><font size="-1">501.21 MB</font></td>
</tr>
<tr>
<td colspan="3" align="right" valign="top"><font size="-1"><i>Totals : </i></font></td>
<td align="left" valign="top"><font size="-1">1%</font></td>
<td align="right" valign="top"><font size="-1">215.63 GB</font></td>
<td align="right" valign="top"><font size="-1">1.75 GB</font></td>
<td align="right" valign="top"><font size="-1">228.98 GB</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
</blockquote>
</div>
</blockquote>
</blockquote>
<pre><hr size="4" width="90%">
_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br><br>Asterisk-Users mailing list
<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a>
</pre>
</blockquote>
<br>
</span></div><div></div>
</div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --
<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>