mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 12:25:35 +00:00
Make clear that "hookstate" is only valid on FXS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8636,7 +8636,7 @@ static int zap_show_channel(int fd, int argc, char **argv)
|
||||
if (ioctl(tmp->subs[SUB_REAL].zfd, ZT_GET_PARAMS, &ps) < 0) {
|
||||
ast_log(LOG_WARNING, "Failed to get parameters on channel %d\n", tmp->channel);
|
||||
} else {
|
||||
ast_cli(fd, "Actual Hookstate: %s\n", ps.rxisoffhook ? "Offhook" : "Onhook");
|
||||
ast_cli(fd, "Hookstate (FXS only): %s\n", ps.rxisoffhook ? "Offhook" : "Onhook");
|
||||
}
|
||||
}
|
||||
ast_mutex_unlock(lock);
|
||||
|
||||
Reference in New Issue
Block a user