]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Treat 400 response as "CONGESTION" (bug #2369)
authorMark Spencer <markster@digium.com>
Sat, 4 Sep 2004 00:29:00 +0000 (00:29 +0000)
committerMark Spencer <markster@digium.com>
Sat, 4 Sep 2004 00:29:00 +0000 (00:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3721 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index cd0fb4c25bdea4e103e496f7c06aff3a2c9727d5..aa0ae607585471975db343920c1ff8657e4b108f 100755 (executable)
@@ -6753,6 +6753,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
                                case 480: /* Temporarily Unavailable */
                                case 404: /* Not Found */
                                case 410: /* Gone */
+                               case 400: /* Bad Request */
                                case 500: /* Server error */
                                        if (owner)
                                                ast_queue_control(p->owner, AST_CONTROL_CONGESTION);