Is there a way to play a sound file to a channel that is saved locally and not from the default sound folder “/var/lib/asterisk/sounds/en” ? I don’t all playbacks to address to the local folder, I want that in some cases to get the sound file from the default folder and other times to use the local folder.
Do you see permission of path issues in verbose or log?
same => n,Playback(hello) ; /var/lib/asterisk/sounds/en/hello.EXT
same => n,Playback(/full/path/to/hello) ; /full/path/to/hello.EXT
same => n,Playback(custom/hello) ; /var/lib/asterisk/sounds/custom/hello.EXT
No, I saved the file with .ulaw extension, so that’s not the problem. The problem was I saved the file in a file system that does not communicate with asterisk so that’s why the asterisk could not play that file.