Summary:ASTERISK-01933: Music on hold randomly skips around
Reporter:chadscott (chadscott)Labels:
Date Opened:2004-06-30 21:48:42Date Closed:2011-06-07 14:10:44
Versions:Frequency of
Description:I would mark this as "trivial" except it's screwing up some voice stuff that we're trying to play while folks are on hold.

The system seems to get somewhere random in the file and then just decides to restart.  Sometimes it restarts from the beginning and other times it restarts at a point a few seconds after the beginning.  Once it happens, it seems to happen continuously, looping at exactly the same spot each time.

I can reproduce this every time I sit and listen to the music on hold for a few minutes.

With set verbose 99, I see:
"res_musiconhold.c:269 monmp3thread: Request to schedule in the past?!?!"
although it doesn't specifically coincide with the failure.


I'm on Fedora Code 2, latest HEAD CVS (just updated it a few minutes ago), with mpg123 from the distribution:
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59q (1999/Jan/26). Written and copyrights by Michael Hipp.
Comments:By: Brian West (bkw918) 2004-06-30 22:27:08

Use mpg123 0.59r ONLY and your problem will go away.

By: Malcolm Davenport (mdavenport) 2004-07-01 09:43:07

Try using mpg123-0.59r instead of q.

By: twisted (twisted) 2004-07-01 16:26:02

Can you confirm that changing mpg123 versions solved this issue?

By: Malcolm Davenport (mdavenport) 2004-07-01 17:39:07

User switched to -r and the problem went away.