[svn-commits] rmudgett: branch rmudgett/sig_ss7 r263193 - /team/rmudgett/sig_ss7/channels/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri May 14 14:28:12 CDT 2010


Author: rmudgett
Date: Fri May 14 14:28:09 2010
New Revision: 263193

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=263193
Log:
Fix hangup not completely cleaning up call.

Modified:
    team/rmudgett/sig_ss7/channels/sig_ss7.c

Modified: team/rmudgett/sig_ss7/channels/sig_ss7.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/sig_ss7/channels/sig_ss7.c?view=diff&rev=263193&r1=263192&r2=263193
==============================================================================
--- team/rmudgett/sig_ss7/channels/sig_ss7.c (original)
+++ team/rmudgett/sig_ss7/channels/sig_ss7.c Fri May 14 14:28:09 2010
@@ -709,8 +709,7 @@
 				sig_ss7_set_remotelyblocked(p, 0);
 				dpc = p->dpc;
 				isup_set_call_dpc(e->rsc.call, dpc);
-				if (p->ss7call)
-					p->ss7call = NULL;
+				p->ss7call = NULL;
 				if (p->owner)
 					p->owner->_softhangup |= AST_SOFTHANGUP_DEV;
 				sig_ss7_unlock_private(p);
@@ -1378,7 +1377,9 @@
 		return 0;
 	}
 
+	p->owner = NULL;
 	sig_ss7_set_dialing(p, 0);
+	p->outgoing = 0;
 	p->proceeding = 0;
 	p->progress = 0;
 	p->alerting = 0;




More information about the svn-commits mailing list