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.<br>
-MC<br><br><div class="gmail_quote">On Wed, Feb 6, 2013 at 9:04 AM, Mario G <span dir="ltr">&lt;<a href="mailto:mario_fs@mgtech.com" target="_blank">mario_fs@mgtech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">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 &quot;bounty&quot; enhancement? Thanks for any help.<div>
Mario G<br><div><br></div><div><br></div><div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">Currently:</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">
<span style="color:rgb(183,40,0)">&lt;</span><span style>action application=</span><font color="#9431c0">&quot;set&quot;</font><span style> data=</span><font color="#9431c0">&quot;ringback=file_string://${lua_ring1}!tone_stream://${us-ring};loops=3!file_string://${lua_ring2}!local_stream://moh&quot;</font><span style="color:rgb(183,40,0)">/&gt;</span></div>
</div></div><div><span style="color:rgb(183,40,0)"><br></span></div><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo">Would Like (add something to limit the first moh):</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font:normal normal normal 11px/normal Menlo"><span style="color:rgb(183,40,0)">&lt;</span><span style>action application=</span><font color="#9431c0">&quot;set&quot;</font><span style> data=</span><font color="#9431c0">&quot;ringback=file_string://${lua_ring1}!</font><span style="color:rgb(148,49,192)">local_stream://moh</span><font color="#9431c0">!file_string://${lua_ring2}!local_stream://moh&quot;</font><span style="color:rgb(183,40,0)">/&gt;</span></div>
</div><div><span style="color:#b72800"><br></span></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>