[libpri-commits] mattf: trunk r367 - /trunk/q931.c
libpri-commits at lists.digium.com
libpri-commits at lists.digium.com
Fri Jul 28 07:41:58 MST 2006
Author: mattf
Date: Fri Jul 28 09:41:57 2006
New Revision: 367
URL: http://svn.digium.com/view/libpri?rev=367&view=rev
Log:
Make sure we send any pending facility APDUs after we receive proceeding. #7551
Modified:
trunk/q931.c
Modified: trunk/q931.c
URL: http://svn.digium.com/view/libpri/trunk/q931.c?rev=367&r1=366&r2=367&view=diff
==============================================================================
--- trunk/q931.c (original)
+++ trunk/q931.c Fri Jul 28 09:41:57 2006
@@ -3418,6 +3418,15 @@
pri->ev.proceeding.progressmask = c->progressmask;
pri->ev.proceeding.cref = c->cr;
pri->ev.proceeding.call = c;
+
+ cur = c->apdus;
+ while (cur) {
+ if (!cur->sent && cur->message == Q931_FACILITY) {
+ q931_facility(pri, c);
+ break;
+ }
+ cur = cur->next;
+ }
return Q931_RES_HAVEEVENT;
case Q931_CONNECT_ACKNOWLEDGE:
if (c->newcall) {
More information about the libpri-commits
mailing list