#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>
int bchannel_initialize(void)
{
+ init_af_isdn();
+
return(0);
}
{
int ret, work = 0;
struct bchannel *bchannel;
- char buffer[2048+MISDN_HEADER_LEN];
+ unsigned char buffer[2048+MISDN_HEADER_LEN];
struct mISDNhead *hh = (struct mISDNhead *)buffer;
/* process all bchannels */