[libpri-commits] rmudgett: branch 1.4 r1097 - /branches/1.4/q931.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Thu Sep 17 19:31:25 CDT 2009


Author: rmudgett
Date: Thu Sep 17 19:31:21 2009
New Revision: 1097

URL: http://svn.asterisk.org/svn-view/libpri?view=rev&rev=1097
Log:
Another place where timeout events with subcmds should clear any old subcmds.

Modified:
    branches/1.4/q931.c

Modified: branches/1.4/q931.c
URL: http://svn.asterisk.org/svn-view/libpri/branches/1.4/q931.c?view=diff&rev=1097&r1=1096&r2=1097
==============================================================================
--- branches/1.4/q931.c (original)
+++ branches/1.4/q931.c Thu Sep 17 19:31:21 2009
@@ -5142,6 +5142,7 @@
 
 	UPDATE_OURCALLSTATE(ctrl, c, Q931_CALL_STATE_NULL);
 	c->peercallstate = Q931_CALL_STATE_NULL;
+	q931_clr_subcommands(ctrl);
 	ctrl->ev.hangup.subcmds = &ctrl->subcmds;
 	ctrl->ev.hangup.channel = q931_encode_channel(c);
 	ctrl->ev.hangup.cause = c->cause;      		




More information about the libpri-commits mailing list