[svn-commits] file: branch 1.4 r701 - /branches/1.4/q931.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Mar 4 14:31:26 CST 2009


Author: file
Date: Wed Mar  4 14:31:20 2009
New Revision: 701

URL: http://svn.digium.com/svn-view/libpri?view=rev&rev=701
Log:
Make sure we only have 4 octects on unrestricted 64k data calls.

(closes issue #14507)
Reported by: jsmith
Patches:
      64k-data.patch uploaded by jsmith (license 15)
Tested by: jsmith
(closes issue #13118)
Reported by: radpeter

Modified:
    branches/1.4/q931.c

Modified: branches/1.4/q931.c
URL: http://svn.digium.com/svn-view/libpri/branches/1.4/q931.c?view=diff&rev=701&r1=700&r2=701
==============================================================================
--- branches/1.4/q931.c (original)
+++ branches/1.4/q931.c Wed Mar  4 14:31:20 2009
@@ -825,6 +825,12 @@
 		/* Apparently EuroISDN switches don't seem to like user layer 2/3 */
 		return 4;
 	}
+
+	if ((tc & PRI_TRANS_CAP_DIGITAL) && (call->transmoderate == TRANS_MODE_64_CIRCUIT)) {
+		/* Unrestricted digital 64k data calls don't use user layer 2/3 */
+		return 4;
+	}
+
 	if (call->transmoderate != TRANS_MODE_PACKET) {
 		/* If you have an AT&T 4ESS, you don't send any more info */
 		if ((pri->switchtype != PRI_SWITCH_ATT4ESS) && (call->userl1 > -1)) {




More information about the svn-commits mailing list