[asterisk-bugs] [JIRA] (ASTERISK-22829) AMI Atxfer not working with alphanumeric extensions
Alberto Rinaudo (JIRA)
noreply at issues.asterisk.org
Wed Nov 6 11:48:03 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211560#comment-211560 ]
Alberto Rinaudo commented on ASTERISK-22829:
--------------------------------------------
http://pastebin.com/8hX9y7ZR
>From the top of my head I can just change the validation mask for atxfer, now it always accept chars.
>From a standard phone is basically useless.
>From AMI works as expected.
>From a softphone (using my querty keyboard) I honestly didn't tried.
Do you think there are drawback I didn't consider?
> 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: SVN, 11.6.0
> 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:
> {code:title=manager.c|borderStyle=solid}
> 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);
> }
> {code}
> So when you call
> {code:title=AMI command|borderStyle=solid}
> Action: Atxfer
> Channel: Agent/7001
> Context: atxfer
> Exten: a7002
> Priority: 1
> {code}
> 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