[asterisk-bugs] [JIRA] (ASTERISK-29950) SayNumber can handle '01' to '07', but not '08' or '09'
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Wed Mar 23 17:13:06 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258443#comment-258443 ]
Friendly Automation commented on ASTERISK-29950:
------------------------------------------------
Change 18204 merged by Friendly Automation:
conversions.c: Specify that we only want to parse decimal numbers.
[https://gerrit.asterisk.org/c/asterisk/+/18204|https://gerrit.asterisk.org/c/asterisk/+/18204]
> SayNumber can handle '01' to '07', but not '08' or '09'
> -------------------------------------------------------
>
> Key: ASTERISK-29950
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29950
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: PBX/General
> Affects Versions: 16.22.0
> Environment: CentOS 7
> Reporter: Jim Van Meggelen
>
> Run the following dialplan:
> same => n,SayNumber(01)
> same => n,SayNumber(02)
> same => n,SayNumber(03)
> same => n,SayNumber(04)
> same => n,SayNumber(05)
> same => n,SayNumber(06)
> same => n,SayNumber(07)
> same => n,SayNumber(08)
> same => n,SayNumber(09)
> same => n,SayNumber(10)
> same => n,SayNumber(17)
> same => n,SayNumber(18)
> same => n,SayNumber(19)
> I get an error as follows (ONLY on 08 and 09)
> WARNING[881][C-00000305]: pbx_builtins.c:1351 pbx_builtin_saynumber: argument '08' to SayNumber could not be parsed as a number.
> WARNING[881][C-00000305]: pbx_builtins.c:1351 pbx_builtin_saynumber: argument '09' to SayNumber could not be parsed as a number.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list