[asterisk-bugs] [JIRA] (ASTERISK-22829) AMI Atxfer not working with alphanumeric extensions

Alberto Rinaudo (JIRA) noreply at issues.asterisk.org
Wed Nov 6 10:30:03 CST 2013


Alberto Rinaudo created ASTERISK-22829:
------------------------------------------

             Summary: AMI Atxfer not working with alphanumeric extensions
                 Key: ASTERISK-22829
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22829
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/ManagerInterface
    Affects Versions: 11.6.0, SVN
         Environment: CentOS 6.4 64bit
            Reporter: Alberto Rinaudo
            Severity: Minor


The ami command Atxfer relies on the general atxfer confured in features.conf.
in manager.c lines 3897/3904 there's the piece where it queues the digits as dtmf in the channel:
==========
	for (feature_code = atxfer_feature->exten; feature_code && *feature_code; ++feature_code) {
		struct ast_frame f = { AST_FRAME_DTMF, .subclass.integer = *feature_code };
		ast_queue_frame(chan, &f);
	}

	for (feature_code = (char *)exten; feature_code && *feature_code; ++feature_code) {
		struct ast_frame f = { AST_FRAME_DTMF, .subclass.integer = *feature_code };
		ast_queue_frame(chan, &f);
	}
==========

So when you call
==========
Action: Atxfer
Channel: Agent/7001
Context: atxfer
Exten: a7002
Priority: 1
==========
in a telnet console, 'a' is filtered away from Exten resulting in a wrong transfer to '7002' and not 'a7002'.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list