Hey Cip,
Haven't tested this yet, but:
uuid_displace uuid start <file> 0 mux
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.
See you next week!
David
_________________________________________________________________________Hello everyone,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.The confluence page does not advertise such options: https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-uuid_displaceHowever, 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:if (flags && strchr(flags, 'l')) {dh->loop++;}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.Any advice is appreciated! See you all next week in Chicago!-Ciprian--Best Regards,
Ciprian Dosoftei
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.
Any disclosure, distribution or copying of this message is strictly prohibited without the expressed permission of the sender.
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com