mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fudges for wav16, just like wav49
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1201,10 +1201,13 @@ 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
|
||||
} else if (!strcasecmp(v->value, "wav16")) {
|
||||
strcpy(recordformatext, "Wav");
|
||||
} 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] != '/')
|
||||
|
Reference in New Issue
Block a user