aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/dahdi_compat.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asterisk/dahdi_compat.h b/include/asterisk/dahdi_compat.h
index b1dc8d02c..a8f602af1 100644
--- a/include/asterisk/dahdi_compat.h
+++ b/include/asterisk/dahdi_compat.h
@@ -26,10 +26,16 @@
#include <dahdi/user.h>
+#define DAHDI_DIR_NAME "/dev/dahdi"
+#define DAHDI_NAME "DAHDI"
+
#elif defined(HAVE_ZAPTEL)
#include <zaptel/zaptel.h>
+#define DAHDI_DIR_NAME "/dev/zap"
+#define DAHDI_NAME "DAHDI"
+
/* Compiling against Zaptel instead of DAHDI */
#if defined(__ZT_SIG_FXO)
@@ -443,4 +449,10 @@
#endif
+#define DAHDI_FILE_CHANNEL DAHDI_DIR_NAME "/channel"
+#define DAHDI_FILE_CTL DAHDI_DIR_NAME "/ctl"
+#define DAHDI_FILE_PSEUDO DAHDI_DIR_NAME "/pseudo"
+#define DAHDI_FILE_TIMER DAHDI_DIR_NAME "/timer"
+#define DAHDI_FILE_TRANSCODE DAHDI_DIR_NAME "/transcode"
+
#endif /* DAHDI_COMPAT_H */