Merged revisions 114584 via svnmerge from
authorOlle Johansson <oej@edvina.net>
Wed, 23 Apr 2008 16:53:34 +0000 (16:53 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 23 Apr 2008 16:53:34 +0000 (16:53 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114584 | oej | 2008-04-23 18:51:41 +0200 (Ons, 23 Apr 2008) | 2 lines

Add 502 support for both directions, not only one...  (see r114571)

........

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

channels/chan_sip.c

index a531eb7..07c9c45 100644 (file)
@@ -16459,6 +16459,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 */