Hi i all want to play a music file that might be gsm file from a location another than the default one.
/var/lib/asterisk/sounds/en/
i want to play sound for some other location such as /home/web/myaccount/sounds/
this location is created by me but i cant play sounds for this location.
Is it possible to play sounds from the custom location in asterisk . please let me know
Thanks
Yes it is possible. Just use a full path in the Asterisk application that is playing the file.
Example:
exten => s,1,Playback(/home/web/myaccount/sounds/myfile)
Just make sure that the user that is running Asterisk, has access and read rights to the sound file.
Music doesn’t come from this path!