summaryrefslogtreecommitdiffstats
path: root/bchannel.c
diff options
context:
space:
mode:
authorschlaile2008-08-12 16:16:54 +0200
committerroot2008-08-12 16:16:54 +0200
commit3a5b34a850db3e4447287f46a40b74e0427eae54 (patch)
tree74a8b5af12677f8e6dbf02b2ca62901b26e54afa /bchannel.c
parentfixed audio preload of tones. this reduces the propability of audio gaps resu... (diff)
downloadlcr-3a5b34a850db3e4447287f46a40b74e0427eae54.tar.gz
lcr-3a5b34a850db3e4447287f46a40b74e0427eae54.tar.xz
lcr-3a5b34a850db3e4447287f46a40b74e0427eae54.zip
make LCR compile again with latest mISDNuser changes
Diffstat (limited to 'bchannel.c')
-rw-r--r--bchannel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bchannel.c b/bchannel.c
index c5dcc4b..b154972 100644
--- a/bchannel.c
+++ b/bchannel.c
@@ -25,6 +25,10 @@
#include <sys/socket.h>
#include <mISDNif.h>
+#define AF_COMPATIBILITY_FUNC 1
+#define MISDN_OLD_AF_COMPATIBILITY 1
+#include <compat_af_isdn.h>
+
#include <asterisk/frame.h>
@@ -53,6 +57,8 @@ enum {
int bchannel_initialize(void)
{
+ init_af_isdn();
+
return(0);
}