<div dir="ltr"><div>Ringback is played back only when FreeSWITCH starts an outbound channel - during the bridge command, for example. What Enrah wants, is to play the early media while the dialplan execution goes on, but before the call is bridged. <br><br>I tried the following sequence, but it didn&#39;t work either: the next command after sleep() was never executed, because the originator timed out after 20 seconds, and the audio file was played during these 20 seconds:<br><br><span style="font-family:monospace,monospace">  &lt;extension name=&quot;test1&quot;&gt;<br>    &lt;condition field=&quot;destination_number&quot; expression=&quot;^test1$&quot;&gt;<br>      &lt;action application=&quot;pre_answer&quot;/&gt;<br>      &lt;action application=&quot;ring_ready&quot;/&gt;<br>      &lt;action application=&quot;set&quot; data=&quot;api_result=${bgapi(uuid_broadcast ${uuid} /opt/sound/ITU-T_P_50_BRITISH_ENGLISH.wav)}&quot;/&gt;<br>      &lt;action application=&quot;sleep&quot; data=&quot;10000&quot;/&gt;<br>      &lt;action application=&quot;set&quot; data=&quot;api_result=${uuid_break(${uuid} all)}&quot;/&gt;<br>      &lt;action application=&quot;answer&quot;/&gt;<br>      &lt;action application=&quot;playback&quot; data=&quot;ivr/ivr-welcome.wav&quot;/&gt;<br>      &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<br>      &lt;action application=&quot;hangup&quot;/&gt;<br>    &lt;/condition&gt;<br>  &lt;/extension&gt;<br></span><br><br></div>so, it looks like it needs an external application talking over ESL. <br><div><br><br><br><br><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 14, 2016 at 4:26 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">use whatever sound file you want as your ringback?<br>
<span class="im HOEnZb"><br>
&gt; On Jan 14, 2016, at 6:42 AM, Emrah &lt;<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi all,<br>
&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>
&gt; Basically, I’ve gone around trying instant_rinback=true, ring_ready, gentones, etc… No luck.<br>
&gt; If I bridge my channel to  loopback/wait, sure enough it works.<br>
&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>
<br>
<br>
</span><div class="HOEnZb"><div class="h5">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></div></div></blockquote></div><br></div>