[Freeswitch-users] How can I change the moh_sound
Anita Hall
anita.hall at simmortel.com
Wed Mar 21 02:21:17 MSK 2012
This question was answered sometimes back in detail by Tim St. Pierre
To quote:
Are you using xml_curl?
If so, you can have mod_conference get it's configuration from your web
server instead of the static XML file.
In our setup here, every time a new conference is launched,
mod_conference requests config, and this is returned by a PHP script.
We look at what conference number was requested, and we generate a
profile on-the-fly. We have a database that defines what music, rate,
energy level, recording options, etc. on a per-conference basis.
If you use the static files, the profiles you create only get parsed
when the XML is refreshed, so you can't use variable expansion in there,
other than pre-process variables that you might have put elsewhere in
the XML (ie. vars.xml).
-Tim
regards,
Anita
On Tue, Mar 20, 2012 at 10:30 PM, Michael Collins <msc at freeswitch.org>wrote:
> MOH sound is a conference parameter specified in conference.conf.xml. I
> believe that the only way you can change it on the fly is to use xml_curl
> for your configs.
>
> -MC
>
> On Tue, Mar 20, 2012 at 1:16 AM, piyush singhai <singhai.piyush at gmail.com>wrote:
>
>> Hello,
>>
>> I want to change the moh sound at run time for conference. can i specify
>> path on the basis of any ivr.
>>
>> --Piyush
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120321/f3f8ea81/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list