[Home]

Summary:ASTERISK-01739: Terrible sound quality
Reporter:segamza (segamza)Labels:
Date Opened:2004-06-01 11:38:17Date Closed:2011-06-07 14:05:13
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I often have terrible and trembling sound calling via asterisk. It took a long time to find out where the poblem is. I have 6 servers with asterisk installed and with E1 PRI (E100P, TE405P) card on board each. The problem presents on all mashines independently on hardware configuration.

Debug information example:

Call 1:

Name: Zap/2-1
Type: Zap
UniqueID: 1086092992.1819
Caller ID: 003717365955
DNID Digits: 148
State: Up (6)
Rings: 0
NativeFormat: 72
WriteFormat: 8
ReadFormat: 8

NativeFormat SLINEAR | ALAW
WriteFormat = ALAW
ReadFormat = ALAW
Sound quality is good


Call 2:
Name: Zap/1-1
Type: Zap
UniqueID: 1086093184.0
Caller ID: 3717365955
DNID Digits: (N/A)
State: Up (6)
Rings: 0
NativeFormat: 72
WriteFormat: 64
ReadFormat: 8

NativeFormat SLINEAR | ALAW
WriteFormat = SLINEAR
ReadFormat = ALAW
Sound quality bad.

The example above shows that SLINEAR-coded data was written to PRI port. Why? If I take it right PRI port can receive only ALAW-coded data.
Comments:By: Brian West (bkw918) 2004-06-01 12:42:11

show us the extensions.conf entries for the extensions you are trying to setup.

By: segamza (segamza) 2004-06-01 14:12:14

exten => _00.,1,Dial,Zap/g1/BYEXTENSION

By: Mark Spencer (markster) 2004-06-01 14:22:02

It doesn't matter if it's written in linear because the the driver converts it back to the right format.

By: segamza (segamza) 2004-06-01 14:26:39

Hmmm... How about sound quality ? I can make call for you with musiconhold.
Maybe we can chat on IRC for faster response ? My nick 'sega'.

By: Mark Spencer (markster) 2004-06-01 17:37:47

This is a hardware compatibility issue.