[asterisk-bugs] [JIRA] (ASTERISK-26440) AMI atxfer not accepting alpha numerics

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Oct 5 10:16:01 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232536#comment-232536 ] 

Asterisk Team commented on ASTERISK-26440:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> AMI atxfer not accepting alpha numerics
> ---------------------------------------
>
>                 Key: ASTERISK-26440
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26440
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Bridges/bridge_simple
>    Affects Versions: 13.11.2
>         Environment: CentOS 6.5
> libPRI 1.5.0
> DAHDI 2.11.1
> Asterisk 13.11.2
> Wanpipe 7.0.19 with latest firmware
>            Reporter: Nicolas Chapleau
>            Severity: Minor
>
> As stated in various JIRA issues, the AMI ATXFER function will not send (or accept) characters as part of the Exten to send to. This is OK for DTMF based transfers, but not practical for AMI based transfers. 
> Included are 2 patch files which rectifies this. You are free to use it or not as I am not 100% sure if it affects the rest of the code.
> {code:title=file.h.patch|borderStyle=solid}
> --- file_orig.h	2016-10-05 01:08:24.676047881 +0000
> +++ file.h	2016-10-05 01:09:07.764485689 +0000
> @@ -47,6 +47,7 @@
>  #define AST_DIGIT_NONE ""
>  #define AST_DIGIT_ANY "0123456789#*ABCD"
>  #define AST_DIGIT_ANYNUM "0123456789"
> +#define AST_DIGIT_ALPHANUM "0123456789#*ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
>  
>  #define SEEK_FORCECUR	10
> {code}
> {code:title=bridge_basic.c.patch|borderStyle=solid}
> --- bridge_basic_orig.c	2016-10-05 01:10:41.151428001 +0000
> +++ bridge_basic.c	2016-10-05 01:11:48.603103115 +0000
> @@ -3162,7 +3162,7 @@
>  	ast_channel_unlock(chan);
>  
>  	/* Play the simple "transfer" prompt out and wait */
> -	res = ast_stream_and_wait(chan, "pbx-transfer", AST_DIGIT_ANY);
> +	res = ast_stream_and_wait(chan, "pbx-transfer", AST_DIGIT_ALPHANUM);
>  	ast_stopstream(chan);
>  	if (res < 0) {
>  		/* Hangup or error */
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list