[Asterisk-cvs] libpri-matt q931.c,1.22,1.23
mattf at lists.digium.com
mattf at lists.digium.com
Wed Feb 16 10:37:57 CST 2005
Update of /usr/cvsroot/libpri-matt
In directory mongoose.digium.com:/tmp/cvs-serv19820
Modified Files:
q931.c
Log Message:
Fixed bug in hangup code for signalling only connections
Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri-matt/q931.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- q931.c 3 Feb 2005 02:29:14 -0000 1.22
+++ q931.c 16 Feb 2005 16:37:15 -0000 1.23
@@ -3162,7 +3162,10 @@
while we sent it, assume a NULL state */
if (c->newcall)
q931_release_complete(pri,c,PRI_CAUSE_INVALID_CALL_REFERENCE);
- else
+ else if (c->justsignalling) {
+ q931_release_complete(pri,c,PRI_CAUSE_NORMAL_CLEARING);
+ pri_message("!! Sending release complete on signalling only connection\n");
+ } else
return Q931_RES_HAVEEVENT;
break;
case Q931_DISCONNECT:
More information about the svn-commits
mailing list