check out this https://freeswitch.org/jira/browse/FS-4480 as you'll see it's not perfect.you can also have an esl listener that changes the hold_music variable after each hold event.the ultimate solution would be to have something like random_play://file1.wav,file2.wav,file3.wav but I don't think anyone developed that.if you do come up with another solution please let me know.On Wed, Jul 27, 2016 at 9:32 AM, Colin Morelli <colin.morelli@gmail.com> wrote:Hey all,I'm using FS in a multi-tenant scenario where I'm trying to set hold music via the hold_music channel var with a file_string:// of hold music files.However, I'd like to get something closer to local_stream:// behavior (without being able to use it since hold music is dynamic). Ideally, I want callers to hear a random file from the hold_music file string each time they're placed on hold. Is there a file handler like file_string:// that would pick a file to play randomly? Or another suggestion to accomplish a similar goal of getting callers to hear something different when they're placed on hold multiple times?Best,Colin__________________________________________________________________________________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org