diff options
author | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-05 23:31:33 +0000 |
---|---|---|
committer | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-05 23:31:33 +0000 |
commit | cf7c7b4b3d9f4a61b6a6650e1b08aca32d126cb7 (patch) | |
tree | 820e8d09a03a8cf53b675d24561c4a81d7a8f786 /codecs/codec_zap.c | |
parent | e7bc786d4aaa423e3e5798443f0fda7709b1cf49 (diff) |
no need to spam everyone with show transcoder messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49709 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/codec_zap.c')
-rw-r--r-- | codecs/codec_zap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/codecs/codec_zap.c b/codecs/codec_zap.c index 749320499..b07d3e586 100644 --- a/codecs/codec_zap.c +++ b/codecs/codec_zap.c @@ -113,16 +113,16 @@ static int show_transcoder(int fd, int argc, char *argv[]) { ast_mutex_lock(&channelcount); if (!totalchannels) { - ast_verbose("No transcoder card registered\n"); + ast_cli(fd, "No transcoder card registered\n"); ast_mutex_unlock(&channelcount); return RESULT_SUCCESS; } if(!cardsmode) - ast_verbose("%d/%d encoders/decoders of %d channels (G.729a / G.723.1 5.3 kbps) are in use.\n",complexinuse, simpleinuse, totalchannels); + ast_cli(fd, "%d/%d encoders/decoders of %d channels (G.729a / G.723.1 5.3 kbps) are in use.\n",complexinuse, simpleinuse, totalchannels); else if (cardsmode == 1) - ast_verbose("%d/%d encoders/decoders of %d channels (G.729a) are in use.\n",complexinuse, simpleinuse, totalchannels); + ast_cli(fd, "%d/%d encoders/decoders of %d channels (G.729a) are in use.\n",complexinuse, simpleinuse, totalchannels); else if (cardsmode == 2) - ast_verbose("%d/%d encoders/decoders of %d channels (G.723.1 5.3 kbps) are in use.\n",complexinuse, simpleinuse, totalchannels); + ast_cli(fd, "%d/%d encoders/decoders of %d channels (G.723.1 5.3 kbps) are in use.\n",complexinuse, simpleinuse, totalchannels); ast_mutex_unlock(&channelcount); return RESULT_SUCCESS; |