mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 00:41:02 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user