mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@57522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -11450,6 +11450,12 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!e && (p->method == SIP_INVITE || p->method == SIP_SUBSCRIBE || p->method == SIP_REGISTER)) {
|
||||||
|
transmit_response(p, "503 Server error", req);
|
||||||
|
ast_set_flag(p, SIP_NEEDDESTROY);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
/* Handle various incoming SIP methods in requests */
|
/* Handle various incoming SIP methods in requests */
|
||||||
switch (p->method) {
|
switch (p->method) {
|
||||||
case SIP_OPTIONS:
|
case SIP_OPTIONS:
|
||||||
|
Reference in New Issue
Block a user