[asterisk-commits] seanbright: trunk r212581 - /trunk/channels/chan_agent.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 17 13:50:28 CDT 2009


Author: seanbright
Date: Mon Aug 17 13:50:24 2009
New Revision: 212581

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=212581
Log:
Correct spelling of AGENTACCEPTDTMF in chan_agent.

(closes issue #15668)
Reported by: davidw

Modified:
    trunk/channels/chan_agent.c

Modified: trunk/channels/chan_agent.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_agent.c?view=diff&rev=212581&r1=212580&r2=212581
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Mon Aug 17 13:50:24 2009
@@ -1925,7 +1925,7 @@
 				} 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);




More information about the asterisk-commits mailing list