[Freeswitch-users] Replace disposition cause

Gonzalo Gasca Meza gascagonzalo at gmail.com
Fri Jan 6 12:48:47 MSK 2017


Can you share more details about the call flow and debug if possible? Are
you planning to replace an incoming disconnect code or you want to send an
specific disconnect code?

<action application="set" data="continue_on_fail=TEMPORARILY_UNAVAILABLE"/>

*continue_on_fail* "Controls what happens when the called party can not be
reached (busy/offline). If "true" the dialplan continues to be processed.
If "false" the dialplan will stop processing. Can contain the return
messages that will continue on fail also."

<action application="set" data="failure_causes=SERVICE_UNAVAILABLE"/>

*failure_causes*  Controls which failure causes will be considered as a
failure to the bridge(s). This will change the values for which
continue_on_fail will fail by default unless continue_on_fail is set to
true.

Depending of your flow you can use:

<action application="hangup" data="SERVICE_UNAVAILABLE"/>


On Fri, Jan 6, 2017 at 1:07 AM, Vladyslav Zakhozhai <v.zakhozhai at gmail.com>
wrote:

> Devang, I'm no sure but this config should not work.
> I think that you need to handle failure_causes after the bridge and use
> respond command to respond with cause you need.
>
> Maybe I am wrong but this approach will do the work.
>
> 2017-01-06 10:43 GMT+02:00 devang nathwani <devang.nathwani31589 at gmail.com
> >:
>
>> Hello,
>>
>> I want to replace disposition cause '480 TEMPORARILY_UNAVAILABLE' with
>> '503 SERVICE_UNAVAILABLE';
>>
>> tried;
>> <action application="set"data="continue_on_fail=TEMPORARILY_UNAVAILABLE"/>
>> <action application="set" data="failure_causes=SERVICE_UNAVAILABLE"/>
>> before bridge application
>> But its not working
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
>
>
> --
> С уважением,
> Владислав Захожай
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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/20170106/05a3b36f/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list