[asterisk-commits] oej: branch oej/midcomstuff r53618 - /team/oej/midcomstuff/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Feb 8 11:30:32 MST 2007


Author: oej
Date: Thu Feb  8 12:30:31 2007
New Revision: 53618

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53618
Log:
Flags, flags, flags

Modified:
    team/oej/midcomstuff/channels/chan_sip.c

Modified: team/oej/midcomstuff/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/midcomstuff/channels/chan_sip.c?view=diff&rev=53618&r1=53617&r2=53618
==============================================================================
--- team/oej/midcomstuff/channels/chan_sip.c (original)
+++ team/oej/midcomstuff/channels/chan_sip.c Thu Feb  8 12:30:31 2007
@@ -6669,7 +6669,9 @@
 			if (p->owner)
 				ast_queue_hangup(p->owner);
 			else
-				ast_set_flag(p, SIP_NEEDDESTROY);
+				/*! \bug XXX This is not correct, since it will destroy the
+					dialog, but not the close the session properly */
+				ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);
 		}
 	}
 #endif



More information about the asterisk-commits mailing list