Record() not recording

When my dialplan hits the Record() line, I hear a beep but instead of recording, it just continues down the dialplan. No recording actually takes place. I have the recording function enabled in menuselect. Any ideas?


exten => 1001,1,Answer() same => n,Record(foobartest:gsm,10) same => n,Playback(foobartest)

CLI During Call

== Using SIP RTP CoS mark 5 -- Executing [1001@officeInternal:1] Answer("SIP/test-0000000b", "") in new stack -- Executing [1001@officeInternal:2] Record("SIP/test-0000000b", "foobartest:gsm,10") in new stack -- <SIP/test-0000000b> Playing 'beep.slin' (language 'en') -- Executing [1001@officeInternal:3] Playback("SIP/test-0000000b", "foobartest") in new stack

Change the : for . and try again. And you are using 10 seconds of silence allowed before the recording is stopped

I changed the : to a . Without change. I know I am limiting the recording to 10 seconds but the recording line only executes for a split second before jumping down to Playback. Its like the Record() function doesn’t exist?

asterisk might not have write permissions to /var/lib/asterisk/sounds, more details should be in /var/log/asterisk/full.

Try specifying the filename with full path, like /tmp/foobartest and see if it helps.

You were right navaismo, thanks!