mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
Correct a message when echocancelwhenbridged is on, but echocancel is not.
Issue #12019 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@103790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -9990,7 +9990,7 @@ static int zap_show_channel(int fd, int argc, char **argv)
|
|||||||
ast_cli(fd, "Default law: %s\n", tmp->law == ZT_LAW_MULAW ? "ulaw" : tmp->law == ZT_LAW_ALAW ? "alaw" : "unknown");
|
ast_cli(fd, "Default law: %s\n", tmp->law == ZT_LAW_MULAW ? "ulaw" : tmp->law == ZT_LAW_ALAW ? "alaw" : "unknown");
|
||||||
ast_cli(fd, "Fax Handled: %s\n", tmp->faxhandled ? "yes" : "no");
|
ast_cli(fd, "Fax Handled: %s\n", tmp->faxhandled ? "yes" : "no");
|
||||||
ast_cli(fd, "Pulse phone: %s\n", tmp->pulsedial ? "yes" : "no");
|
ast_cli(fd, "Pulse phone: %s\n", tmp->pulsedial ? "yes" : "no");
|
||||||
ast_cli(fd, "Echo Cancellation: %d taps%s, currently %s\n", tmp->echocancel, tmp->echocanbridged ? "" : " unless TDM bridged", tmp->echocanon ? "ON" : "OFF");
|
ast_cli(fd, "Echo Cancellation: %d taps%s, currently %s\n", tmp->echocancel, (!tmp->echocancel || tmp->echocanbridged) ? "" : " unless TDM bridged", tmp->echocanon ? "ON" : "OFF");
|
||||||
if (tmp->master)
|
if (tmp->master)
|
||||||
ast_cli(fd, "Master Channel: %d\n", tmp->master->channel);
|
ast_cli(fd, "Master Channel: %d\n", tmp->master->channel);
|
||||||
for (x = 0; x < MAX_SLAVES; x++) {
|
for (x = 0; x < MAX_SLAVES; x++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user