<div dir="ltr">thanks a lot Michael, i've tested <span style="font-family:arial,sans-serif;font-size:14px"><param name="disable-hold" value="true"/> but the problem still persists, </span><div style>
<font face="arial, sans-serif"><span style="font-size:14px">i set this after "</span></font><span style="font-family:arial,sans-serif;font-size:14px">hold-music" in internal.xml:</span></div><div style><font face="arial, sans-serif"><span style="font-size:14px"><div>
<param name="hold-music" value="$${hold_music}"/></div><div> <param name="disable-hold" value="true"/></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"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></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"><<a href="mailto:gmangudai@gmail.com" target="_blank">gmangudai@gmail.com</a>></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 <action application="set" data="disable_hold=true"/> in the dialplan and also </div>
<div><br></div><div><param name="disable_hold" value="true"/> 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><param name="disable-hold" value="true"/><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><action application="set" data="disable_hold=true"/> in the dialplan? for example,</div>
<div><br></div><div> <extension name="disable_hold"></div><div> <condition field="destination_number" expression="^(11[01][0-9])$"></div><div><span style="white-space:pre-wrap">        </span><action application="answer"/></div>
<div><span style="white-space:pre-wrap">        </span><action application="set" data="disable_hold=true"/></div><div> </condition></div><div> </extension></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>