[asterisk-commits] file: branch 1.4 r85093 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 9 09:30:17 CDT 2007


Author: file
Date: Tue Oct  9 09:30:16 2007
New Revision: 85093

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85093
Log:
Don't perform a reinvite if a transfer is in progress.
(issue #10915)
Reported by: ramonpeek

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=85093&r1=85092&r2=85093
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Tue Oct  9 09:30:16 2007
@@ -17262,7 +17262,7 @@
 			changed = 1;
 		}
 	}
-	if (changed && !ast_test_flag(&p->flags[0], SIP_GOTREFER)) {
+	if (changed && !ast_test_flag(&p->flags[0], SIP_GOTREFER) && !ast_test_flag(&p->flags[0], SIP_DEFER_BYE_ON_TRANSFER)) {
 		if (chan->_state != AST_STATE_UP) {	/* We are in early state */
 			if (!ast_test_flag(&p->flags[0], SIP_NO_HISTORY))
 				append_history(p, "ExtInv", "Initial invite sent with remote bridge proposal.");




More information about the asterisk-commits mailing list