Merged revisions 58053 via svnmerge from
authorOlle Johansson <oej@edvina.net>
Tue, 6 Mar 2007 20:45:29 +0000 (20:45 +0000)
committerOlle Johansson <oej@edvina.net>
Tue, 6 Mar 2007 20:45:29 +0000 (20:45 +0000)
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

channels/chan_sip.c

index ca52b46..8b44deb 100644 (file)
@@ -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)) {
-               transmit_response(p, "503 Server error", req);
+               transmit_response(p, "400 Bad request", req);
                sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
                return -1;
        }