aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-06 20:33:21 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-06 20:33:21 +0000
commit1f6a13c65ad83190d1d0ce1ce0305a44cfb0cdbd (patch)
tree24338c62a0aa5d46bd8e8d7dadbe89416aae9882 /channels
parent5f2a3f15f5aa213e6d6c1f88fd511083c9121d39 (diff)
Change error message to proper message
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@58052 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 29916b741..a9d658b46 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -11341,7 +11341,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)) {
- transmit_response(p, "503 Server error", req);
+ transmit_response(p, "400 Bad request", req);
ast_set_flag(p, SIP_NEEDDESTROY);
return -1;
}