[asterisk-commits] trunk r36173 - /trunk/channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jun 27 04:28:49 MST 2006


Author: crichter
Date: Tue Jun 27 06:28:48 2006
New Revision: 36173

URL: http://svn.digium.com/view/asterisk?rev=36173&view=rev
Log:
fixes segfault on incoming call which is disconnected in Alerting state

Modified:
    trunk/channels/chan_misdn.c

Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?rev=36173&r1=36172&r2=36173&view=diff
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Tue Jun 27 06:28:48 2006
@@ -3764,6 +3764,7 @@
 		break;
 	case EVENT_RELEASE_COMPLETE:
 	{
+		ch->state=MISDN_CLEANING;
 		stop_bc_tones(ch);
 		release_chan(bc);
 	}



More information about the asterisk-commits mailing list