]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Treat a 502 just like a 503, when it comes to processing a response code
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 22 Apr 2008 23:51:44 +0000 (23:51 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 22 Apr 2008 23:51:44 +0000 (23:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@114571 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 8ebe9d520a903148a3dcf9e5d087afd710c588b7..ae4758b9dd94ed0663432db4fc1d07abe8e7307c 100644 (file)
@@ -12948,6 +12948,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
                                                break;
                                        }
                                        /* Fall through */
+                               case 502: /* Bad gateway */
                                case 503: /* Service Unavailable */
                                case 504: /* Server Timeout */
                                        if (owner)