you can&#39;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">&lt;<a href="mailto:anita.hall@simmortel.com">anita.hall@simmortel.com</a>&gt;</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>    &lt;extension name=&quot;conference_incoming&quot;&gt;<br>

        &lt;condition field=&quot;destination_number&quot; expression=&quot;^(.*)$&quot;&gt;<br>                &lt;action application=&quot;set&quot; data=&quot;knowlus_hold_music=$1&quot; /&gt;<br>                &lt;action application=&quot;conference&quot; data=&quot;3001@default&quot;/&gt;<br>

                &lt;action application=&quot;hangup&quot; /&gt;<br>        &lt;/condition&gt;<br>    &lt;/extension&gt;<br><br>In my autoload_configs/conference.conf.xml<br><br>&lt;param name=&quot;moh-sound&quot; value=&quot;local_stream://${knowlus_hold_music}&quot;/&gt;<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 &#39;default&#39;<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>