show correct codec in verbose messages (bug #4008)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-04-12 02:41:29 +00:00
parent e3e62817fa
commit 7b5e73c7a8
6 changed files with 6 additions and 11 deletions

View File

@@ -14,11 +14,6 @@
* the GNU General Public License
*/
#define TYPE_SILENCE 0x2
#define TYPE_HIGH 0x0
#define TYPE_LOW 0x1
#define TYPE_MASK 0x3
#include <asterisk/lock.h>
#include <asterisk/translate.h>
#include <asterisk/config.h>
@@ -282,7 +277,7 @@ static void parse_config(void)
if (!strcasecmp(var->name, "genericplc")) {
useplc = ast_true(var->value) ? 1 : 0;
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "CODEC ULAW: %susing generic PLC\n", useplc ? "" : "not ");
ast_verbose(VERBOSE_PREFIX_3 "codec_gsm: %susing generic PLC\n", useplc ? "" : "not ");
}
var = var->next;
}