Merged revisions 114571 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 22 Apr 2008 23:58:19 +0000 (23:58 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 22 Apr 2008 23:58:19 +0000 (23:58 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114571 | tilghman | 2008-04-22 18:51:44 -0500 (Tue, 22 Apr 2008) | 2 lines

Treat a 502 just like a 503, when it comes to processing a response code

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114572 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index c1f9b65..a531eb7 100644 (file)
@@ -16323,6 +16323,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)