I have replaced all of the original Allison files with a much, much faster (about 3.5x faster) TTS-generated sound pack that I made with the Apple Fred voice for my own personal ASL3 nodes. I am a screen reader user, so I prefer having super fast speech. Not something you’d want on a repeater, necessarily.
Anyway, where can I put these files so they aren’t clobbered when ASL is updated?
They are currently in /usr/share/asterisk/sounds/en.
The directory structure /var/lib/asterisk/sounds/ exists, but if I put all the files there, nothing happens.
What is Asterisk’s priority for looking at sound files?
Just a thought that you might try changing it’s write bit to keep it from being over-written.
Not sure if that will work.
Updated sound files are very rare. Updates normally only contain updated products.
But I would keep a backup copy on disk that makes it easy to re-write the directory.
There use to be a directive to change the sound file location, but it escapes me this morning.
Okay, so @WA3WCO and I looked into this today. There’s TWO directories that should work:
Stock sounds in /usr/share/asterisk/sounds
Custom sounds in /usr/local/share/asterisk/sounds
To enable custom sounds, edit /etc/asterisk/asterisk.conf and edit:
sounds_search_custom_dir = yes; This option, if enabled, will
; cause Asterisk to search for sounds files in
; AST_DATA_DIR/sounds/custom before searching the
; normal directories like AST_DATA_DIR/sounds/<lang>.
Currently the default is “no”. If you make it ‘yes’ it will look in/usr/local/share/asterisk/sounds first.