[Asterisk-cvs] libpri q931.c,1.45,1.46

markster at lists.digium.com markster at lists.digium.com
Wed Feb 25 15:13:12 CST 2004


Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv2286

Modified Files:
	q931.c 
Log Message:
Don't send release complete on the global call identifier


Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- q931.c	8 Feb 2004 00:20:18 -0000	1.45
+++ q931.c	25 Feb 2004 20:02:04 -0000	1.46
@@ -2247,7 +2247,8 @@
 			break;
 		}
 		if (c->newcall) {
-			q931_release_complete(pri,c,PRI_CAUSE_WRONG_CALL_STATE);
+			if (c->cr & 0x7fff)
+				q931_release_complete(pri,c,PRI_CAUSE_WRONG_CALL_STATE);
 			break;
 		}
 		/* Do nothing */




More information about the svn-commits mailing list