[libpri-commits] branch 1.2 r327 - in /branches/1.2: libpri.h q931.c

libpri-commits at lists.digium.com libpri-commits at lists.digium.com
Thu Apr 27 09:08:39 MST 2006


Author: mattf
Date: Thu Apr 27 11:08:39 2006
New Revision: 327

URL: http://svn.digium.com/view/libpri?rev=327&view=rev
Log:
Make sure we pass the call back in the setup_ack

Modified:
    branches/1.2/libpri.h
    branches/1.2/q931.c

Modified: branches/1.2/libpri.h
URL: http://svn.digium.com/view/libpri/branches/1.2/libpri.h?rev=327&r1=326&r2=327&view=diff
==============================================================================
--- branches/1.2/libpri.h (original)
+++ branches/1.2/libpri.h Thu Apr 27 11:08:39 2006
@@ -359,6 +359,7 @@
 typedef struct pri_event_setup_ack {
 	int e;
 	int channel;
+	q931_call *call;
 } pri_event_setup_ack;
 
 typedef struct pri_event_notify {

Modified: branches/1.2/q931.c
URL: http://svn.digium.com/view/libpri/branches/1.2/q931.c?rev=327&r1=326&r2=327&view=diff
==============================================================================
--- branches/1.2/q931.c (original)
+++ branches/1.2/q931.c Thu Apr 27 11:08:39 2006
@@ -3530,6 +3530,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