Current status of custom audio files on ASL3?

Setup Information

********** AllStarLink [ASL] Version Info **********

OS : Debian GNU/Linux 13 (trixie)
OS Kernel : 6.12.85+deb13-amd64

Asterisk : 22.8.2+asl3-3.8.3-1.deb13
ASL [app_rpt] : 3.8.3

Package Version

allmon3 1.8.1-1.deb13
asl3 3.17-1.deb13
asl3-asterisk 2:22.8.2+asl3-3.8.3-1.deb13
asl3-asterisk-config 2:22.8.2+asl3-3.8.3-1.deb13
asl3-asterisk-modules 2:22.8.2+asl3-3.8.3-1.deb13
asl3-menu 1.18-1.deb13
asl3-update-nodelist 2.0.0-1.deb13
asl-apt-repos 2.0-1.deb13
dahdi 1:3.1.0-2.1
dahdi-linux 1:3.4.0-11.asl.deb13

Inquiry

What is the current status of storing and playing custom audio files in ASL3? I have an 8 KHz ulaw file I have tried to incorporate into an extensions.conf stanza but no matter where I put it (/var/lib/asterisk/sounds/...) or the /usr/local symbolic links it just gets ignored. I've made sure the user and group were set for asterisk, but nada...

I saw a bug report on custom audio files from last year but did not follow it to a resolution. Anybody know?

Carl/K6CRS

Asterisk will search for audio files in the /usr/share/asterisk/sounds/en directory.

If, in the /etc/asterisk/asterisk.conf file, you have sounds_search_custom_dir = yes then asterisk will also look in the /usr/share/asterisk/sounds/custom (generally symlink'd to /usr/local/share/asterisk/sounds) directory.

And, yes, there was an issue where we were not looking for sound files in the "custom" directory. That issue was fixed in 3.6.2.

Thank you Allan. This worked.

For the sake of anybody after me, they also need to make sure of the following:

  • Make sure it's a compliant u-Law file. Go to g711.org and convert it online if you have to.
  • change the file suffix to .ulaw
  • you don't need the file suffix in the file name when adding it to the extensions.conf

Now I have beautiful custom audio files.

Carl/K6CRS

alternative to online conversion is to use sox on the ASL device itself?
there is also soxi to examine the audio file properties

anyone have a sox wav to u-law example handy?