From: Tilghman Lesher Date: Tue, 22 Apr 2008 23:51:44 +0000 (+0000) Subject: Treat a 502 just like a 503, when it comes to processing a response code X-Git-Tag: 1.4.20-rc1~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c777767c919de53c776fb61c58d49060b82d155;p=thirdparty%2Fasterisk.git Treat a 502 just like a 503, when it comes to processing a response code git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@114571 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 8ebe9d520a..ae4758b9dd 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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)