Friday, July 24, 2009

Asterisk MusicOnHold File Priority

Yay!.. I dont know if it is a bug, or there is other setting for this.
musiconhold.conf

[class001]
mode=files
directory=/var/lib/asterisk/moh_custom/
sort=alpha


The config above does work alright although sorted reverse. Say you have a file a.mp3, b.mp3, c.mp3, d.mp3... The first one to be play is d.mp3 and last is a.mp3... Ok that can be handled, and this work ok for me as of I can manage my file on which one would be first and last. UNTILL if you have more than 4 files on that directory, the playlist become random in order, yet still following a pattern. Because if you remove sort=alpha and place random=true, the playback is in random and should be, but with other flaw, The files will be random played after each files finished playback. It means that a.mp3 can be plays every turn and c.mpe could not be play during the playback duration... Hmmmm... Well this bug exist on Asterisk 1.4.22-4 RPM by vc-rpms@voipconsulting.nl on my test machine...

I hope this save time for somebody out there, and make my wasted time go into used and not bother trying to arrange your playlist if you have more than 4 files in a directory.

DO NOT PUT MORE THAN 4 FILES IN MOH that is if you want to preserve your playlist in order..

Tuesday, July 14, 2009

Songbird Rocks

I just installed again Songbird. I forgot the last version I used but it look like a black browser than a music player. Fond if it because of its lightness. I change my desktop PC to Notebook PC, and I just forgot all about Songbird just today I download it and install it. Got amazed by the new look, and note it support most of the Firefox plugin. including this plugin I used for blogging. ScribeFire, download it here http://www.scribefire.com/. I think I am back to my blogs again. I wish...

Got Hook on 7 Things

Very busy lately and just stop to note that I like the song 7 Things by Milley Cyrus. I mark it 5 stars on my songbird player.