diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-22 17:48:15 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-22 17:48:15 +0000 |
commit | 0622c488f91f8bd62902cf4a66972711fc86cb91 (patch) | |
tree | 4391f45f07df07c6054ecb5016122a17a7970b56 | |
parent | f0c834965c8c9fec31e010bfa142a4e97be5315c (diff) |
RFC3261 section 12.2 explicitly says out of order requests are responded with a 500 Server Internal Error response.
ABE-2458
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@288416 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c652460eb..1e52ca6cc 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 && |