[Asterisk-cvs] libpri q931.c,1.47,1.48
markster at lists.digium.com
markster at lists.digium.com
Tue Apr 6 10:49:57 CDT 2004
Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv26872
Modified Files:
q931.c
Log Message:
Generate release complete message back to Asterisk when T308 expires twice.
Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- q931.c 15 Mar 2004 05:53:25 -0000 1.47
+++ q931.c 6 Apr 2004 14:50:19 -0000 1.48
@@ -1644,6 +1644,15 @@
if (pri->debug & PRI_DEBUG_Q931_STATE)
pri_message("Final time-out looking for release complete\n");
c->t308_timedout++;
+ c->ourcallstate = Q931_CALL_STATE_NULL;
+ c->peercallstate = Q931_CALL_STATE_NULL;
+ pri->schedev = 1;
+ pri->ev.e = PRI_EVENT_HANGUP_ACK;
+ pri->ev.hangup.channel = c->channelno;
+ pri->ev.hangup.cref = c->cr;
+ pri->ev.hangup.cause = c->cause;
+ pri->ev.hangup.call = c;
+ q931_hangup(pri, c, c->cause);
}
static void pri_disconnect_timeout(void *data)
More information about the svn-commits
mailing list