From: Sean Bright Date: Mon, 17 Aug 2009 18:50:24 +0000 (+0000) Subject: Correct spelling of AGENTACCEPTDTMF in chan_agent. X-Git-Tag: 11.0.0-beta1~4343 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c47fce62e807cb0d473cc6583caf93d444e7982;p=thirdparty%2Fasterisk.git Correct spelling of AGENTACCEPTDTMF in chan_agent. (closes issue #15668) Reported by: davidw git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212581 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_agent.c b/channels/chan_agent.c index d0605eb502..0d0159cae1 100644 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -1925,7 +1925,7 @@ static int login_exec(struct ast_channel *chan, const char *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);