mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 08:13:22 +00:00
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -49,7 +49,10 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <regex.h>
|
||||
#ifdef IAX_TRUNKING
|
||||
|
||||
#include "asterisk.h"
|
||||
|
||||
#ifdef HAVE_ZAPTEL
|
||||
#include <sys/ioctl.h>
|
||||
#ifdef __linux__
|
||||
#include <linux/zaptel.h>
|
||||
@@ -58,8 +61,6 @@
|
||||
#endif /* __linux__ */
|
||||
#endif
|
||||
|
||||
#include "asterisk.h"
|
||||
|
||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
|
||||
#include "asterisk/lock.h"
|
||||
@@ -9006,7 +9007,7 @@ static void prune_peers(void){
|
||||
|
||||
static void set_timing(void)
|
||||
{
|
||||
#ifdef IAX_TRUNKING
|
||||
#ifdef HAVE_ZAPTEL
|
||||
int bs = trunkfreq * 8;
|
||||
if (timingfd > -1) {
|
||||
if (
|
||||
@@ -10059,7 +10060,7 @@ static int load_module(void *mod)
|
||||
jb_setoutput(jb_error_output, jb_warning_output, NULL);
|
||||
#endif
|
||||
|
||||
#ifdef IAX_TRUNKING
|
||||
#ifdef HAVE_ZAPTEL
|
||||
#ifdef ZT_TIMERACK
|
||||
timingfd = open("/dev/zap/timer", O_RDWR);
|
||||
if (timingfd < 0)
|
||||
|
Reference in New Issue
Block a user