<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Does anyone know how to set the music on hold class with the Manager Interface in 1.8?<div><br></div><div>Here is what I am using but I end up just getting no music when I put this in place, when I remove it the default is back.</div><div><br></div><div>The classes I am setting work elsewhere just fine.</div><div><br></div><div>I did not include the opening of the socket, logging in etc because that's all working fine along with other things I am doing within the same login, socket session. Just trying to add this additional task.</div><div><br></div><div>This is from PHP as you may have recognized. I have also tried surrounding musicclass with CHANNEL() but that didn't work and didn't seem right anyhow since it already knows it's a channel variable.</div><div><br></div><div>Thanks in advance for any help on this.</div><div><pre style="background-color:#002240;color:#ffffff;font-family:'Menlo';font-size:12pt;"><span style="color:#0088ff;font-style:italic;"># Set the Music on Hold<br></span><span style="color:#80ffbb;">fputs</span><span style="color:#e1efff;">(</span><span style="color:#ff80e1;">$socket2</span><span style="color:#e1efff;">, </span><span style="color:#3ad900;">"Action: Setvar</span><span style="color:#ff628c;">\r\n</span><span style="color:#3ad900;">"</span><span style="color:#e1efff;">);<br></span><span style="color:#80ffbb;">fputs</span><span style="color:#e1efff;">(</span><span style="color:#ff80e1;">$socket2</span><span style="color:#e1efff;">, </span><span style="color:#3ad900;">"Channel: "</span><span style="color:#ff9d00;">.</span><span style="color:#ff80e1;">$channel</span><span style="color:#ff9d00;">.</span><span style="color:#3ad900;">"</span><span style="color:#ff628c;">\r\n</span><span style="color:#3ad900;">"</span><span style="color:#e1efff;">);<br></span><span style="color:#80ffbb;">fputs</span><span style="color:#e1efff;">(</span><span style="color:#ff80e1;">$socket2</span><span style="color:#e1efff;">, </span><span style="color:#3ad900;">"Variable: musicclass</span><span style="color:#ff628c;">\r\n</span><span style="color:#3ad900;">"</span><span style="color:#e1efff;">);<br></span><span style="color:#80ffbb;">fputs</span><span style="color:#e1efff;">(</span><span style="color:#ff80e1;">$socket2</span><span style="color:#e1efff;">, </span><span style="color:#3ad900;">"Value: "</span><span style="color:#ff9d00;">.</span><span style="color:#ff80e1;">$mohclass</span><span style="color:#ff9d00;">.</span><span style="color:#3ad900;">"</span><span style="color:#ff628c;">\r\n</span><span style="color:#3ad900;">"</span><span style="color:#e1efff;">);</span></pre></div> </div></body>
</html>