[asterisk-bugs] [JIRA] (ASTERISK-26598) Saynumber is trying to get "and" from "digits/" subfolder

cloos (JIRA) noreply at issues.asterisk.org
Mon Mar 6 16:46:10 CST 2017


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

cloos edited comment on ASTERISK-26598 at 3/6/17 4:44 PM:
----------------------------------------------------------

It turns out styles are different over there on this issue:

>From http://www.englishlessonsbrighton.co.uk/saying-large-numbers-english/ :

> Generally, in British English we usually connect large numbers with double
> or single digit figures with and, but in American English and is not used

So if the en_GB recordings or saynumber() function is changed, do not change the en_US; those are already correct.


was (Author: cloos):
It turns out styles are different over their on this issue:

>From http://www.englishlessonsbrighton.co.uk/saying-large-numbers-english/ :

> Generally, in British English we usually connect large numbers with double
> or single digit figures with and, but in American English and is not used

So if the en_GB recordings or saynumber() function is changed, do not change the en_US; those are already correct.

> Saynumber is trying to get "and" from "digits/" subfolder
> ---------------------------------------------------------
>
>                 Key: ASTERISK-26598
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26598
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_saynumber
>    Affects Versions: 14.1.0
>         Environment: Ubuntu 16.10 (GNU/Linux 4.8.0-27-generic x86_64)
>            Reporter: Jonathan Harris
>            Assignee: Unassigned
>            Severity: Minor
>
> I notice that "and" is missing from digits for (at least) en, en_GB, fr languages (these are all I checked).
> Either that, or Saynumber should be picking "and" from root sound directory where "and" lives. 
> {code}
> [saynumbertest]
> exten => s,1,Answer()
>     same => n,SayNumber(123)
>     same => n,Hangup()
> {code}
> results in "one hundred twenty three", rather than the correct ""one hundred AND twenty three", and the following error:
> {code}
> [Nov 14 10:00:54] WARNING[11209][C-00000046]: file.c:774 ast_openstream_full: File digits/and does not exist in any format
> [Nov 14 10:00:54] WARNING[11209][C-00000046]: file.c:1110 ast_streamfile: Unable to open digits/and (format (alaw)): No such file or directory
> {code}
> (Can't find saynumber under dropdown so filing under general)



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



More information about the asterisk-bugs mailing list