Merging patch from 1.2/1.4. I think this was originally spotted by

Luigi, but hit me in the back today.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Olle Johansson 19 years ago
parent bf9a5e1dee
commit 389ed67b41

@ -14575,7 +14575,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;
}

Loading…
Cancel
Save