[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:56:59 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:56 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);

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

---------------------------------------------------------------------- 
 (0109165) svnbot (reporter) - 2009-08-17 13:56
 https://issues.asterisk.org/view.php?id=15668#c109165 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 212584

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_agent.c

------------------------------------------------------------------------
r212584 | seanbright | 2009-08-17 13:56:59 -0500 (Mon, 17 Aug 2009) | 12
lines

Merged revisions 212581 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  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=212584 

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




More information about the asterisk-bugs mailing list