aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_agent.c')
-rw-r--r--channels/chan_agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c
index e298c060c..c9fa9dc03 100644
--- a/channels/chan_agent.c
+++ b/channels/chan_agent.c
@@ -2098,7 +2098,7 @@ static int login_exec(struct ast_channel *chan, void *data)
} else {
p->wrapuptime = wrapuptime;
}
- tmpoptions = pbx_builtin_getvar_helper(chan, "AGENTACCEPTDMTF");
+ tmpoptions = pbx_builtin_getvar_helper(chan, "AGENTACCEPTDTMF");
if (!ast_strlen_zero(tmpoptions)) {
p->acceptdtmf = *tmpoptions;
ast_verb(3, "Saw variable AGENTACCEPTDTMF=%s, setting acceptdtmf to: %c for Agent '%s'.\n", tmpoptions, p->acceptdtmf, p->agent);