[asterisk-commits] dvossel: branch 1.8 r288418 - in /branches/1.8: ./ channels/chan_sip.c

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


Author: dvossel
Date: Wed Sep 22 12:49:56 2010
New Revision: 288418

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

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

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

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