[libpri-commits] trunk r328 - in /trunk: libpri.h q931.c
libpri-commits at lists.digium.com
libpri-commits at lists.digium.com
Thu Apr 27 09:09:12 MST 2006
Author: mattf
Date: Thu Apr 27 11:09:11 2006
New Revision: 328
URL: http://svn.digium.com/view/libpri?rev=328&view=rev
Log:
Make sure we pass the call back in setup_ack
Modified:
trunk/libpri.h
trunk/q931.c
Modified: trunk/libpri.h
URL: http://svn.digium.com/view/libpri/trunk/libpri.h?rev=328&r1=327&r2=328&view=diff
==============================================================================
--- trunk/libpri.h (original)
+++ trunk/libpri.h Thu Apr 27 11:09:11 2006
@@ -361,6 +361,7 @@
typedef struct pri_event_setup_ack {
int e;
int channel;
+ q931_call *call;
} pri_event_setup_ack;
typedef struct pri_event_notify {
Modified: trunk/q931.c
URL: http://svn.digium.com/view/libpri/trunk/q931.c?rev=328&r1=327&r2=328&view=diff
==============================================================================
--- trunk/q931.c (original)
+++ trunk/q931.c Thu Apr 27 11:09:11 2006
@@ -3573,6 +3573,7 @@
c->peercallstate = Q931_CALL_STATE_OVERLAP_RECEIVING;
pri->ev.e = PRI_EVENT_SETUP_ACK;
pri->ev.setup_ack.channel = c->channelno | (c->ds1no << 8) | (c->ds1explicit << 16);
+ pri->ev.setup_ack.call = c;
cur = c->apdus;
while (cur) {
More information about the libpri-commits
mailing list