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

Michael Collins msc at freeswitch.org
Fri Feb 8 02:42:24 MSK 2013


The ringback will play until the call is answered or until the call_timeout
value is met and the call moves on in the dialplan. You can probably just
use call_timeout to tell the call to move on after x number of seconds.
-MC

On Wed, Feb 6, 2013 at 9:04 AM, Mario G <mario_fs at mgtech.com> wrote:

> 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"/>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130207/925b63c8/attachment.html 


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