<div dir="ltr"><div><div><div>Can i have any suggestion on this issue?<br></div>i have tried creating new dialplan as shown here<br><a href="https://wiki.freeswitch.org/wiki/Variable_proto_specific_hangup_cause">https://wiki.freeswitch.org/wiki/Variable_proto_specific_hangup_cause</a><br></div>as well as i have tried external lua to replace the cause code, suggest here,<br><a href="https://wiki.freeswitch.org/wiki/Variable_proto_specific_hangup_cause">https://wiki.freeswitch.org/wiki/Variable_proto_specific_hangup_cause</a><br><br></div>i am also attaching the sip log for the 480 <br><a href="https://pastebin.freeswitch.org/view/0dbbf7d7">https://pastebin.freeswitch.org/view/0dbbf7d7</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 6, 2017 at 3:45 PM, devang nathwani <span dir="ltr"><<a href="mailto:devang.nathwani31589@gmail.com" target="_blank">devang.nathwani31589@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">yeah, i am getting reference from here,<br><a href="https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>Channel+Variables</a><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 6, 2017 at 3:38 PM, devang nathwani <span dir="ltr"><<a href="mailto:devang.nathwani31589@gmail.com" target="_blank">devang.nathwani31589@gmail.<wbr>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><div><div>Hello,<br><br></div><div>no i haven't read when i drafted the previous mail!<br><br></div>The scenario is something, gateway is completely down suppose because of hardware failure or electricity issue.<br><br></div>so freeswitch trying to send caller's request to gateway, as gateway is completely down freeswitch continuously trying to send 'INVITE' request to gateway, getting nothing in response so freeswitch sending 480 TEMPORARILY_UNAVAILABLE to caller but i want to change with '503 SERVICE_UNAVAILABLE'<br><br></div>and fscli showing, [CS_EXECUTE] [ALLOTTED_TIMEOUT] and [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]<br></div><div class="m_-503148366831444026HOEnZb"><div class="m_-503148366831444026h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 6, 2017 at 3:18 PM, Gonzalo Gasca Meza <span dir="ltr"><<a href="mailto:gascagonzalo@gmail.com" target="_blank">gascagonzalo@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"><br><div>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?</div><div><br></div><div><span><div><action application="set" data="continue_on_fail=TEMPORA<wbr>RILY_UNAVAILABLE"/></div><div><br></div></span><div><b>continue_on_fail</b> "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."</div><span><div><br></div><div><action application="set" data="failure_causes=SERVICE_U<wbr>NAVAILABLE"/></div><div><br></div></span><div><b>failure_causes</b> 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.</div></div><div><br></div><div>Depending of your flow you can use:</div><div><br></div><div><action application="hangup" data="SERVICE_UNAVAILABLE"/></div><div><br></div></div><div class="m_-503148366831444026m_-5222484385350909378HOEnZb"><div class="m_-503148366831444026m_-5222484385350909378h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 6, 2017 at 1:07 AM, Vladyslav Zakhozhai <span dir="ltr"><<a href="mailto:v.zakhozhai@gmail.com" target="_blank">v.zakhozhai@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">Devang, I'm no sure but this config should not work.<div>I think that you need to handle failure_causes after the bridge and use respond command to respond with cause you need.</div><div><br></div><div>Maybe I am wrong but this approach will do the work.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-503148366831444026m_-5222484385350909378m_3495694140022553388h5">2017-01-06 10:43 GMT+02:00 devang nathwani <span dir="ltr"><<a href="mailto:devang.nathwani31589@gmail.com" target="_blank">devang.nathwani31589@gmail.co<wbr>m</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-503148366831444026m_-5222484385350909378m_3495694140022553388h5"><div dir="ltr">Hello,<br><br>I want to replace disposition cause '480 TEMPORARILY_UNAVAILABLE' with '503 SERVICE_UNAVAILABLE'; <br><br>tried;<br><action application="set"data="continu<wbr>e_on_fail=TEMPORARILY_UNAVAILA<wbr>BLE"/> <action application="set" data="failure_causes=SERVICE_U<wbr>NAVAILABLE"/> before bridge application<br>But its not working<br></div>
<br></div></div>______________________________<wbr>______________________________<wbr>_____________<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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><span class="m_-503148366831444026m_-5222484385350909378m_3495694140022553388HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="m_-503148366831444026m_-5222484385350909378m_3495694140022553388HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-503148366831444026m_-5222484385350909378m_3495694140022553388m_2015943370485903645gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">С уважением,<br>Владислав Захожай<br><br></div></div>
</font></span></div>
<br>______________________________<wbr>______________________________<wbr>_____________<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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>______________________________<wbr>_____________<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" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>