mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 00:00:09 +00:00
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
This commit is contained in:
@@ -1925,7 +1925,7 @@ static int login_exec(struct ast_channel *chan, const char *data)
|
|||||||
} else {
|
} else {
|
||||||
p->wrapuptime = wrapuptime;
|
p->wrapuptime = wrapuptime;
|
||||||
}
|
}
|
||||||
tmpoptions = pbx_builtin_getvar_helper(chan, "AGENTACCEPTDMTF");
|
tmpoptions = pbx_builtin_getvar_helper(chan, "AGENTACCEPTDTMF");
|
||||||
if (!ast_strlen_zero(tmpoptions)) {
|
if (!ast_strlen_zero(tmpoptions)) {
|
||||||
p->acceptdtmf = *tmpoptions;
|
p->acceptdtmf = *tmpoptions;
|
||||||
ast_verb(3, "Saw variable AGENTACCEPTDTMF=%s, setting acceptdtmf to: %c for Agent '%s'.\n", tmpoptions, p->acceptdtmf, p->agent);
|
ast_verb(3, "Saw variable AGENTACCEPTDTMF=%s, setting acceptdtmf to: %c for Agent '%s'.\n", tmpoptions, p->acceptdtmf, p->agent);
|
||||||
|
|||||||
Reference in New Issue
Block a user