Treat 400 response as "CONGESTION" (bug #2369)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-09-04 00:29:00 +00:00
parent 04a9441769
commit 19be63c4c3

View File

@@ -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);