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