Fix get confmute
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
711d99a23c
commit
2aba17e440
1 changed files with 1 additions and 1 deletions
|
@ -6155,7 +6155,7 @@ static int zap_show_channel(int fd, int argc, char **argv)
|
||||||
ast_cli(fd, "Actual Confinfo: Num/%d, Mode/0x%04x\n", ci.confno, ci.confmode);
|
ast_cli(fd, "Actual Confinfo: Num/%d, Mode/0x%04x\n", ci.confno, ci.confmode);
|
||||||
}
|
}
|
||||||
#ifdef ZT_GETCONFMUTE
|
#ifdef ZT_GETCONFMUTE
|
||||||
if (ioctl(tmp->subs[SUB_REAL].zfd, ZT_GETCONF, &x)) {
|
if (ioctl(tmp->subs[SUB_REAL].zfd, ZT_GETCONFMUTE, &x)) {
|
||||||
ast_log(LOG_WARNING, "Failed to get confmute info on channel %d\n", tmp->channel);
|
ast_log(LOG_WARNING, "Failed to get confmute info on channel %d\n", tmp->channel);
|
||||||
} else {
|
} else {
|
||||||
ast_cli(fd, "Actual Confmute: %s\n", x ? "Yes" : "No");
|
ast_cli(fd, "Actual Confmute: %s\n", x ? "Yes" : "No");
|
||||||
|
|
Loading…
Reference in a new issue