[asterisk-commits] mogorman: trunk r49709 -
/trunk/codecs/codec_zap.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Jan 5 16:31:33 MST 2007
Author: mogorman
Date: Fri Jan 5 17:31:33 2007
New Revision: 49709
URL: http://svn.digium.com/view/asterisk?view=rev&rev=49709
Log:
no need to spam everyone with show transcoder messages
Modified:
trunk/codecs/codec_zap.c
Modified: trunk/codecs/codec_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_zap.c?view=diff&rev=49709&r1=49708&r2=49709
==============================================================================
--- trunk/codecs/codec_zap.c (original)
+++ trunk/codecs/codec_zap.c Fri Jan 5 17:31:33 2007
@@ -113,16 +113,16 @@
{
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;
More information about the asterisk-commits
mailing list