Make clear that "hookstate" is only valid on FXS
authorMark Spencer <markster@digium.com>
Fri, 5 Nov 2004 17:10:28 +0000 (17:10 +0000)
committerMark Spencer <markster@digium.com>
Fri, 5 Nov 2004 17:10:28 +0000 (17:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4163 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 7a42f43..4644bf0 100755 (executable)
@@ -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);