Exactly. I screwed up, my apologies :)<br><br><div class="gmail_quote">12 апреля 2012 г. 12:24 пользователь Peter Olsson <span dir="ltr"><<a href="mailto:peter.olsson@visionutveckling.se">peter.olsson@visionutveckling.se</a>></span> написал:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="SV" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Default in vars.xml is this – som you must have changed this. FS will append the correct sampling for you.<u></u><u></u></span></p>
<div class="im">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d">/Peter<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Från:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>För </b>Anton Kvashenkin<br>
<b>Skickat:</b> den 12 april 2012 10:11<br>
<b>Till:</b> FreeSWITCH Users Help<br>
<b>Ämne:</b> [Freeswitch-users] [Default Vanilla Configuration] Conference.conf.xml and $${hold_music}<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Today while testing some default conference features ( thus using context "default" and all vanilla configs)
<span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222;background:white">
i've discovered that:</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"> <extension name="wb_conferences"><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <condition field="destination_number" expression="^(31\d{2})$"><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <action application="answer"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <action application="conference" data="$1-${domain_name}@wideband"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </condition><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </extension><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh/8000"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">To listen moh/16000, moh/32000, moh/48000 i should manually adjust corresponding music streaming quality, i.e for example for wb-conference<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><param name="moh-sound" value="local_stream://moh/16000"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">mod_local_stream.c:393 Unknown source moh/32000, trying 'default'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">and thus listening default moh ($${sounds_dir}/music/8000).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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 :)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I REPEAT I'm talking about default configuratin (i.e. vanilla) not production cases :)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div><p class="MsoNormal">!DSPAM:4f868d9b32761309479703! <u></u><u></u></p>
</div>
</div>
<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>