<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-postmall17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="SV" link="blue" vlink="purple">
<div class="WordSection1">
<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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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"/><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D">/Peter<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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""> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<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}<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></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><o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"> <extension name="wb_conferences"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <condition field="destination_number" expression="^(31\d{2})$"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <action application="answer"/><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <action application="conference" data="$1-${domain_name}@wideband"/><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </condition><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> </extension><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh/8000"/><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><param name="moh-sound" value="local_stream://moh/16000"/><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">mod_local_stream.c:393 Unknown source moh/32000, trying 'default'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">and thus listening default moh ($${sounds_dir}/music/8000).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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 :)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I REPEAT I'm talking about default configuratin (i.e. vanilla) not production cases :)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">!DSPAM:4f868d9b32761309479703! <o:p></o:p></p>
</div>
</body>
</html>