Merged revisions 58053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r58053 | oej | 2007-03-06 21:37:07 +0100 (Tue, 06 Mar 2007) | 10 lines Merged revisions 58052 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r58052 | oej | 2007-03-06 21:33:21 +0100 (Tue, 06 Mar 2007) | 2 lines Change error message to proper message ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
eed095c276
commit
52750892b0
1 changed files with 1 additions and 1 deletions
|
@ -15325,7 +15325,7 @@ 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 || p->method == SIP_NOTIFY)) {
|
if (!e && (p->method == SIP_INVITE || p->method == SIP_SUBSCRIBE || p->method == SIP_REGISTER || p->method == SIP_NOTIFY)) {
|
||||||
transmit_response(p, "503 Server error", req);
|
transmit_response(p, "400 Bad request", req);
|
||||||
sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
|
sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue