[libpri-commits] trunk - r305 in /trunk: pri.c pri_facility.c

libpri-commits at lists.digium.com libpri-commits at lists.digium.com
Thu Jan 19 16:27:27 MST 2006


Author: mattf
Date: Thu Jan 19 17:27:27 2006
New Revision: 305

URL: http://svn.digium.com/view/libpri?rev=305&view=rev
Log:
RLT works!!! Tested successfully on a DMS100 switch.  (For those wondering, RLT 
is basically 2 B-channel transfer on DMS100)

Modified:
    trunk/pri.c
    trunk/pri_facility.c

Modified: trunk/pri.c
URL: http://svn.digium.com/view/libpri/trunk/pri.c?rev=305&r1=304&r2=305&view=diff
==============================================================================
--- trunk/pri.c (original)
+++ trunk/pri.c Thu Jan 19 17:27:27 2006
@@ -529,11 +529,6 @@
 	if (!call1 || !call2)
 		return -1;
 
-	/* Check switchtype compatibility */
-	if (call1->pri->switchtype != PRI_SWITCH_LUCENT5E ||
-			call2->pri->switchtype != PRI_SWITCH_LUCENT5E)
-		return -1;
-
 	/* Check for bearer capability */
 	if (call1->transcapability != call2->transcapability)
 		return -1;

Modified: trunk/pri_facility.c
URL: http://svn.digium.com/view/libpri/trunk/pri_facility.c?rev=305&r1=304&r2=305&view=diff
==============================================================================
--- trunk/pri_facility.c (original)
+++ trunk/pri_facility.c Thu Jan 19 17:27:27 2006
@@ -857,7 +857,7 @@
 	} else
 		return -1;
 
-	buffer[i++] = (0x80 | Q932_PROTOCOL_ROSE);
+	buffer[i++] = (Q932_PROTOCOL_ROSE);
 	buffer[i++] = (0x80 | RLT_SERVICE_ID); /* Service Identifier octet */
 
 	ASN1_ADD_SIMPLE(comp, COMP_TYPE_INVOKE, buffer, i);



More information about the libpri-commits mailing list