Don't give up on attempting an outbound registration if we receive a 408 Timeout.

(closes issue #12323)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@115561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2008-05-08 16:11:33 +00:00
parent 0353109ec1
commit 442079ab0b

View File

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