aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-23 16:51:41 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-23 16:51:41 +0000
commit206ac4feabe75a454a57efae72b54e20b939886b (patch)
treeba95da9eae4e656bbdba18f3a96093ce5c7f951e /channels
parent3e94b4368c5b11503f1aa754624ec2cc300d8aec (diff)
Add 502 support for both directions, not only one... (see r114571)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114584 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index ae4758b9d..dd6baff00 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -13090,6 +13090,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
case 488: /* Not acceptable here - codec error */
case 603: /* Decline */
case 500: /* Server error */
+ case 502: /* Bad gateway */
case 503: /* Service Unavailable */
case 504: /* Server timeout */