Reverting format addition for now

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-10-09 21:47:02 +00:00
parent f5d5eb5e19
commit 8b14e5f493
6 changed files with 20 additions and 99 deletions

View File

@@ -1201,13 +1201,10 @@ static int read_agent_config(int reload)
recordagentcalls = ast_true(v->value);
} else if (!strcasecmp(v->name, "recordformat")) {
ast_copy_string(recordformat, v->value, sizeof(recordformat));
if (!strcasecmp(v->value, "wav49")) {
if (!strcasecmp(v->value, "wav49"))
strcpy(recordformatext, "WAV");
} else if (!strcasecmp(v->value, "wav16")) {
strcpy(recordformatext, "Wav");
} else {
else
ast_copy_string(recordformatext, v->value, sizeof(recordformatext));
}
} else if (!strcasecmp(v->name, "urlprefix")) {
ast_copy_string(urlprefix, v->value, sizeof(urlprefix));
if (urlprefix[strlen(urlprefix) - 1] != '/')