<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">In case you want to customize the ringback for each caller, see the link below (Anthony did a great job making timeout work as needed). I use it for every caller. I have a LUA program that dynamically builds the sound stream and adjusts the length of the music. <a href="https://wiki.freeswitch.org/wiki/Mod_local_stream#Execution_Parameters" class="">https://wiki.freeswitch.org/wiki/Mod_local_stream#Execution_Parameters</a><div class="">Mario G<br class=""><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 14, 2016, at 9:16 AM, Stanislav Sinyagin &lt;<a href="mailto:ssinyagin@gmail.com" class="">ssinyagin@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class="">Emrah,</p><p dir="ltr" class="">pre_answer is what you're looking for:<br class="">
<a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer" class="">https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer</a></p>
<div class="gmail_quote">On 14 Jan 2016 18:02, "Emrah" &lt;<a href="mailto:lists@kavun.ch" class="">lists@kavun.ch</a>&gt; wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes of course. I’m not even trying to play a sound file. A ringback would be fine for what I’m trying to do.<br class="">
Let me rephrase. FS isn’t generating any ringback unless I execute a bridge somewhere. This isn’t useful in my case. I’m trying to have the caller hear something while FS keeps executing the dial plan.<br class="">
<br class="">
Something like:<br class="">
&lt;action application=“answer” /&gt;<br class="">
&lt;action application=“playback” data=“please-wait” /&gt;<br class="">
&lt;action application=“ring_ready” /&gt;<br class="">
&lt;action application=“sleep” data=“50000” /&gt;<br class="">
&lt;action application=“hangup” /&gt;<br class="">
<br class="">
Hope this helps you understand my issue a little better.<br class="">
<br class="">
<br class="">
E<br class="">
&gt; On Jan 14, 2016, at 4:26 PM, Michael Jerris &lt;<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>&gt; wrote:<br class="">
&gt;<br class="">
&gt; use whatever sound file you want as your ringback?<br class="">
&gt;<br class="">
&gt;&gt; On Jan 14, 2016, at 6:42 AM, Emrah &lt;<a href="mailto:lists@kavun.ch" class="">lists@kavun.ch</a>&gt; wrote:<br class="">
&gt;&gt;<br class="">
&gt;&gt; Hi all,<br class="">
&gt;&gt; Is there no way to force a 183 in a session and play a ringback or MOH while executing other dial plan instructions?<br class="">
&gt;&gt; Basically, I’ve gone around trying instant_rinback=true, ring_ready, gentones, etc… No luck.<br class="">
&gt;&gt; If I bridge my channel to&nbsp; loopback/wait, sure enough it works.<br class="">
&gt;&gt; What I need to do is play a ringback or some MOH while I carry on executing my dial plan instructions. The 183 is a nice to have but I don’t mind if the channel is answered.<br class="">
&gt;<br class="">
&gt;<br class="">
&gt; _________________________________________________________________________<br class="">
&gt; Professional FreeSWITCH Consulting Services:<br class="">
&gt; <a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
&gt; <a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
&gt;<br class="">
&gt; Official FreeSWITCH Sites<br class="">
&gt; <a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
&gt; <a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.org</a><br class="">
&gt; <a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
&gt;<br class="">
&gt; FreeSWITCH-users mailing list<br class="">
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
&gt; <a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<br class="">
<br class="">
_________________________________________________________________________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a></blockquote></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></div></div></div></body></html>