[asterisk-users] moh files not playing in sort order

Nathan Pryor nathanpryor at gmail.com
Thu Apr 15 18:45:51 CDT 2010


I have defined a moh class in musiconhold.conf and set the class using
SetMusicOnHold in my dialplan:

; musiconhold.conf
[music1]
mode=files
directory=moh/music1
sort=alpha

; extensions.conf
exten => s,n,SetMusicOnHold(music1)
exten => s,n,Queue(${ARG1})

Inside /var/lib/asterisk/moh/music1 there are handful of files that I want
to play in order. Regardless of how I name the files the moh play order
seems to be random. I have tried naming schemes like prepending numbers or
letters. Anything obvious I should be checking for here? Asterisk
1.6.2.0/CentOS 4.6

thanks in advance
-nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100415/d8785ebd/attachment.htm 


More information about the asterisk-users mailing list