Merged revisions 288417 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288417 | dvossel | 2010-09-22 12:49:05 -0500 (Wed, 22 Sep 2010) | 11 lines
  
  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.8@288418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
certified/1.8.6
David Vossel 16 years ago
parent 4cb567b461
commit 0f4fa2300a

@ -23497,7 +23497,7 @@ static int handle_incoming(struct sip_pvt *p, struct sip_request *req, struct as
} 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 &&

Loading…
Cancel
Save