From: Olle Johansson Date: Tue, 6 Mar 2007 20:33:21 +0000 (+0000) Subject: Change error message to proper message X-Git-Tag: 1.2.17~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d74199c6f7e5d8b6e2cb59dc8618f25caddda49;p=thirdparty%2Fasterisk.git Change error message to proper message git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58052 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 29916b7414..a9d658b462 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; }