[Asterisk-Users] moh - turn off randomization?
Bob Goddard
asterisk at bgcomp.co.uk
Sun Sep 18 05:15:06 MST 2005
On Saturday 17 Sep 2005 23:20, Kevin P. Fleming wrote:
> Damon Estep wrote:
> > I do not have the "r" option in the MOH class, but the files are played
> > in an order I can figure out, they do not appear to be random either,
> > same pattern repeats.
>
> Oh come on, its obvious :-)
>
> Have you figured it out yet?
>
> Yet?
>
> Now?
>
> OK... I'll tell you.
>
> See the order you get when you do 'ls' in that directory? It's that
> order :-) If you want to force the files to play in a particular order,
> add a numeric prefix to each one.
I think they are in what ever order they are stored in the directory
listing, which can be found with "ls -f" or "ls -fl". I cannot see
anywhere in * of any sorting of filenames.
B
More information about the asterisk-users
mailing list