Problem with Dictate

Hi all,

I have the following problem with Dictate-function of Asterisk. This small piece of code is part of my extensions.conf :




exten => 3576378,1,Answer()
exten => 3576378,n,Wait(1)
exten => 3576378,n,System(/bin/mkdir /var/lib/asterisk/sounds/SpeechData/records/speaker${UNIQUEID})
exten => 3576378,n,Dictate(/var/lib/asterisk/sounds/SpeechData/records/speaker${UNIQUEID})
exten => 3576378,n,Hangup()

The problem is, that all the files I record via my cell phone are empty (0 kb). The directories are there, the speaker folder is successfully created, the files 1.raw, 2.raw etc. are also there, but the files are 0 kb. Also what I’ve noticed, the files and folders don’t have all permissions. Could this problem be due to the missing permissions? And if yes, why the files are created then?

I’ll appreciate every help!