Wouldn't a profile have to be created on the fly for this? From what I can see you cannot set this for a conference from an api call. Also to stop it, you would have to change the profile for the conference to remove it.
There’s a parameter for mod_conference named “perpetual-sound” that looks like it would do the trick.
It’s about 1/3 of the way down
https://freeswitch.org/confluence/display/FREESWITCH/mod_conference
PLEASE check further for any changes that might have been made in the latest FreeSWITCH as the conference module has undergone substantial changes and perpetual-sound might have been one of them.
Bote
From: Danny Gershman
Sent: Wednesday, 22 July, 2015 17:09
Subject: [Freeswitch-users] Endless playback in conference
I'm trying to do an endless playback of an mp3 file in a conference. I have a couple of ideas, but none seem really solid.
1) Pass a variable on play and monitor from mod_event_socket and play again if not forcibly terminated.
2) Load up local_stream dynamically from an xmlhttp server, and then restart the local stream service, however will interrupt MOH for other users.
Any other ideas? Is there a way to do looping for "api" through mod_event_socket? I know you can with "sendmsg"
--Danny Gershman
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.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
http://www.freeswitch.org