[Freeswitch-users] Can local_stream MOH have a time limit/max duration?

Mario G mario_fs at mgtech.com
Wed Feb 6 20:04:41 MSK 2013


Could not find anything in the wiki and this may not be possible but... I have early media with instructions, is has voice, ring, voice, music. I want to change the ring to music but I could not find a way to limit the time the music plays. See the second example, I would like to limit the first moh to a maximum time. If not possible, is this a "bounty" enhancement? Thanks for any help.
Mario G


Currently:
<action application="set" data="ringback=file_string://${lua_ring1}!tone_stream://${us-ring};loops=3!file_string://${lua_ring2}!local_stream://moh"/>

Would Like (add something to limit the first moh):
<action application="set" data="ringback=file_string://${lua_ring1}!local_stream://moh!file_string://${lua_ring2}!local_stream://moh"/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130206/12bcfd23/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list