} else {
ast_cli(fd, "Actual Confinfo: Num/%d, Mode/0x%04x\n", ci.confno, ci.confmode);
}
+#ifdef ZT_GETCONFMUTE
+ if (ioctl(tmp->subs[SUB_REAL].zfd, ZT_GETCONF, &x)) {
+ ast_log(LOG_WARNING, "Failed to get confmute info on channel %d\n", tmp->channel);
+ } else {
+ ast_cli(fd, "Actual Confmute: %s\n", x ? "Yes" : "No");
+ }
+#endif
ast_pthread_mutex_unlock(&iflock);
return RESULT_SUCCESS;
}
FD_SET(fd, &fds);
ast_select(fd + 1, &fds, NULL, NULL, NULL);
bytes=read(fd,buf,256);
- printf("Bytes: %d\n", bytes);
buf[(int)bytes]=0;
if(bytes>0){