[svn-commits] jpeeler: trunk r203479 - /trunk/channels/chan_dahdi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 25 17:48:37 CDT 2009


Author: jpeeler
Date: Thu Jun 25 17:48:33 2009
New Revision: 203479

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=203479
Log:
make sure chan_dahdi compiles with only libss7 and not libpri installed

Modified:
    trunk/channels/chan_dahdi.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=203479&r1=203478&r2=203479
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Thu Jun 25 17:48:33 2009
@@ -69,6 +69,9 @@
 #endif
 
 #ifdef HAVE_SS7
+/* put this here until sig_ss7 comes along */
+#define NUM_DCHANS		4		/*!< No more than 4 d-channels */
+#define MAX_CHANNELS	672		/*!< No more than a DS3 per trunk group */
 #include <libss7.h>
 #endif
 
@@ -15909,7 +15912,7 @@
 static int load_module(void)
 {
 	int res;
-#if defined(HAVE_PRI)
+#if defined(HAVE_PRI) || defined (HAVE_SS7)
 	int y;
 #endif
 #if defined(HAVE_SS7)




More information about the svn-commits mailing list