[asterisk-commits] wdoekes: branch 1.8 r423720 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 22 14:45:56 CDT 2014


Author: wdoekes
Date: Mon Sep 22 14:45:50 2014
New Revision: 423720

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=423720
Log:
chan_sip: On INVITE retransmission, don't add an extra 503 response.

INVITE arrives to asterisk, asterisk responds Busy(). If the INVITE is
retransmitted, asterisk would generate a 503 in addition to the 486.

Thanks Torrey Searle for providing a working regression test.

ASTERISK-24335 #close

Review: https://reviewboard.asterisk.org/r/4003/
Patches:
  retrans_486_invite.patch uploaded by Torrey Searle (License #5334)

Modified:
    branches/1.8/channels/chan_sip.c

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=423720&r1=423719&r2=423720
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Mon Sep 22 14:45:50 2014
@@ -23830,7 +23830,7 @@
 			break;
 		}
 	} else {
-		if (p && (p->autokillid == -1)) {
+		if (!req->ignore && p && (p->autokillid == -1)) {
 			const char *msg;
 
 			if (!p->jointcapability)




More information about the asterisk-commits mailing list