<div dir="ltr">This did the trick for me:<div><br></div><div><font face="monospace, monospace">uuid_displace c5e85793-6b3f-42d3-8291-9002e084f873 start /usr/share/freeswitch/sounds/music/8000/audio0.wav 0 loop</font><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div><br></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=30ecdb86-8157-43fd-a4b5-4cf506ff4e74"><font color="#ffffff" size="1">ᐧ</font></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 18, 2018 at 8:02 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hey Cip,<br>
Haven't tested this yet, but:</p>
<p dir="ltr">uuid_displace uuid start <file> 0 mux</p>
<p dir="ltr">Looks like it would playback the file indefinitely. The downsize being a and b would hear themselves, but if there's only one leg, that might work.</p>
<p dir="ltr">See you next week!<br>
David</p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 17, 2018, 21:33 Ciprian Dosoftei <<a href="mailto:ciprian.dosoftei@gmail.com" target="_blank">ciprian.dosoftei@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello everyone,</div><div><br></div><div>I am looking for a way to execute uuid_displace in a fashion which would loop the file indefinitely, til uuid_displace stop is invoked.</div><div><br></div><div>The confluence page does not advertise such options: <a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-uuid_displace" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-uuid_displace</a></div><div><br></div><div>However, upon digging deeper in the switch_ivr_displace_session function (switch_ivr_async.php), it appears the last parameter of the command (flags) is parsed somewhat different than suggested in the confluence page, namely it would set bug's user data loop member to a non-zero value if the 'l' character is found in the flags argument:</div><div><br></div><div><span style="white-space:pre-wrap"> </span>if (flags && strchr(flags, 'l')) {</div><div><span style="white-space:pre-wrap"> </span>dh->loop++;</div><div><span style="white-space:pre-wrap"> </span>}</div><div><br></div><div>Subsequently, the displacement callback (read and write) do account for the user data loop member when they are being invoked (i.e. evaluated in if (dh->loop) statements), which suggest the looping feature/flag should be supported. Nonetheless, I could not get it working by specifying 'l' as uuid_displace fifth parameter.</div><div><br></div><div>Any advice is appreciated! See you all next week in Chicago!</div><div><br></div><div>-Ciprian</div><div><br></div>-- <br><div dir="ltr" class="m_3171165604369311089m_-5235584543906148643gmail_signature">Best Regards,<br>Ciprian Dosoftei<br><br>The information transmitted is intended only for the addressee and may contain privileged and/or confidential material. If you are not the intended recipient, kindly contact the sender and delete the message.<br><br>Any disclosure, distribution or copying of this message is strictly prohibited without the expressed permission of the sender.</div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
</blockquote></div>