This may help… I am sure it does what you want depending on where you put timeout. Look at my comments and my LUA code below.The link is the doc I write up for timeout. When it was introduced I thought the timeout was for each file.Also, here is an email I sent that comment implies each can have timeout. I also looked at my LUA program and my old comments also imply that but only use 1 timeout at this point.Here is how I construct a LUA variable to play multiple files in a ringback, syntax would be the same for your application. This is a complex one since it not only plays different files but sets a time limit for each:ringback = "file_string://"..em1.."!{timeout="..moh1_timeout.."}local_stream://mohmv!file_string://"..em2.."!local_stream://mohmv”_________________________________________________________________________On Mar 25, 2016, at 9:48 AM, Michael Collins <msc@freeswitch.org> wrote:Maybe you could do some tests and report back to the list. In switch_ivr_play_say.c there's a function called switch_ivr_play_file which is called by the playback dialplan app. In there it references a channel variable named playback_timeout_sec. Try setting that value prior to your playback app and see what happens.Be sure to let us know how it goes. :)-MSC_________________________________________________________________________On Thu, Mar 24, 2016 at 8:28 AM, Nishad Musthafa <nishadmusthafa@gmail.com> wrote:Hi,From the wiki and through experimenting with FS, I know it's possible to playback multiple files using the playback_delimiter channel variable and then something like<!-- Delimiter is set by a var which also enables the parser --> <action application="set" data="playback_delimiter=!"/> <action application="set" data="playback_sleep_val=500"/> <action application="playback" data="/ram/sr8k.wav!/ram/swimp.wav"/>It is also possible to set a timeout for a single file using<action application="playback" data="{timeout=15000}file_string://${sound_dir}/music/8000/music1.wav"/>Is it possible to merge the above two? I am looking at setting a single timeout for multiple files. Is this possible?Nishad
_________________________________________________________________________
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
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