aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_agent.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-09 21:47:02 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-09 21:47:02 +0000
commit768c0284e382e5b3adbe9e1fd00cf2a890fbebb3 (patch)
treef9b107bc541ba906160fa855fc9578091738ea28 /channels/chan_agent.c
parent5e8a0a0fb0956e54b67c563eb5c233cd44234c1b (diff)
Reverting format addition for now
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148071 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_agent.c')
-rw-r--r--channels/chan_agent.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c
index 3a810d97e..f84c0f011 100644
--- a/channels/chan_agent.c
+++ b/channels/chan_agent.c
@@ -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] != '/')