<div dir="ltr">thanks a lot Michael, i&#39;ve tested <span style="font-family:arial,sans-serif;font-size:14px">&lt;param name=&quot;disable-hold&quot; value=&quot;true&quot;/&gt; but the problem still persists, </span><div style>
<font face="arial, sans-serif"><span style="font-size:14px">i set this after &quot;</span></font><span style="font-family:arial,sans-serif;font-size:14px">hold-music&quot; in internal.xml:</span></div><div style><font face="arial, sans-serif"><span style="font-size:14px"><div>
    &lt;param name=&quot;hold-music&quot; value=&quot;$${hold_music}&quot;/&gt;</div><div>    &lt;param name=&quot;disable-hold&quot; value=&quot;true&quot;/&gt;</div><div><br></div></span></font></div><div><span style="font-family:arial,sans-serif;font-size:14px">also i think setting </span><span style="font-family:arial,sans-serif;font-size:14px">disable-hold in sip profile is a global setting, how do i disable hold for each phone number?</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/6 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Wed, Jun 5, 2013 at 5:26 PM, Vincent Xia <span dir="ltr">&lt;<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>why disable_hold is not working? i set &lt;action application=&quot;set&quot; data=&quot;disable_hold=true&quot;/&gt; in the dialplan and also </div>

<div><br></div><div>&lt;param name=&quot;disable_hold&quot; value=&quot;true&quot;/&gt; in sip profiles, nothing happened.</div></div></blockquote></div><div>Double check that param name. Params usually have dashes whereas channel variables have underscores:<br>

</div><div>&lt;param name=&quot;disable-hold&quot; value=&quot;true&quot;/&gt;<br><br></div><div>-MC <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<div dir="ltr">

<div><br></div><div>another question is, disable_hold is described as a channel variable, i wonder how FS affects the channel by setting </div><div><br></div><div>&lt;action application=&quot;set&quot; data=&quot;disable_hold=true&quot;/&gt; in the dialplan? for example,</div>


<div><br></div><div>    &lt;extension name=&quot;disable_hold&quot;&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(11[01][0-9])$&quot;&gt;</div><div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;answer&quot;/&gt;</div>


<div><span style="white-space:pre-wrap">        </span>&lt;action application=&quot;set&quot; data=&quot;disable_hold=true&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div><div>


in this extension, which one, the calling party or called party, will be disabled?</div></div>
<br></div>_________________________________________________________________________<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>
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" 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><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</font></span></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></div>