mod_conf : play tmp/uuid.wav!userleft on member exit.
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
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@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
participants (2)
-
Michael Jerris
-
Stephen Dame