From: David Vossel Date: Wed, 22 Sep 2010 17:49:05 +0000 (+0000) Subject: Merged revisions 288416 via svnmerge from X-Git-Tag: 1.6.2.15-rc1~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae79219e7f3bec7807631367ec0b5040818b9238;p=thirdparty%2Fasterisk.git Merged revisions 288416 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r288416 | dvossel | 2010-09-22 12:48:15 -0500 (Wed, 22 Sep 2010) | 5 lines RFC3261 section 12.2 explicitly says out of order requests are responded with a 500 Server Internal Error response. ABE-2458 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@288417 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 601bdba233..5f523f0a88 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -21871,7 +21871,7 @@ static int handle_incoming(struct sip_pvt *p, struct sip_request *req, struct so } else { ast_debug(1, "Ignoring too old SIP packet packet %d (expecting >= %d)\n", seqno, p->icseq); if (req->method != SIP_ACK) - transmit_response(p, "503 Server error", req); /* We must respond according to RFC 3261 sec 12.2 */ + transmit_response(p, "500 Server error", req); /* We must respond according to RFC 3261 sec 12.2 */ return -1; } } else if (p->icseq &&