[asterisk-commits] wdoekes: branch 11 r423721 - in /branches/11: ./ channels/chan_sip.c

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


Author: wdoekes
Date: Mon Sep 22 14:46:51 2014
New Revision: 423721

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

Merged revisions 423720 from http://svn.asterisk.org/svn/asterisk/branches/1.8

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

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

Modified: branches/11/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/channels/chan_sip.c?view=diff&rev=423721&r1=423720&r2=423721
==============================================================================
--- branches/11/channels/chan_sip.c (original)
+++ branches/11/channels/chan_sip.c Mon Sep 22 14:46:51 2014
@@ -25867,7 +25867,7 @@
 			break;
 		}
 	} else {
-		if (p && (p->autokillid == -1)) {
+		if (!req->ignore && p && (p->autokillid == -1)) {
 			const char *msg;
 
 			if ((ast_format_cap_is_empty(p->jointcaps)))




More information about the asterisk-commits mailing list