<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name="Microsoft Theme 2.00" content="Ice 011"><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        margin-top:24.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:bold;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h3
        {mso-style-priority:9;
        mso-style-link:"Heading 3 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h4
        {mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h5
        {mso-style-priority:9;
        mso-style-link:"Heading 5 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
h6
        {mso-style-priority:9;
        mso-style-link:"Heading 6 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:11.0pt;
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:normal;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#1F86FF;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#005DC9;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Verdana","sans-serif";
        color:#003572;
        font-weight:bold;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading3Char
        {mso-style-name:"Heading 3 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 3";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading4Char
        {mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading5Char
        {mso-style-name:"Heading 5 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 5";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.Heading6Char
        {mso-style-name:"Heading 6 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 6";
        font-family:"Verdana","sans-serif";
        color:#003572;}
span.mw-headline
        {mso-style-name:mw-headline;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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 bgcolor=white background="cid:image001.gif@01CE5DFF.613D3D10" lang=EN-US link="#1F86FF" vlink="#005DC9"><img src="cid:image001.gif@01CE5DFF.613D3D10" v:src="cid:image001.gif@01CE5DFF.613D3D10" v:shapes="_x0000_Mail" width=0 height=0 class=shape style='display:none;width:0;height:0'><!--[if gte mso 9]><xml>
<v:background id="_x0000_s1025" o:bwmode="white" o:targetscreensize="1024,768">
<v:fill src="cid:image001.gif@01CE5DFF.613D3D10" o:title="background_ice" type="frame" />
</v:background></xml><![endif]--><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>HI,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I see in the wiki it says:<o:p></o:p></span></p><h3 style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:.05in;margin-left:.5in;line-height:14.3pt;background:white'><span class=mw-headline><span style='font-size:12.5pt;font-family:"Arial","sans-serif";color:black'><a href="https://wiki.freeswitch.org/wiki/Variable_hold_music" title="Variable hold music"><span style='color:#5A3696'>hold_music</span></a></span></span><span style='font-size:12.5pt;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></h3><p style='mso-margin-top-alt:4.8pt;margin-right:0in;margin-bottom:6.0pt;margin-left:.5in;line-height:14.3pt;background:white;orphans: auto;text-align:start;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px'><span style='font-size:9.5pt;font-family:"Arial","sans-serif";color:black'>Per-channel hold music. Supports all audio formats and audio streams. The hold_music variable can also be set globally at vars.xml.<o:p></o:p></span></p><p style='mso-margin-top-alt:4.8pt;margin-right:0in;margin-bottom:6.0pt;margin-left:.5in;line-height:14.3pt;background:white;orphans: auto;text-align:start;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px'><span style='font-size:9.5pt;font-family:"Arial","sans-serif";color:black'><br><b>Usage:</b><o:p></o:p></span></p><div style='mso-element:para-border-div;border:dashed #2F6FAB 1.0pt;padding:12.0pt 12.0pt 12.0pt 12.0pt;background:#F9F9F9;margin-left:.5in;margin-right:0in'><pre style='line-height:13.2pt;background:#F9F9F9;border:none;padding:0in;orphans: auto;text-align:start;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px'><span style='color:black'>&lt;action application=&quot;set&quot; data=&quot;hold_music=/sounds/holdmusic.wav&quot; /&gt;<o:p></o:p></span></pre></div><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p style='mso-margin-top-alt:4.8pt;margin-right:0in;margin-bottom:6.0pt;margin-left:.5in;line-height:14.3pt;background:white'><span style='font-size:9.5pt;font-family:"Arial","sans-serif";color:black'>For multi-tenant environment, if you want to have a separate MOH for the phone with hold button (like Polycom) that utilizes RE-INVITE with no media ip addr (0.0.0.0) for hold, you can override the hold-music values in the sip profile parameter similar to the following example:<o:p></o:p></span></p><div style='mso-element:para-border-div;border:dashed #2F6FAB 1.0pt;padding:12.0pt 12.0pt 12.0pt 12.0pt;background:#F9F9F9;margin-left:.5in;margin-right:0in'><pre style='line-height:13.2pt;background:#F9F9F9;border:none;padding:0in;orphans: auto;text-align:start;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px'><span style='color:black'>&lt;action application=&quot;bridge_export&quot; data=&quot;hold_music=$${sounds_dir}/music/company-a.mp3&quot;/&gt;<o:p></o:p></span></pre></div><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I set this in my dial-plan like this:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow'>&lt;</span><span style='font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow'>anti-action</span><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow'> </span><span style='font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow'>application</span><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow'>=</span><span style='font-size:9.5pt;font-family:Consolas;color:windowtext;background:yellow;mso-highlight:yellow'>&quot;</span><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow'>bridge_export</span><span style='font-size:9.5pt;font-family:Consolas;color:windowtext;background:yellow;mso-highlight:yellow'>&quot;</span><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow'> </span><span style='font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow'>data</span><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow'>=</span><span style='font-size:9.5pt;font-family:Consolas;color:windowtext;background:yellow;mso-highlight:yellow'>&quot;</span><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow'>hold_music=hold_music=/usr/local/freeswitch/sounds/RBW_On_Hold.mp</span><span style='font-size:9.5pt;font-family:Consolas;color:windowtext;background:yellow;mso-highlight:yellow'>&quot;</span><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow'>/&gt;</span><span style='font-size:9.5pt;font-family:Consolas;color:blue'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='color:#1F497D'>I had an error on the console that said &#8220;File access error.&#8221;&nbsp; &nbsp;I chmod&#8217;ed the MP3 file.&nbsp; Now I get no error, but complete silence on hold.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='color:#1F497D'>Any ideas?<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='color:#1F497D'>Sean<o:p></o:p></span></p></div></body></html>