[asterisk-commits] rmudgett: branch group/CCSS r246026 - /team/group/CCSS/channels/chan_dahdi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 10 09:54:25 CST 2010
Author: rmudgett
Date: Wed Feb 10 09:54:21 2010
New Revision: 246026
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=246026
Log:
Make compile if we do not have libpri installed.
Modified:
team/group/CCSS/channels/chan_dahdi.c
Modified: team/group/CCSS/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_dahdi.c?view=diff&rev=246026&r1=246025&r2=246026
==============================================================================
--- team/group/CCSS/channels/chan_dahdi.c (original)
+++ team/group/CCSS/channels/chan_dahdi.c Wed Feb 10 09:54:21 2010
@@ -12566,6 +12566,7 @@
*/
static int dahdi_devicestate(void *data)
{
+#if defined(HAVE_PRI)
char *device;
unsigned span;
int res;
@@ -12604,6 +12605,9 @@
}
return AST_DEVICE_UNKNOWN;
#endif /* defined(THRESHOLD_DEVSTATE_PLACEHOLDER) */
+#else
+ return AST_DEVICE_UNKNOWN;
+#endif /* defined(HAVE_PRI) */
}
/*!
More information about the asterisk-commits
mailing list