Fix get confmute
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@931 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
14b571a971
commit
803353e942
|
@ -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);
|
||||
}
|
||||
#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);
|
||||
} else {
|
||||
ast_cli(fd, "Actual Confmute: %s\n", x ? "Yes" : "No");
|
||||
|
|
Reference in New Issue