Thanks. So in general, is uuid_displace a better choice than uuid_broadcast?<div><br clear="all">Cheers,<br>Fraser<br><br><br>
<br><br><div class="gmail_quote">On 29 January 2012 02:09, Seven Du <span dir="ltr">&lt;<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.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>You can chain files with file_string:// so it should work with uuid_displace  <a href="http://wiki.freeswitch.org/wiki/Mod_file_string" target="_blank">http://wiki.freeswitch.org/wiki/Mod_file_string</a></div>

<div><br></div><div><br></div><div><br></div><div><div>-- </div><div>About: <a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a></div><div>Blog: <a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a></div>

<div>Proj:  <a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a></div><div><br></div>Sent with <a href="http://www.sparrowmailapp.com" target="_blank">Sparrow</a><br><div><br></div></div>

<div><div class="h5">
                 
                <p style="color:#a0a0a8">On Sunday, January 29, 2012 at 4:17 AM, Fraser Redmond wrote:</p>
                </div></div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
                    <span><div><div><div class="h5"><div><div>I want to insert a queue of voice recordings into a call, and be able to stop them all. Doing both via the event socket.</div><div><br></div><div>Currently I&#39;m doing:</div>

<div><div>api uuid_broadcast $uuid fileName1.wav both</div>

<div>api uuid_broadcast $uuid fileName2.wav both</div><br></div><div>And stopping the audio with:</div>api uuid_break $uuid all<div><br></div><div>That works quite well, except for two problems:</div>

<div>1) I can&#39;t use it because when the audio is playing the parties can&#39;t hear each other talk.</div><div>2) There is a slight delay of about half a second before the audio starts (though I&#39;m guessing this can&#39;t be helped.)</div>



<div><br></div><div>Previously I&#39;d used:</div><div>api uuid_displace $uuid start fileName1.wav 0 mux</div><div><br></div><div>But I don&#39;t think I&#39;d been able to queue up more than one file with that.</div><div>



<br></div><div>There&#39;s a few other possibilities that I&#39;ve thought of, including going into a js/lua script and looping inside that, or changing the call into a conference, and using the conference commands.</div>



<div><br></div><div>Rather than mess around trying lots of ideas, I&#39;d rather focus on the one best approach - any ideas?</div><div><br clear="all">Cheers,<br>Fraser<br><br>
</div>
</div></div></div><div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></div>

<div><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a></div>

<div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a></div>

<div><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div><div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></div>

<div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div>

<div><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </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></div>