mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Use zaptel timers to wake up processes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3452,13 +3452,13 @@ static int timing_read(int *id, int fd, short events, void *cbdata)
|
||||
struct iax2_peer *peer;
|
||||
int processed = 0;
|
||||
int totalcalls = 0;
|
||||
int x = -1;
|
||||
int x = 1;
|
||||
if (iaxtrunkdebug)
|
||||
ast_verbose("Beginning trunk processing\n");
|
||||
if (events & AST_IO_PRI) {
|
||||
#ifdef ZT_TIMERACK
|
||||
/* Great, this is a timing interface, just call the ioctl */
|
||||
if (ioctl(fd, ZT_TIMERACK, x))
|
||||
if (ioctl(fd, ZT_TIMERACK, &x))
|
||||
ast_log(LOG_WARNING, "Unable to acknowledge zap timer\n");
|
||||
res = 0;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user