[asterisk-bugs] [Asterisk 0012446]: asterisk doesn't play MOH files randomly when "random=yes" is specified

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Apr 15 13:02:28 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12446 
====================================================================== 
Reported By:                rickead2000
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12446
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-15-2008 05:41 CDT
Last Modified:              04-15-2008 13:02 CDT
====================================================================== 
Summary:                    asterisk doesn't play MOH files randomly when
"random=yes" is specified
Description: 
Asterisk doesn't seem to properly randomise the order of files it plays for
music on hold when "random=yes" is specified.

It always plays the same file first, then appears to go random.

I can't seem to work out how it chooses which file to play first, but it's
always the same one....

In this case, it always plays 05.mp3 first, then goes random.
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 04-15-08 13:02  
---------------------------------------------------------------------- 
I'm unable to reproduce this on 1.4.  While I do believe the attached patch
is a good thing, I don't expect it to fix the problem (if anything, it
would only randomly be not random...if that makes any sense).

What I would like to see, is console debug output that shows the class
being used, and which file it is opening.

When are you seeing it get reset to file 05? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-15-08 13:02  qwell          Note Added: 0085520                          
======================================================================




More information about the asterisk-bugs mailing list