diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-22 23:51:44 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-22 23:51:44 +0000 |
commit | 03b6ede21d4e372c2c355e6b192e002c2dd91451 (patch) | |
tree | f285eefc0ebd873e8552cb265e5b043886fe52f9 /channels | |
parent | c8adf4249c75e6b8e21e6b90753b89371964567d (diff) |
Treat a 502 just like a 503, when it comes to processing a response code
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114571 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 8ebe9d520..ae4758b9d 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) |