[Home]

Summary:ASTERISK-26581: codec_opus: Poor quality MOH when using DTX or FEC
Reporter:Samuel For (samfun)Labels:
Date Opened:2016-11-11 07:07:50.000-0600Date Closed:2017-12-08 17:04:41.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Codecs/codec_opus
Versions:13.12.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Ubuntu 14.04. Asterisk 13.12.1Attachments:( 0) opus_dtx_fec10p.wav
( 1) opus_fec10p.wav
( 2) opus.wav
Description:If FEC with 10% packet loss OR DTX is enabled for Opus then MusicOnHold will sound extremely poor.

Sounds recordings are attached to this ticket.

These are the three codec settings that were tested:
DTX & FEC at 10%
[opus24]
type=opus
fec=yes
packet_loss=10
dtx=yes
cbr=yes
bitrate=24000
complexity=8

FEC at 10%
[opus24]
type=opus
fec=yes
packet_loss=10
dtx=no
cbr=yes
bitrate=24000
complexity=8

DTX & FEC disabled
[opus24]
type=opus
fec=no
packet_loss=0
dtx=no
cbr=yes
bitrate=24000
complexity=8
Comments:By: Asterisk Team (asteriskteam) 2016-11-11 07:07:50.789-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Samuel For (samfun) 2016-11-11 07:08:39.072-0600

Recordings of the sound distortions

By: Joshua C. Colp (jcolp) 2017-03-09 08:04:05.922-0600

I've tested various versions of Asterisk as well as codec_opus with both a softphone and hardphone and have not been able to reproduce this problem. Can you please try the latest version and if the issue still exists provide the full console output with SIP debug as well as information about the endpoint in use.

By: Samuel For (samfun) 2017-12-08 16:55:37.940-0600

Hi there, I've tried to reproduce this with:

Ubuntu 16.04
Asterisk 14.7.3
Opus-binary codec_opus-14.0_1.2.0-x86_64

The problem has gone away with these versions and is no longer reproducible.

I suppose this ticket can be closed now?