[asterisk-bugs] [Asterisk 0015668]: AGENTACCEPTDTMF is incorrectly spelled as AGENTACCEPTDMTF in code to recognize channel variables.

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 17 13:50:53 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15668 
====================================================================== 
Reported By:                davidw
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   15668
Category:                   Channels/chan_agent
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.6.1.2 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-06 09:01 CDT
Last Modified:              2009-08-17 13:50 CDT
====================================================================== 
Summary:                    AGENTACCEPTDTMF is incorrectly spelled as
AGENTACCEPTDMTF in code to recognize channel variables.
Description: 
In chan_agent.c, the spelling of the channel variable name doesn't match
that used in the trace message.  The latter is more obviously correct:

				tmpoptions = pbx_builtin_getvar_helper(chan, "AGENTACCEPTDMTF");
				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);
					ast_set_flag(p, AGENT_FLAG_ACCEPTDTMF);

====================================================================== 

---------------------------------------------------------------------- 
 (0109162) svnbot (reporter) - 2009-08-17 13:50
 https://issues.asterisk.org/view.php?id=15668#c109162 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 212581

U   trunk/channels/chan_agent.c

------------------------------------------------------------------------
r212581 | seanbright | 2009-08-17 13:50:52 -0500 (Mon, 17 Aug 2009) | 5
lines

Correct spelling of AGENTACCEPTDTMF in chan_agent.

(closes issue https://issues.asterisk.org/view.php?id=15668)
Reported by: davidw

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=212581 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-17 13:50 svnbot         Checkin                                      
2009-08-17 13:50 svnbot         Note Added: 0109162                          
2009-08-17 13:50 svnbot         Assigned To              lmadsen => seanbright
2009-08-17 13:50 svnbot         Status                   assigned => resolved
2009-08-17 13:50 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list