Today while testing some default conference features ( thus using context "default" and all vanilla configs)
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">i've discovered that:</span><div><br></div><div><div> <extension name="wb_conferences"></div>
<div> <condition field="destination_number" expression="^(31\d{2})$"></div><div> <action application="answer"/></div><div> <action application="conference" data="$1-${domain_name}@wideband"/></div>
<div> </condition></div><div> </extension></div></div><div><br></div><div>In the profile "wideband" at conference.conf.xml <param name="moh-sound" contains value="$${hold_music}" but this global channel variable is defiened at vars.xml and is local_stream://moh/8000</div>
<div><br></div><div><X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh/8000"/></div><div><br></div><div>So when i entered into wideband or uwb or even cdquality (it doesn't matter because in each profile there is param-name "moh-sound" contains $${hold_music}) conference i'am will be listening moh/8000.</div>
<div><br></div><div>To listen moh/16000, moh/32000, moh/48000 i should manually adjust corresponding music streaming quality, i.e for example for wb-conference</div><div><param name="moh-sound" value="local_stream://moh/16000"/></div>
<div><br></div><div>But there is another issue :) If do not install {hd,uhd,cd}-moh (assuming that moh/8000 i do install) therefore my $${sounds_dir} will be containing only 8000 stuff and when i will be enter one of hd/cd quality conferences i would get this error</div>
<div><br></div><div>mod_local_stream.c:393 Unknown source moh/32000, trying 'default'</div><div><br></div><div>and thus listening default moh ($${sounds_dir}/music/8000).</div><div><br></div><div>What would be better: to get this error or manually additing each profile at conference.conf.xml for listen hold-music @ HD-quality, there is the question :)</div>
<div><br></div><div>I REPEAT I'm talking about default configuratin (i.e. vanilla) not production cases :)</div><div><br></div><div><br></div>