[asterisk-commits] dvossel: branch 1.6.2 r288417 - in /branches/1.6.2: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 22 12:49:13 CDT 2010


Author: dvossel
Date: Wed Sep 22 12:49:05 2010
New Revision: 288417

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=288417
Log:
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
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_sip.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=288417&r1=288416&r2=288417
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Wed Sep 22 12:49:05 2010
@@ -21871,7 +21871,7 @@
 		}  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 &&




More information about the asterisk-commits mailing list