aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
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 0f04bec44..655f0e116 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -11451,7 +11451,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;
}