#define PDEBUG_RUNTIME(mask, fmt, arg...) _printdebug(NULL, 0, mask, fmt, ## arg)
#define PERROR_RUNTIME(fmt, arg...) _printerror(NULL, 0, fmt, ## arg)
void _printdebug(const char *function, int line, unsigned long mask, const char *fmt, ...);
-void printlog(const char *fmt, ...);
void _printerror(const char *function, int line, const char *fmt, ...);
#define DEBUG_CONFIG 0x0001
* preload transmit buffer to avoid gaps at the beginning due to jitter
* this is also the maximum load that will be kept in tx-buffer
*/
-#define ISDN_PRELOAD 128 // 1024 samples
+#define ISDN_PRELOAD 1024 // samples
/*
* interval for refreshing transmit buffer
*/
-#define ISDN_TRANSMIT 32 // 256 samples
+#define ISDN_TRANSMIT 256 // samples
/* give sendmail program. if not inside $PATH, give absolute path here (e.g. "/usr/sbin/sendmail")
*/
extern "C" {
#endif
#include <isdn_net.h>
-#include <net_l3.h>
+#include <../i4lnet/net_l3.h>
#ifdef __cplusplus
}
#endif
#include "tones.h"
#include "crypt.h"
#include "admin_server.h"
+#include "trace.h"
extern double now_d;
extern time_t now;
extern struct timeval now_tv;
extern struct timezone now_tz;
+#define DIRECTION_NONE 0
+#define DIRECTION_OUT 1
+#define DIRECTION_IN 2