[asterisk-commits] mattf: trunk r85431 - /trunk/channels/chan_zap.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 11 12:09:31 CDT 2007


Author: mattf
Date: Thu Oct 11 12:09:31 2007
New Revision: 85431

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85431
Log:
Make sure we are clean to build without libpri

Modified:
    trunk/channels/chan_zap.c

Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?view=diff&rev=85431&r1=85430&r2=85431
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Thu Oct 11 12:09:31 2007
@@ -563,7 +563,7 @@
 	unsigned int inservice:1;
 	unsigned int locallyblocked:1;
 	unsigned int remotelyblocked:1;
-#if defined(HAVE_PRI)
+#if defined(HAVE_PRI) || defined(HAVE_SS7)
 	unsigned int alerting:1;
 	unsigned int alreadyhungup:1;
 	unsigned int isidlecall:1;
@@ -583,7 +583,7 @@
 	char language[MAX_LANGUAGE];
 	char mohinterpret[MAX_MUSICCLASS];
 	char mohsuggest[MAX_MUSICCLASS];
-#ifdef PRI_ANI
+#if defined(PRI_ANI) || defined(HAVE_SS7)
 	char cid_ani[AST_MAX_EXTENSION];
 #endif
 	char cid_num[AST_MAX_EXTENSION];




More information about the asterisk-commits mailing list