Today while testing some default conference features ( thus using context "default" and all vanilla configs)
i've discovered that:
<extension name="wb_conferences">
<condition field="destination_number" expression="^(31\d{2})$">
<action application="answer"/>
<action application="conference" data="$1-${domain_name}@wideband"/>
</condition>
</extension>
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
<X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh/8000"/>
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.
To listen moh/16000, moh/32000, moh/48000 i should manually adjust corresponding music streaming quality, i.e for example for wb-conference
<param name="moh-sound" value="local_stream://moh/16000"/>
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
mod_local_stream.c:393 Unknown source moh/32000, trying 'default'
and thus listening default moh ($${sounds_dir}/music/8000).
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 :)
I REPEAT I'm talking about default configuratin (i.e. vanilla) not production cases :)