[Freeswitch-users] mod_conf : play tmp/uuid.wav!userleft on member exit.

Michael Jerris mike at jerris.com
Mon Aug 11 23:01:57 MSD 2014

The easiest way would be esl or lua based event listener.  If we were actually going to put it in conference, we probably wouldn't entertain it without the whole recording bit being part of it too, but I'm not sure it makes sense inside the module.

On Aug 8, 2014, at 9:42 PM, Stephen Dame <sdame at 207me.com> wrote:

> I’ve successfully been able to modify dialplan to prompt caller for name, record it and announce in conference per wiki. solution works great. Adding a few lines of code makes sure they can only enter existing conferences.
> Now that I have their name in temp wav file, trying to decide best approach to play  name!” is leaving conference” into conference when they leave.
> Before heading down a path. Wanted to seek some advice on some possible approaches.
> 1)      Thought I may be able to set exit  sound in conf profile with UUID but not sure variables are expanded at run time.
> 2)      The other approach is to monitor ESL conference events and play back the UUID file when its detected that they have left (separate process)
> 3)      Modify source of mod_conf to hardcode playing of /tmp/uuid when member leaves only if the file exists.
> Is there an easier way I’m missing?
> Regards,
> Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140811/47656994/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list