[Asterisk-Users] Record() permission problem

Jim Archer jim at archer.net
Sat Jul 30 18:51:22 MST 2005


Hi All...

I'm trying to use the record() app and it complains that it can't open it's 
file because permission was denied.  I'm running the released Asterisk on 
Debian Linux.  The target directory is workd writable.  Here is the 
relevant part of the dialplan:

exten => 1,1,Playback(leave-message)
exten => 1,2, Record(/var/local/whois-messages/whois-${contactid}:wav|6|120)


Here is the output from Asterisk:

    -- Executing Record("Zap/9-1", 
"/var/local/whois-messages/whois-321:wav|6|120") in new stack
    -- Playing 'beep' (language 'en')
Jul 30 21:44:20 WARNING[4206]: file.c:910 ast_writefile: Unable to open 
file /var/local/whois-messages/whois-321.wav: Permission denied
Jul 30 21:44:20 WARNING[4206]: app_record.c:299 record_exec: Could not 
create file /var/local/whois-messages/whois-321


Any ideas?

Thanks...





More information about the asterisk-users mailing list