[svn-commits] trunk r33069 - /trunk/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Jun 8 11:13:06 MST 2006


Author: oej
Date: Thu Jun  8 13:13:06 2006
New Revision: 33069

URL: http://svn.digium.com/view/asterisk?rev=33069&view=rev
Log:
Issue #7294 - Asterisk sends INVITE instead of BYE. Fix by Philippe Sultan. Thanks!

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=33069&r1=33068&r2=33069&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Jun  8 13:13:06 2006
@@ -14946,7 +14946,7 @@
 		changed |= ast_rtp_get_peer(vrtp, &p->vredirip);
 	else
 		memset(&p->vredirip, 0, sizeof(p->vredirip));
-	if (p->redircodecs != codecs) {
+	if (codecs && (p->redircodecs != codecs)) {
 		p->redircodecs = codecs;
 		changed = 1;
 	}



More information about the svn-commits mailing list