[asterisk-commits] dvossel: branch 1.4 r288416 - /branches/1.4/channels/chan_sip.c

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


Author: dvossel
Date: Wed Sep 22 12:48:15 2010
New Revision: 288416

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=288416
Log:
RFC3261 section 12.2 explicitly says out of order requests are responded with a 500 Server Internal Error response.

ABE-2458


Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=288416&r1=288415&r2=288416
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed Sep 22 12:48:15 2010
@@ -16853,7 +16853,7 @@
 			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 &&




More information about the asterisk-commits mailing list