Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: SayUnixTime: Sound "and" expected under digits/ #622

Open
jms72 opened this issue Feb 27, 2024 · 1 comment
Open

[bug]: SayUnixTime: Sound "and" expected under digits/ #622

jms72 opened this issue Feb 27, 2024 · 1 comment
Labels
bug support-level-core Functionality with core support level

Comments

@jms72
Copy link

jms72 commented Feb 27, 2024

SayUnixTime(1709043413,,HMS) fails in language German with:

-- <PJSIP/6001-0000006b> Playing 'minutes.slin16' (language 'de')
WARNING[3336698][C-00000057]: file.c:824 ast_openstream_full: File digits/and does not exist in any format

The code in main/say.c, for example line 5035 (/* Seconds */ res = wait_file(chan, ints, "digits/and", lang)) seems to expect the and sound file in sounds/digits. However, at least for en and de, and only exists in sounds directly.

It seems da, de, is, pl are affected.

Either the and sound file should be duplicated under sounds/digits, or the code should be changed to remove digits.

@jcolp jcolp transferred this issue from asterisk/documentation Feb 27, 2024
@jcolp jcolp added bug support-level-core Functionality with core support level labels Feb 27, 2024
@jcolp jcolp changed the title SayUnixTime: Sound "and" expected under digits/ [bug]: SayUnixTime: Sound "and" expected under digits/ Feb 27, 2024
@jcolp jcolp removed the triage label Feb 28, 2024
@seanbright
Copy link
Contributor

So if you install all of the core sounds that we provide, you end up with:

en/and
en_GB/and
es/digits/and
fr/and

So the Spanish sounds have it in the digits subdirectory, but none of the others do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug support-level-core Functionality with core support level
Projects
None yet
Development

No branches or pull requests

3 participants