[svn-commits] branch 1.2 r34306 - /branches/1.2/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Jun 15 07:11:23 MST 2006


Author: oej
Date: Thu Jun 15 09:11:22 2006
New Revision: 34306

URL: http://svn.digium.com/view/asterisk?rev=34306&view=rev
Log:
Issue 7294 - patch by phsultan - Asterisk sends Invite instead of BYE in some cases.

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?rev=34306&r1=34305&r2=34306&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Thu Jun 15 09:11:22 2006
@@ -12911,7 +12911,7 @@
 	else
 		memset(&p->vredirip, 0, sizeof(p->vredirip));
 	p->redircodecs = codecs;
-	if (!ast_test_flag(p, SIP_GOTREFER)) {
+	if (codecs && !ast_test_flag(p, SIP_GOTREFER)) {
 		if (!p->pendinginvite) {
 			if (option_debug > 2) {
 				char iabuf[INET_ADDRSTRLEN];



More information about the svn-commits mailing list