[asterisk-bugs] [Asterisk 0012491]: "502 Bad Gateway" is translated as "NO ANSWER" instead of "FAILED", why?
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Apr 22 19:13:46 CDT 2008
The following issue has been CLOSED
======================================================================
http://bugs.digium.com/view.php?id=12491
======================================================================
Reported By: ibc
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 12491
Category: Channels/chan_sip/Interoperability
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.4.15
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 04-22-2008 05:48 CDT
Last Modified: 04-22-2008 19:13 CDT
======================================================================
Summary: "502 Bad Gateway" is translated as "NO ANSWER"
instead of "FAILED", why?
Description:
Hi, IMHO it's clear that receiving a "502" from a SIP server means that
some kind of error has occurred:
21.5.3 502 Bad Gateway
The server, while acting as a gateway or proxy, received an invalid
response from the downstream server it accessed in attempting to
fulfill the request.
But Asterisk translates it into "NO ANSWER" instead of "FAILED":
-- Got SIP response 502 "Bad Gateway" back from XXX.XXX.XXX.XXX
== Everyone is busy/congested at this time (1:0/0/1)
And this originates a "disposition=NO ANSWER" entry in CDR.
I think HANGUPCAUSE 27 ("502 Bad Gateway") should be mapped to "FAILED"
call disposition instead of "NO ANSWER".
Regards.
======================================================================
----------------------------------------------------------------------
Corydon76 - 04-22-08 19:13
----------------------------------------------------------------------
Committed to SVN branch 1.4.
Issue History
Date Modified Username Field Change
======================================================================
04-22-08 19:13 Corydon76 Note Added: 0085876
04-22-08 19:13 Corydon76 Assigned To => Corydon76
04-22-08 19:13 Corydon76 Status new => closed
04-22-08 19:13 Corydon76 Resolution open => fixed
======================================================================
More information about the asterisk-bugs
mailing list