Displaying 1 result from an estimated 1 matches for "dahdi_file_tim".
Did you mean:
dahdi_file_timer
2009 Dec 14
2
Asterisk & Zaptel setup on vserver
...ing this error only:
[Dec 14 16:59:39] ERROR[2986] asterisk.c: You have Zaptel built and drivers
loaded, but the Zaptel timer test failed to set ZT_TIMERCONFIG to 160.
The code where this error lies is this:
int fd;
- int x = 160;
- fd = open("/dev/dahdi/timer", O_RDWR);
+ fd = open(DAHDI_FILE_TIMER, O_RDWR);
if (fd >= 0) {
if (ioctl(fd, DAHDI_TIMERCONFIG, &x)) {
- ast_log(LOG_ERROR, "You have DAHDI built and drivers loaded, but
the DAHDI timer test failed to set DAHDI_TIMERCONFIG to %d.\n", x);
+ ast_log(LOG_ERROR, "You have " DAHDI_NAME
+ "...