you can't put dial plan variables in the conference config like that and expect them to work... thats load time setup on the conferences you should probably set up separate profiles for them... see mod_conference page not he wiki<br>
<br><div class="gmail_quote">On Wed, Feb 15, 2012 at 9:18 AM, Anita Hall <span dir="ltr"><<a href="mailto:anita.hall@simmortel.com">anita.hall@simmortel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br><br>I am trying to play different moh sound for each conference call by passing a variable to moh-sound from the dialplan to autoload_configs/conference.conf.xml<br><br>In my dialplan/default.xml<br><br> <extension name="conference_incoming"><br>
<condition field="destination_number" expression="^(.*)$"><br> <action application="set" data="knowlus_hold_music=$1" /><br> <action application="conference" data="3001@default"/><br>
<action application="hangup" /><br> </condition><br> </extension><br><br>In my autoload_configs/conference.conf.xml<br><br><param name="moh-sound" value="local_stream://${knowlus_hold_music}"/><br>
<br>However, it does not work. It is not able to expand the variable ${knowlus_hold_music}<br><br>In the log<br>2012-02-15 19:55:31.195264 [WARNING] mod_local_stream.c:393 Unknown source ${knowlus_hold_music}, trying 'default'<br>
<br>Is it even possible to pass a channel variable to a config file ? Or is there another way to achieve what I am trying to do ?<br><br>Thanks. <br><br clear="all">regards,<br>Anita<br><br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>