mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Clean up bad dialogs properly. Caused by GS 487 adapter without CSEQ on separate line
in the REGISTER request. Imported from 1.2. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -14323,7 +14323,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
||||
error = 1;
|
||||
}
|
||||
if (error) {
|
||||
if (!p->initreq.header) /* New call */
|
||||
if (!p->initreq.headers) /* New call */
|
||||
ast_set_flag(&p->flags[0], SIP_NEEDDESTROY); /* Make sure we destroy this dialog */
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user