summaryrefslogtreecommitdiff
path: root/dahdi_cfg.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-11-24 18:36:07 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-11-24 18:36:07 +0000
commita92955565ae93a6b9e70ffd39899b418983163f7 (patch)
tree1cf4063dc7879ae28fceb314f391ffd80059d9d4 /dahdi_cfg.c
parent403b8674e226df7e1923b47cb231b2be7b766f09 (diff)
dahdi_cfg: Make the message about echo canceller selection verbose.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5380 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi_cfg.c')
-rw-r--r--dahdi_cfg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dahdi_cfg.c b/dahdi_cfg.c
index c3a7ae0..3ec5209 100644
--- a/dahdi_cfg.c
+++ b/dahdi_cfg.c
@@ -1613,7 +1613,9 @@ finish:
}
if (ae[x].chan) {
- printf("Setting echocan for channel %d to %s\n", ae[x].chan, ae[x].echocan);
+ if (verbose > 0)
+ printf("Setting echocan for channel %d to %s\n",
+ ae[x].chan, ae[x].echocan);
if (ioctl(fd, DAHDI_ATTACH_ECHOCAN, &ae[x])) {
fprintf(stderr, "DAHDI_ATTACH_ECHOCAN failed on channel %d: %s (%d)\n", x, strerror(errno), errno);
close(fd);