aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-08 16:11:33 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-08 16:11:33 +0000
commitba69481b61a4ee1af01f82464fc98fc611ec072a (patch)
tree0ca99181ee00958dcf1350eff41bdd4b25331dcc
parent78d1d2f9beb31a642bb36cd44ebd28766e2e3d1a (diff)
Don't give up on attempting an outbound registration if we receive a 408 Timeout.
(closes issue #12323) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115561 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 3f05f2243..715fb134c 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -12544,8 +12544,6 @@ static int handle_response_register(struct sip_pvt *p, int resp, char *rest, str
}
break;
case 408: /* Request timeout */
- if (global_regattempts_max)
- p->registry->regattempts = global_regattempts_max+1;
ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
r->call = NULL;
AST_SCHED_DEL(sched, r->timeout);