diff options
author | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-22 17:49:05 +0000 |
---|---|---|
committer | dvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-22 17:49:05 +0000 |
commit | 1dcfcfcb95360a7adc6cb61fa04db57c43ef8797 (patch) | |
tree | a695847126a07ec2bcb9e4027aa0aa6160a43f6a /channels | |
parent | ed36d21c5718488c895752c89b66e81da5118719 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.6.2@288417 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-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 601bdba23..5f523f0a8 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 && |