<div dir="ltr">The <a href="https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-proto_specific_hangup_cause">proto_specific_hangup_cause</a> documentation has an example of handling a failed bridge attempt and under certain conditions using the respond app to better control what the initiating side sees. It might be worth your time to investigate whether that technique could be useful in your situation.<div><br></div><div>-MSC</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 28, 2016 at 7:09 AM, ItTeam <span dir="ltr">&lt;<a href="mailto:it-team@kaymera.com" target="_blank">it-team@kaymera.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys!<br>
<br>
We are having an issue where we call a remote sip client, the sip client has<br>
network issues and returns a 500 error code. the freeswitch treats it as<br>
480, but because the client sent 500 the freeswitch overrides it to 500.<br>
<br>
is there a way to not override the error and leave it as 480? because when<br>
it returns 500 the initiating side treats it as if the freeswitch is down.<br>
<br>
LOG Record:<br>
<br>
c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.616278 [DEBUG]<br>
mod_sofia.c:425 sofia/internal/<a href="mailto:972549957605@fs-stb.kaymera.com">972549957605@fs-stb.kaymera.com</a> Overriding<br>
SIP cause 480 with 500 from the other leg<br>
<br>
c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.616278 [DEBUG]<br>
mod_sofia.c:431 Channel sofia/internal/<a href="mailto:972549957605@fs-stb.kaymera.com">972549957605@fs-stb.kaymera.com</a><br>
hanging up, cause: NORMAL_CLEARING<br>
<br>
c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.636279 [DEBUG]<br>
mod_sofia.c:568 Responding to INVITE with: 500<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Overriding-SIP-cause-480-with-500-Problem-tp7596209.html" rel="noreferrer" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Overriding-SIP-cause-480-with-500-Problem-tp7596209.html</a><br>
Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.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.org</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">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>