Asterisk can't find new sound file

spyro
Joined: Thu 12 of Jan, 2012

Asterisk can't find new sound file

Posted:Thu 12 of Jan, 2012 (17:57 UTC)
Hi,
I'm just getting to grips with Asterisk & have run into a little problem that I just can't figure out.

One of my clients has an Asterisk system up & running, and all of their own sound files are in a directory called /var/lib/asterisk/own-sounds.
In extensions.conf, to play one of their own files I just write Playback(filename), which works fine.
They needed a new announcement, which we recorded, & I then copied into the own-sounds directory.

However, if I now write Playback(newfilename) nothing is heard & I read in the console that no file of this name exists.
If however I write Playback(/var/lib/asterisk/own-sounds/newfilename) the file is played ok.

As the default location for sounds is /var/lib/asterisk/sounds, I assumed that there was an entry somewhere that also told Asterisk to look in the own-sounds directory.
But if it can play all existing files there just by filename but any new file needs a full path, it looks to me like each file must have been registered individually somewhere.

If they have been, I can't find where they were.

Does anyone have any ideas please?

Many thanks,
Paul