Christoph Eicke
2005-Aug-15 02:11 UTC
[Asterisk-Users] permission denied when monitoring channel OSS/dsp
Hi! When I want to monitor the OSS/dsp channel through the Asterisk management interface, I get a "permission denied" error: Action: Monitor Monitor: OSS/dsp File: 1124096949 Mix: 1 Response: Error Message: Permission denied My permissions for /var/spool/asterisk look like this: pound:~# ls -la /var/spool/asterisk/ total 40 drwxr-xr-x 10 asterisk asterisk 4096 Aug 9 10:19 . drwxr-xr-x 9 root root 4096 Aug 4 14:40 .. drwxr-xr-x 2 root root 4096 Jul 8 09:40 dictate drwxr-xr-x 2 root root 4096 Jul 8 09:40 meetme drwxr-x--- 2 asterisk asterisk 4096 Aug 9 10:32 monitor drwx------ 2 root root 4096 Jul 4 16:56 outgoing drwxr----- 2 root root 4096 Jul 4 16:56 qcall drwxr-xr-x 2 root root 4096 Jul 8 09:40 system drwxr-xr-x 2 asterisk asterisk 4096 Mar 21 12:23 tmp lrwxrwxrwx 1 root root 37 Jul 13 10:08 vm -> /var/spool/asterisk/voicemail/default drwxr-xr-x 3 asterisk asterisk 4096 Jul 4 16:53 voicemail So, there shouldn't be any problems writing to disk. Anything else that I need to take into account, especially something special about monitoring the OSS/dsp channel? Thanks, Christoph
Christoph Eicke
2005-Aug-15 03:59 UTC
[Asterisk-Users] permission denied when monitoring channel OSS/dsp
On Monday 15 August 2005 11:11, Christoph Eicke wrote:> Hi! > > When I want to monitor the OSS/dsp channel through the Asterisk management > interface, I get a "permission denied" error: > > Action: Monitor > Monitor: OSS/dsp > File: 1124096949 > Mix: 1 > Response: Error > Message: Permission denied >it's always nice to answer your own posts ;-) The "Permission denied" message had nothing to do with file attributes, but with what is written inside of the /etc/asterisk/manager.conf users's section that is connecting to the Asterisk management interface. There you have to set the right permissions.