[svn-commits] rmudgett: branch group/issue14068 r821 - /team/group/issue14068/q931.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu May 28 14:00:33 CDT 2009


Author: rmudgett
Date: Thu May 28 14:00:30 2009
New Revision: 821

URL: http://svn.asterisk.org/svn-view/libpri?view=rev&rev=821
Log:
Missing COLP API changes.

Modified:
    team/group/issue14068/q931.c

Modified: team/group/issue14068/q931.c
URL: http://svn.asterisk.org/svn-view/libpri/team/group/issue14068/q931.c?view=diff&rev=821&r1=820&r2=821
==============================================================================
--- team/group/issue14068/q931.c (original)
+++ team/group/issue14068/q931.c Thu May 28 14:00:30 2009
@@ -3251,6 +3251,7 @@
 	c->peercallstate = Q931_CALL_STATE_NULL;
 	pri->schedev = 1;
 	pri->ev.e = PRI_EVENT_HANGUP_ACK;
+	pri->ev.hangup.subcmds = &pri->subcmds;
 	pri->ev.hangup.channel = c->channelno;
 	pri->ev.hangup.cause = c->cause;
 	pri->ev.hangup.cref = c->cr;
@@ -4167,6 +4168,9 @@
 			if (c->newcall) {
 				q931_release_complete(pri,c,PRI_CAUSE_INVALID_CALL_REFERENCE);
 				break;
+			}
+			if (pri->subcmds.counter_subcmd) {
+				haveevent = 1;
 			}
 			if (c->ctcompleteflag) {
 				c->ctcompleteflag = 0;




More information about the svn-commits mailing list