systems recording error..new install

tbooth

Joined
Feb 24, 2007
Messages
338
Likes
0
Points
0
#1
New install 1.6-12 when recording a system recording I get this error after pressing SAVE.

cp: cannot create regular file `/var/lib/asterisk/sounds/custom/daygreet.wav': Permission denied
Make sure you have entered a proper name

Any suggestions?
 

jgibson

Joined
Dec 29, 2008
Messages
78
Likes
0
Points
0
#2
Have you checked the permissions for the custom folder in /var/lib/asterisk/sounds?
 

tbooth

Joined
Feb 24, 2007
Messages
338
Likes
0
Points
0
#3
for that folder the rights are: rwxr-xr-x Owner: root
 

jgibson

Joined
Dec 29, 2008
Messages
78
Likes
0
Points
0
#4
My folder had permissions of rwxrwxr-x so all you need to do is "chmod 775 custom" and then give it a try again.
 

tbooth

Joined
Feb 24, 2007
Messages
338
Likes
0
Points
0
#5
looking at another box and the owner of the custom directory is asterisk not root.
How would I change the owner to asterisk from root? I'm not a linux guru.
 

jgibson

Joined
Dec 29, 2008
Messages
78
Likes
0
Points
0
#6
Oh I over looked the owner when I saw that the permissions were wrong. The command is "chown asterisk:asterisk custom"
 

tbooth

Joined
Feb 24, 2007
Messages
338
Likes
0
Points
0
#7
yes, that did it..thanks
thats on a new install must be a bug...
 

scott

Joined
Dec 8, 2009
Messages
11
Likes
0
Points
0
#8
hi all! this helped me out greatly! thanks! but now, i can't hear any of the asterisk commands, as well as my system recordings! here's what i'm getting when i play the simple *65 to play back my extension number...

Code:
 -- Executing [*65@from-internal:1] Answer("SIP/3691-08b78268", "") in new stack
    -- Executing [*65@from-internal:2] Wait("SIP/3691-08b78268", "1") in new stack
    -- Executing [*65@from-internal:3] Macro("SIP/3691-08b78268", "user-callerid|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/3691-08b78268", "AMPUSER=3691") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/3691-08b78268", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/3691-08b78268", "1|Set|REALCALLERIDNUM=3691") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/3691-08b78268", "AMPUSER=3691") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/3691-08b78268", "AMPUSERCIDNAME=Christina") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/3691-08b78268", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/3691-08b78268", "AMPUSERCID=3691") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/3691-08b78268", "CALLERID(all)="Christina" <3691>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/3691-08b78268", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/3691-08b78268", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/3691-08b78268", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/3691-08b78268", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/3691-08b78268", "Using CallerID "Christina" <3691>") in new stack
    -- Executing [*65@from-internal:4] Playback("SIP/3691-08b78268", "your") in new stack
    -- <SIP/3691-08b78268> Playing 'your' (language 'en')
    -- Executing [*65@from-internal:5] Playback("SIP/3691-08b78268", "extension") in new stack
    -- <SIP/3691-08b78268> Playing 'extension' (language 'en')
    -- Executing [*65@from-internal:6] Playback("SIP/3691-08b78268", "number") in new stack
    -- <SIP/3691-08b78268> Playing 'number' (language 'en')
    -- Executing [*65@from-internal:7] Playback("SIP/3691-08b78268", "is") in new stack
    -- <SIP/3691-08b78268> Playing 'is' (language 'en')
    -- Executing [*65@from-internal:8] SayDigits("SIP/3691-08b78268", "3691") in new stack
    -- <SIP/3691-08b78268> Playing 'digits/3' (language 'en')
    -- <SIP/3691-08b78268> Playing 'digits/6' (language 'en')
    -- <SIP/3691-08b78268> Playing 'digits/9' (language 'en')
    -- <SIP/3691-08bdcac0> Playing 'digits/1' (language 'en')
    -- Executing [*65@from-internal:9] Wait("SIP/3691-08bdcac0", "2") in new stack
    -- Executing [*65@from-internal:10] Hangup("SIP/3691-08bdcac0", "") in new stack
  == Spawn extension (from-internal, *65, 10) exited non-zero on 'SIP/3691-08bdcac0'
    -- Executing [h@from-internal:1] Macro("SIP/3691-08bdcac0", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/3691-08bdcac0", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/3691-08bdcac0", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/3691-08bdcac0", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/3691-08bdcac0", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/3691-08bdcac0' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/3691-08bdcac0'
the server is playing the correct files, but now, i can't hear anything from my phone or any inbound routes! this was working previously, BEFORE i applied the fix for the system recordings error... any help would be much appreciated!
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,591
Latest member
dalibor66
Top