[Asterisk-Users] Problems with TDM400P & X100P
Mark C. Thomas
gunner_sinclair at yahoo.com
Thu Aug 28 15:12:30 MST 2003
Hi,
I had ordered a TDM40B and developers kit a few months ago. I have everything installed and working, with one exception - sound quality. When placing a call it sounds like a very bad cordless phone - lots of hiss / static in the background. This even happens with the dialtone, though it is much worse one the call is connected. This does not occur when the phone is directly connected to the line. I have also tried a bunch of different phones. I tried messing with txgain and rxgain with no success.
I am running last week's CVS build, though earlier builds had the same problem. I originally was using a Pentium II 350, and the problem was much worse, I have since aquired an entirely different system - a pentium II 450, and it is slightly better, but not usable. CPU is about 5% normally and 10-15% during a call, so I don't think this is an issue. People I call do not complain about sound quality, so I guess it is just my side.
What can I try next?
Thanks
Here are some configs:
shore-server root # cat /proc/version
Linux version 2.4.20-gentoo-r5 (root at shore-server) (gcc version 3.2.2) #5 SMP Su
n Aug 10 14:28:05 EST 2003
shore-server root # cat /etc/zaptel.conf
fxsks=5
fxoks=1-4
loadzone = us
defaultzone=us
shore-server root # cat /etc/asterisk/zapata.conf
[channels]
context = default
language = en
callwaiting = no
threewaycalling = no
transfer = no
cancelforward = no
usecallerid = yes
hidecallerid = no
echocancel = yes
echocancelwhenbridged = yes
immediate = no
rxgain = 10%
group = 1
context=default
;use with FXO PCI card
signalling = fxs_ks
channel => 5
;use with FXS USB card
;signalling = fxo_ls
signalling = fxo_ks
mailbox=6245
callerid = "First Floor" <1>
channel => 1
callerid = "Second Floor" <2>
channel => 2
callerid = "Third Floor" <3>
channel => 3
context = doorbell
immediate = yes
callerid = "DoorBell" <4>
channel => 4
shore-server root # cat /etc/asterisk/extensions.conf
[default]
exten => s,1,Dial(Zap/1&Zap/2&Zap/3,5)
exten => s,2,Answer
exten => s,3,Background,vm/6245/unavail
exten => s,4,Voicemail,6245
exten => s,5,hangup
exten => 6245,1,VoiceMailMain
exten => 1,1,Dial(Zap/1,20)
exten => 2,1,Dial(Zap/2,20)
exten => 3,1,Dial(Zap/3,20)
exten => 10,1,Dial(Zap/1r2&Zap/2r2&Zap/3r2,60)
ignorepat => 9
exten => _9.,1,AGI,/opt/masterhouse/asterisk_check_internet.agi
;exten => _9.,2,Dial(Zap/5/${EXTEN:1})
exten => _9.,99,Congestion
[doorbell]
exten => s,1,Dial(Zap/1r4&Zap/2r4&Zap/3r4,30)
exten => s,2,Answer
exten => s,3,Background,vm/6245/unavail
exten => s,4,Voicemail,6245
exten => s,5,hangup
shore-server root # cat /opt/masterhouse/asterisk_check_internet.agi
#!/usr/bin/perl
#
# AGI Script to check if a lock file exists and prompt
#
# Requires the Asterisk::AGI
#
#
#
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
my %input = $AGI->ReadParse();
#foreach $value ( keys %input ) {
#$AGI->verbose("X${value}X$input{$value}XX");
#}
my $finished = 0;
$extension = $input{"extension"};
substr($extension, 0, 1) = '';
if ( -e "/var/lock/LCK..ttyS1" ) {
$AGI->stream_file('internet_busy');
$response = chr($AGI->wait_for_digit('5000'));
if ($response ne "2") {
$AGI->set_priority(99);
exit;
}
}
system ("/bin/killall diald");
sleep 3;
$AGI->exec('Dial', "Zap/5/$extension");
system ("/usr/sbin/diald");
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030828/e5923a82/attachment.htm
More information about the asterisk-users
mailing list