[Freeswitch-users] why disable_hold is not working?

Vincent Xia gmangudai at gmail.com
Thu Jun 6 13:56:25 MSD 2013


thanks a lot Michael, i've tested <param name="disable-hold" value="true"/>
but the problem still persists,
i set this after "hold-music" in internal.xml:
    <param name="hold-music" value="$${hold_music}"/>
    <param name="disable-hold" value="true"/>

also i think setting disable-hold in sip profile is a global setting, how
do i disable hold for each phone number?


2013/6/6 Michael Collins <msc at freeswitch.org>

>
>
>
> On Wed, Jun 5, 2013 at 5:26 PM, Vincent Xia <gmangudai at gmail.com> wrote:
>
>> why disable_hold is not working? i set <action application="set"
>> data="disable_hold=true"/> in the dialplan and also
>>
>> <param name="disable_hold" value="true"/> in sip profiles, nothing
>> happened.
>>
> Double check that param name. Params usually have dashes whereas channel
> variables have underscores:
> <param name="disable-hold" value="true"/>
>
> -MC
>
>>
>> another question is, disable_hold is described as a channel variable, i
>> wonder how FS affects the channel by setting
>>
>> <action application="set" data="disable_hold=true"/> in the dialplan? for
>> example,
>>
>>     <extension name="disable_hold">
>>       <condition field="destination_number" expression="^(11[01][0-9])$">
>> <action application="answer"/>
>>  <action application="set" data="disable_hold=true"/>
>>       </condition>
>>     </extension>
>>
>> in this extension, which one, the calling party or called party, will be
>> disabled?
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130606/e21b0702/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list