[asterisk-bugs] [JIRA] (ASTERISK-24319) Verify accuracy of wiki documentation on how Asterisk searches for sounds

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Aug 14 13:01:33 CDT 2015


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

Asterisk Team commented on ASTERISK-24319:
------------------------------------------

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

> Verify accuracy of wiki documentation on how Asterisk searches for sounds
> -------------------------------------------------------------------------
>
>                 Key: ASTERISK-24319
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24319
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Documentation
>            Reporter: Rusty Newton
>            Assignee: Rusty Newton
>            Severity: Minor
>         Attachments: soundlevelsasterisk.txt
>
>
> https://wiki.asterisk.org/wiki/display/AST/Sound+Prompt+Searching+based+on+Channel+Language
> From IRC
> {noformat}
> <Stefan27> Does the sound prompt searching as in https://wiki.asterisk.org/wiki/display/AST/Sound+Prompt+Searching+based+on+Channel+Language really work as the wiki page says? I tried putting Set(CHANNEL(language)=en_test) and then Playback(mooon.wav) but this only works when i have created a file called mooon.wav in the sounds/en directory, not when i create it in the sounds/en/test directory
> {noformat}
> <snip>
> {noformat}
> <mjordan> I'm not sure the wiki page is correct however.
> <mjordan> Asterisk will do a fallback, in that if you have a sound in en_foo, it will play it - but if that sound doesn't exist, it will check en next
> <mjordan> What I'm not sure of is that it will form a path search from the underscores.
> <mjordan> But I haven't dug deep enough to know for sure.
> <mjordan> looking all the way back to 1.8, it looks like it would not form a sub-directory search. I think the wiki page is probably just wrong.
> <mjordan> Based on the example there, it would instead do the following:
> <mjordan> If the channel language is "en_GB_female_BT", check for that folder first, i.e., sounds/en_GB_female_BT
> <mjordan> If it didn't find the sound, check sounds/en_GB_female
> <mjordan> again, if it didn't find it, check sounds/en_GB
> <mjordan> and finally, check sounds/en
> {noformat}



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



More information about the asterisk-bugs mailing list