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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 6 09:01:36 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15668 
====================================================================== 
Reported By:                davidw
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15668
Category:                   Channels/chan_agent
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             2009-08-06 09:01 CDT
Last Modified:              2009-08-06 09:01 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);

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-06 09:01 davidw         New Issue                                    
2009-08-06 09:01 davidw         Asterisk Version          => 1.6.1.2         
2009-08-06 09:01 davidw         Regression                => No              
2009-08-06 09:01 davidw         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list