[asterisk-commits] oej: trunk r42521 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Sep 9 05:00:20 MST 2006


Author: oej
Date: Sat Sep  9 07:00:19 2006
New Revision: 42521

URL: http://svn.digium.com/view/asterisk?rev=42521&view=rev
Log:
Clear proper flag

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=42521&r1=42520&r2=42521&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sat Sep  9 07:00:19 2006
@@ -11197,7 +11197,7 @@
 		} else {
 			transmit_request_with_auth(p, SIP_BYE, 0, 1, 1);
 			ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);	
-			ast_clear_flag(&p->flags[0], SIP_NEEDREINVITE);	
+			ast_clear_flag(&p->flags[0], SIP_CAN_BYE);	
 		}
 	} else if (ast_test_flag(&p->flags[0], SIP_NEEDREINVITE)) {
 		if (option_debug)



More information about the asterisk-commits mailing list