[asterisk-bugs] [Asterisk 0015300]: native asterisk format moh playback sounds garbled

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 11 07:26:03 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15300 
====================================================================== 
Reported By:                aragon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15300
Category:                   Addons/format_mp3
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.26-rc1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-09 11:17 CDT
Last Modified:              2009-06-11 07:26 CDT
====================================================================== 
Summary:                    native asterisk format moh playback sounds garbled
Description: 
I have several .mp3 files in /var/lib/asterisk/moh/
I have removed the stock .wav files
During moh playback these files always sound garbled.
I get warnings in CLI during each playback

[Jun  9 12:05:35] WARNING[28610]: mp3/interface.c:215 decodeMP3: Junk at
the beginning of frame 49443302

This has been happening on various Asterisk 1.4 versions for a long time. 
I thought it was time I opened a bug report...

Playback using madplay sounds perfect, but I would prefer to use Asterisk
and sound converter to avoid CPU usage and transcoding.
I get the same garble if I convert the mp3 files to other formats using
Asterisk and put those files in same directory.


====================================================================== 

---------------------------------------------------------------------- 
 (0106295) lmadsen (administrator) - 2009-06-11 07:26
 https://issues.asterisk.org/view.php?id=15300#c106295 
---------------------------------------------------------------------- 
I'm confused, are you saying you are only getting this garbled sound when
using the mp3-to-native conversions when using mpg123?

Why can't you convert the mp3 to ulaw (etc...) with sox or something, then
just let Asterisk play the ulaw file directly instead of having to convert
each time? Does that still sound garbled?

I'm actually going to close out this issue for now as I'm not sure there
is really anything we can do here since Asterisk is just using external
applications to do the mp3 conversion.

Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-11 07:26 lmadsen        Note Added: 0106295                          
======================================================================




More information about the asterisk-bugs mailing list