[Freeswitch-users] Overriding SIP cause 480 with 500 Problem

Michael Collins msc at freeswitch.org
Mon Mar 28 21:11:27 MSD 2016


The proto_specific_hangup_cause
<https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-proto_specific_hangup_cause>
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.

-MSC

On Mon, Mar 28, 2016 at 7:09 AM, ItTeam <it-team at kaymera.com> wrote:

> Hi Guys!
>
> We are having an issue where we call a remote sip client, the sip client
> has
> network issues and returns a 500 error code. the freeswitch treats it as
> 480, but because the client sent 500 the freeswitch overrides it to 500.
>
> is there a way to not override the error and leave it as 480? because when
> it returns 500 the initiating side treats it as if the freeswitch is down.
>
> LOG Record:
>
> c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.616278 [DEBUG]
> mod_sofia.c:425 sofia/internal/972549957605 at fs-stb.kaymera.com Overriding
> SIP cause 480 with 500 from the other leg
>
> c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.616278 [DEBUG]
> mod_sofia.c:431 Channel sofia/internal/972549957605 at fs-stb.kaymera.com
> hanging up, cause: NORMAL_CLEARING
>
> c0c9bfae-a833-426c-a9d7-549f29783a63 2016-03-28 10:41:11.636279 [DEBUG]
> mod_sofia.c:568 Responding to INVITE with: 500
>
>
>
> --
> View this message in context:
> http://freeswitch-users.2379917.n2.nabble.com/Overriding-SIP-cause-480-with-500-Problem-tp7596209.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _________________________________________________________________________
> 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/20160328/1bd9f291/attachment.html 


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