[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:51:57 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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:51 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);

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

---------------------------------------------------------------------- 
 (0109163) svnbot (reporter) - 2009-08-17 13:51
 https://issues.asterisk.org/view.php?id=15668#c109163 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 212582

_U  branches/1.6.0/

------------------------------------------------------------------------
r212582 | seanbright | 2009-08-17 13:51:57 -0500 (Mon, 17 Aug 2009) | 11
lines

Blocked revisions 212581 via svnmerge

........
  r212581 | seanbright | 2009-08-17 14:50:24 -0400 (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=212582 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-17 13:51 svnbot         Checkin                                      
2009-08-17 13:51 svnbot         Note Added: 0109163                          
======================================================================




More information about the asterisk-bugs mailing list