Directory of the sound asterisk

Hello,
By default the directory of the file to play asterisk is in /var/lib/asterisk/sounds/fr or /var/lib/asterisk/sounds/en

Is there any way to change it in another directory
/var/lib/asterisk/sounds/my_folder/fr and /var/lib/asterisk/sounds/my_folder/en
If it is possible, how show I call the function playback or background?
And how show I call it into periodic-announce=

Thanks a lot

This doesn’t seem to be configurable. However, it is not clear why you want to do this and an explanation of the underlying reason may lead to another solution.

For each customer, they have their own file to play,so we need to separate them. So I mean one directory for one customer, but now, we have to put all file into directory sounds/fr

I use 'languageprefix = no' in asterisk.conf and play client specific sounds like:

playback(${my-client-id}/${their-client-id}/thank-you)

You may also find 'ln' and 'mount --bind' useful.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.