Hello list, I am trying to set up our conferencing system to pull some preferences from a database. In the conference.conf.xml file, I have a few profiles that cover pretty much all the bases, but I want to be able to set the music on hold sound differently for each conference, without reloading XML. I tried using ${hold_music} as the moh_sound in the config file, but this doesn't seem to expand. Is there a way to dynamically set conference profile options with a channel variable? I read a bit on generating config with LUA. The wiki talks about dialplan and directory, but doesn't really say much about other module configs. Can I bind a lua script to mod_conference? Can someone give me a snippet of that binding if that's possible? Thanks for the help! -Tim
Look at the JavaScript example: JavaScript Conference IVR @ http://wiki.freeswitch.org/wiki/Examples_JavaScript_Conference_IVR You should be able to port the JavaScript to Lua. I didn't know either, so just went with JavaScript because of all the nice examples. There are lots of hints of how to things with conferencing on that page and in the example. I actually moved much of the "sounds" out of the profiles and plan to provide them in the JavaScript code. On the other hand, if you want to have music on hold, you may need to use the Moderator flag. Since I am using it, I do get MOH until the Moderator arrives. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Dynamic-mod-conference-configu... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (2)
-
David Swardstrom
-
Tim St. Pierre