Hi I have this file here formatted correctly for phone systems, it is not in the sounds directory of freepbx, how can I play that file without putting it the sounds directory of freebx. It is in /root/page/
Here is my call file:
Channel: LOCAL/9098@ext-paging
Application: Playback
Data: /root/page/sounds/doorbell.wav
callerID: "DOORBELL" <ANNONCE>
maxretries:1
Waittime:5
I have also tried without the .wav
Channel: LOCAL/9098@ext-paging
Application: Playback
Data: /root/page/sounds/doorbell
callerID: "DOORBELL" <ANNONCE>
maxretries:1
Waittime:5
But I get no audio
Thanks in advance
dicko
(dicko)
July 4, 2023, 4:40pm
2
The asterisk user does not have permission to read files in the /root directory.
1 Like
I have tried the following but still does not work:
sudo chown asterisk:asterisk /root/page/sounds
david55
(david55)
July 4, 2023, 4:55pm
5
You need execute permission on all the directories, and probably also read permission on the leaf one.
This is a very non-standard place to put such files.
1 Like
I just did give all perms, read right execute using chmod. Still doesn’t work
dicko
(dicko)
July 4, 2023, 5:13pm
7
You would need to change the permissions on all of /root, /root/page and /root/page/sounds probably easier and better to move those files to a more conventional location
1 Like
david55
(david55)
July 4, 2023, 5:41pm
8
Setting write permission on /root is dangerous .
1 Like
Yeah I figured I would put them in the sounds directory…
Thanks!
system
(system)
Closed
July 11, 2023, 9:03pm
10
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.