From a0579869a762fc89e29f214c42fa1981db7a3c9e Mon Sep 17 00:00:00 2001 From: David Vossel Date: Wed, 22 Sep 2010 17:48:15 +0000 Subject: [PATCH] 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.4@288416 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c652460eb9..1e52ca6cc0 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -16853,7 +16853,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc if (option_debug) ast_log(LOG_DEBUG, "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 && -- 2.47.2