<div dir="ltr"><div>I was looking for the same thing but gave up as I couldn&#39;t get it to work, did you try doing a uuid_broadcast to your own uuid which should start playing a file (not blocking) and in the mean time continue in your dialplan what you want. I tried it and it didn&#39;t work for me but it may have been related to what I was trying to do.</div><div>What I ended up doing (which may or may not be of any help to you) is that I started a lua script from the dialplan using luarun which starts it in it&#39;s own thread, next step in the dialplan I just did a playback, in the mean time the lua script was doing whatever I needed (it had the call uuid passed on as an arg) when the lua script was done it interrupted the playback using uuid_break</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 14, 2016 at 4:19 PM,  <span dir="ltr">&lt;<a href="mailto:covici@ccs.covici.com" target="_blank">covici@ccs.covici.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dialplan is not good for this, you need a programming language to do<br>
this kind of thing, dialplan actions are static except for  inline but<br>
you can&#39;t do anything major with that.<br>
<span><br>
Emrah &lt;<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>&gt; wrote:<br>
<br>
&gt; Pre-answer isn’t what I’m looking for, but I appreciate the input.<br>
&gt; The channel is pre-answered already. It’s ready to play early media. My question is how do I play some ringback or MOH while I go at executing next dial plan instructions?<br>
&gt; For example I could do a gentones and loop it indefinitely with a $${us-ring}. But then FS would wait for gentones to exit before proceeding to the next dial plan instruction.<br>
&gt; Setting instant_rinback or executing the ringback app doesn’t help.<br>
&gt; And yes, my ringback and transfer_ringback variables are set.<br>
&gt;<br>
&gt; Thanks! .<br>
&gt; &gt; On Jan 14, 2016, at 6:16 PM, Stanislav Sinyagin &lt;<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Emrah,<br>
&gt; &gt;<br>
&gt; &gt; pre_answer is what you&#39;re looking for:<br>
</span>&gt; &gt; <a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer" target="_blank" rel="noreferrer">https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer</a> &lt;<a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer" target="_blank" rel="noreferrer">https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_pre_answer</a>&gt;<br>
<span>&gt; &gt; On 14 Jan 2016 18:02, &quot;Emrah&quot; &lt;<a href="mailto:lists@kavun.ch">lists@kavun.ch</a> &lt;mailto:<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>&gt;&gt; wrote:<br>
&gt; &gt; 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>
&gt; &gt; 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>
&gt; &gt;<br>
&gt; &gt; Something like:<br>
&gt; &gt; &lt;action application=“answer” /&gt;<br>
&gt; &gt; &lt;action application=“playback” data=“please-wait” /&gt;<br>
&gt; &gt; &lt;action application=“ring_ready” /&gt;<br>
&gt; &gt; &lt;action application=“sleep” data=“50000” /&gt;<br>
&gt; &gt; &lt;action application=“hangup” /&gt;<br>
&gt; &gt;<br>
&gt; &gt; Hope this helps you understand my issue a little better.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; E<br>
</span><span>&gt; &gt; &gt; On Jan 14, 2016, at 4:26 PM, Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a> &lt;mailto:<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; use whatever sound file you want as your ringback?<br>
&gt; &gt; &gt;<br>
</span><span>&gt; &gt; &gt;&gt; On Jan 14, 2016, at 6:42 AM, Emrah &lt;<a href="mailto:lists@kavun.ch">lists@kavun.ch</a> &lt;mailto:<a href="mailto:lists@kavun.ch">lists@kavun.ch</a>&gt;&gt; wrote:<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Hi all,<br>
&gt; &gt; &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>
&gt; &gt; &gt;&gt; Basically, I’ve gone around trying instant_rinback=true, ring_ready, gentones, etc… No luck.<br>
&gt; &gt; &gt;&gt; If I bridge my channel to  loopback/wait, sure enough it works.<br>
&gt; &gt; &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>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _________________________________________________________________________<br>
&gt; &gt; &gt; Professional FreeSWITCH Consulting Services:<br>
</span>&gt; &gt; &gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
&gt; &gt; &gt; <a href="http://www.freeswitchsolutions.com" target="_blank" rel="noreferrer">http://www.freeswitchsolutions.com</a> &lt;<a href="http://www.freeswitchsolutions.com/" target="_blank" rel="noreferrer">http://www.freeswitchsolutions.com/</a>&gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Official FreeSWITCH Sites<br>
&gt; &gt; &gt; <a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank" rel="noreferrer">http://www.freeswitch.org/</a>&gt;<br>
&gt; &gt; &gt; <a href="http://confluence.freeswitch.org" target="_blank" rel="noreferrer">http://confluence.freeswitch.org</a> &lt;<a href="http://confluence.freeswitch.org/" target="_blank" rel="noreferrer">http://confluence.freeswitch.org/</a>&gt;<br>
&gt; &gt; &gt; <a href="http://www.cluecon.com" target="_blank" rel="noreferrer">http://www.cluecon.com</a> &lt;<a href="http://www.cluecon.com/" target="_blank" rel="noreferrer">http://www.cluecon.com/</a>&gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt; &gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a> &lt;<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>&gt;<br>
&gt; &gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/options/freeswitch-users</a> &lt;<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>&gt;<br>
&gt; &gt; &gt; <a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank" rel="noreferrer">http://www.freeswitch.org/</a>&gt;<br>
<span>&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _________________________________________________________________________<br>
&gt; &gt; Professional FreeSWITCH Consulting Services:<br>
</span>&gt; &gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> &lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<br>
&gt; &gt; <a href="http://www.freeswitchsolutions.com" target="_blank" rel="noreferrer">http://www.freeswitchsolutions.com</a> &lt;<a href="http://www.freeswitchsolutions.com/" target="_blank" rel="noreferrer">http://www.freeswitchsolutions.com/</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; Official FreeSWITCH Sites<br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank" rel="noreferrer">http://www.freeswitch.org/</a>&gt;<br>
&gt; &gt; <a href="http://confluence.freeswitch.org" target="_blank" rel="noreferrer">http://confluence.freeswitch.org</a> &lt;<a href="http://confluence.freeswitch.org/" target="_blank" rel="noreferrer">http://confluence.freeswitch.org/</a>&gt;<br>
&gt; &gt; <a href="http://www.cluecon.com" target="_blank" rel="noreferrer">http://www.cluecon.com</a> &lt;<a href="http://www.cluecon.com/" target="_blank" rel="noreferrer">http://www.cluecon.com/</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a> &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a> &lt;<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>&gt;<br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/options/freeswitch-users</a> &lt;<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>&gt;<br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/" target="_blank" rel="noreferrer">http://www.freeswitch.org/</a>&gt;_________________________________________________________________________<br>
<span>&gt; &gt; Professional FreeSWITCH Consulting Services:<br>
&gt; &gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; &gt; <a href="http://www.freeswitchsolutions.com" target="_blank" rel="noreferrer">http://www.freeswitchsolutions.com</a><br>
&gt; &gt;<br>
&gt; &gt; Official FreeSWITCH Sites<br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br>
&gt; &gt; <a href="http://confluence.freeswitch.org" target="_blank" rel="noreferrer">http://confluence.freeswitch.org</a><br>
&gt; &gt; <a href="http://www.cluecon.com" target="_blank" rel="noreferrer">http://www.cluecon.com</a><br>
&gt; &gt;<br>
&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
</span>&gt; ----------------------------------------------------<br>
&gt; Alternatives:<br>
&gt;<br>
&gt; ----------------------------------------------------<br>
<span class="im HOEnZb">&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank" rel="noreferrer">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" target="_blank" rel="noreferrer">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank" rel="noreferrer">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br>
<br>
</span><span class="HOEnZb"><font color="#888888">--<br>
Your life is like a penny.  You&#39;re going to lose it.  The question is:<br>
How do<br>
you spend it?<br>
<br>
         John Covici<br>
         <a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a><br>
</font></span><div class="HOEnZb"><div class="h5"><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" rel="noreferrer">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank" rel="noreferrer">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank" rel="noreferrer">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" rel="noreferrer">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" rel="noreferrer">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank" rel="noreferrer">http://www.freeswitch.org</a></div></div></blockquote></div><br></div>