Voicemail records 0 seconds

Hi Guys,

we’re getting this error on latest asterisk 1.4,
I’m not sure what has happened, and what did I do wrong , but it was working until now:
the message is actually 10 seconds, but it is shown 0
I have checked the permission to that folder and it is fine also.

[Aug  6 19:03:32] WARNING[7004]: file.c:765 ast_readaudio_callback: Failed to write frame
    -- <SIP/9003-0000f4e7> Playing 'beep' (language 'en')
    -- Recording the message
    -- x=0, open writing:  /var/spool/asterisk/voicemail/default/9001/tmp/Fgpcvx format: wav49, 0xa9c47b8
    -- x=1, open writing:  /var/spool/asterisk/voicemail/default/9001/tmp/Fgpcvx format: gsm, 0xb2ca0c8
    -- x=2, open writing:  /var/spool/asterisk/voicemail/default/9001/tmp/Fgpcvx format: wav, 0xa90d250
    -- User hung up
    -- Recording was 0 seconds long but needs to be at least 3 - abandoning
AGI Tx >> 200 result=-1
AGI Rx << GET VARIABLE VMSTATUS
AGI Tx >> 200 result=1 (FAILED)

voicemail conf

[code]
[general]
format=wav49|gsm|wav
serveremail=noreply
attach=yes
minmessage=3
skipms=3000

maxsilence=5

silencethreshold=0

maxlogins=3

pbxskip=yes

fromstring=UltraTone Voice Message

odbcstorage=mysqlvoicemailmessages
odbctable=voicemail_messages

emailsubject=Voice Message from ${VM_CALLERID}

emailbody=Dear ${VM_NAME}:\n\n\tYou have a new voice message. \n\tFrom : ${VM_CALLERID}\n\tCID : ${VM_CIDNUM}\n\tDuration : ${VM_DUR}\n\tIn Mailbox : ${VM_MAILBOX}\n\tDate,Time : ${VM_DATE}\n\n\t\t\t\tUltraTone VoiceMail System\n

emaildateformat=%A, %d %B %Y at %H:%M:%S

sendvoicemail=yes ; Allow the user to compose and send a voicemail while inside

[zonemessages]
eastern=America/New_York|‘vm-received’ Q ‘digits/at’ IMp
central=America/Chicago|‘vm-received’ Q ‘digits/at’ IMp
central24=America/Chicago|‘vm-received’ q ‘digits/at’ H N 'hours’
military=Zulu|‘vm-received’ q ‘digits/at’ H N ‘hours’ 'phonetic/z_p’
european=Europe/Copenhagen|‘vm-received’ a d b ‘digits/at’ HM

[default]

1234 => 4242,Example Mailbox,root@localhost

[other]
1234 => 5678,Company2 User,root@localhost