aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-09-07 01:25:18 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-09-07 01:25:18 +0000
commit6f3a8589019b30cfbef735d7f8a319b467ee18f1 (patch)
tree57175b3cc017acc44460673bfd42f19f1beaf536
parent53a61fb2b7900ae1be446d40bdc58b43cdd3f70c (diff)
Consider service unavailable as CONGESTION (bug #2391)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3733 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xchannels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index aa0ae6075..ef26c29af 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6755,6 +6755,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
case 410: /* Gone */
case 400: /* Bad Request */
case 500: /* Server error */
+ case 503: /* Service Unavailable */
if (owner)
ast_queue_control(p->owner, AST_CONTROL_CONGESTION);
break;