<div dir="ltr">step 1:<div><br></div><div>Remove this:</div><div><br></div><div>







<p class=""><span class="">&lt;</span><span class="">X-PRE-PROCESS</span><span class=""> </span><span class="">cmd</span><span class="">=</span>&quot;set&quot;<span class=""> </span><span class="">data</span><span class="">=</span>&quot;<span class="">hold_mu</span>sic=local_stream://moh&quot;<span class="">/&gt; </span></p>
<p class="">from vars.xml, </p><p class=""><br></p><p class="">step 2:</p><p class=""><br></p><p class="">Make sure you set the variable on the right session, you&#39;re not currently so the global being used from vars.xml is winning on that inbound unauthenticated caller.</p>
<p class=""><br></p><p class="">step 3:</p><p class="">PROFIT?!?!?</p></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 25, 2014 at 2:10 PM, Darcy Primrose <span dir="ltr">&lt;<a href="mailto:fs@voice2net.ca" target="_blank">fs@voice2net.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div lang="EN-US" link="blue" bgcolor="white" vlink="purple">
<div><font face="Arial">I want to reword this question.  We run 
freeswitch in the multi tennant mode,  ie, seperate domains using the 
internal profile.  We use the park buttons on the phones to hold and 
transfer calls.  When we place a call on hold, or when we park a call we 
get local_stream://moh for example.  I would like to be able to provide 
seperate moh for different domains.  If we use a remote moh server, it 
works for the phones but does not work for the park.  Is there any way, 
perhaps using different profiles, to provide unique moh to different 
tennants.</font></div>
<div><font face="Arial"></font> </div>
<div><font face="Arial">Darcy Primrose</font></div>
<blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px"><div><div class="h5">
  <div style="FONT:10pt arial">----- Original Message ----- </div>
  <div style="FONT:10pt arial;BACKGROUND:#e4e4e4"><b>From:</b> 
  <a title="jleung@v10networks.ca" href="mailto:jleung@v10networks.ca" target="_blank">Jeff 
  Leung</a> </div>
  <div style="FONT:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a> 
  </div>
  <div style="FONT:10pt arial"><b>Sent:</b> Saturday, August 23, 2014 12:58 
  PM</div>
  <div style="FONT:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] Custom 
  Music on Hold</div>
  <div><br></div>
  <div>
  <p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt">I’d 
  replace the MOH music in the sounds dir with your custom ones and then reload 
  mod_local_stream.<u></u><u></u></span></p>
  <p class="MsoNormal"><span style="FONT-FAMILY:&#39;Calibri&#39;,&#39;sans-serif&#39;;COLOR:#1f497d;FONT-SIZE:11pt"><u></u> <u></u></span></p>
  <div style="BORDER-BOTTOM:medium none;BORDER-LEFT:blue 1.5pt solid;PADDING-BOTTOM:0in;PADDING-LEFT:4pt;PADDING-RIGHT:0in;BORDER-TOP:medium none;BORDER-RIGHT:medium none;PADDING-TOP:0in">
  <div>
  <div style="BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
  <p class="MsoNormal"><b><span style="FONT-FAMILY:&#39;Tahoma&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt">From:</span></b><span style="FONT-FAMILY:&#39;Tahoma&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt"> <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>On Behalf Of 
  </b>Darcy Primrose<br><b>Sent:</b> Saturday, August 23, 2014 
  09:43<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> 
  [Freeswitch-users] Custom Music on Hold<u></u><u></u></span></p></div></div>
  <p class="MsoNormal"><u></u> <u></u></p>
  <div>
  <p class="MsoNormal"><span style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt">I am trying to 
  implement  <u></u><u></u></span></p></div>
  <div style="BORDER-BOTTOM:#2f6fab 1pt dashed;BORDER-LEFT:#2f6fab 1pt dashed;PADDING-BOTTOM:12pt;PADDING-LEFT:12pt;PADDING-RIGHT:12pt;BACKGROUND:#f9f9f9;BORDER-TOP:#2f6fab 1pt dashed;BORDER-RIGHT:#2f6fab 1pt dashed;PADDING-TOP:12pt">
<pre style="BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;LINE-HEIGHT:15.6pt;PADDING-LEFT:0in;PADDING-RIGHT:0in;BACKGROUND:#f9f9f9;BORDER-TOP:medium none;BORDER-RIGHT:medium none;WORD-SPACING:0px;PADDING-TOP:0in">
<span style="COLOR:black;FONT-SIZE:9pt">&lt;action application=&quot;set&quot; data=&quot;hold_music=/sounds/holdmusic.wav&quot; /&gt;<u></u><u></u></span></pre></div>
  <div>
  <p class="MsoNormal"><span style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt">But I cannot get 
  the freeswitch to stop playing local_stream.<u></u><u></u></span></p></div>
  <div>
  <p class="MsoNormal"><span style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt"> <u></u><u></u></span></p></div>
  <div>
  <p class="MsoNormal"><span style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt">Any 
  Ideas?<u></u><u></u></span></p></div>
  <div>
  <p class="MsoNormal"><span style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt"> <u></u><u></u></span></p></div>
  <div>
  <p class="MsoNormal"><span style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt">Darcy 
  Primrose<u></u><u></u></span></p></div>
  <div>
  <p class="MsoNormal"><span style="FONT-FAMILY:&#39;Arial&#39;,&#39;sans-serif&#39;;FONT-SIZE:10pt">voice2net</span><u></u><u></u></p></div></div></div>
  </div></div><p>
  </p><hr>

  <p></p>_________________________________________________________________________<br>Professional 
  FreeSWITCH Consulting Services: 
  <br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>FreeSWITCH-users mailing 
  list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><p>
</p></blockquote></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>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>
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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://bkw.org/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div>
</div>