Voicemail discarding messages

This seems like an Asterisk issue. But since it’s occurring in the FreePBX distro, I figured I would post here.

I’ve noticed that a FreePBX system is discarding some voicemail messages without sending them to the user. I was asked by one of my clients why some messages were missing, he even called his own voicemail and left a message and never received it.

I checked through the logs and saw this:
[2017-02-17 07:17:32] VERBOSE[19669][C-00000183] app.c: – x=0, open writing: /var/spool/asterisk/voicemail/default/101/tmp/DxDh3u format: wav, 0x7fda1c2eb538
[2017-02-17 07:17:39] VERBOSE[19669][C-00000183] app.c: – User hung up
[2017-02-17 07:17:39] VERBOSE[19669][C-00000183] app_voicemail.c: – Recording was 0 seconds long but needs to be at least 1 - abandoning

The user was recording a message for 7 seconds, however app_voicemail.c seemed to think it was 0 seconds and discarded the message?

I initially thought it might have something to do with silence detection, but the setting for Silence Threshold is actually blank. Also, I actually have a recording of the call and I can hear the user leaving a message and then hanging up.

I have no idea why app_voicemail.c thinks the message was 0 seconds when the logs show that it started recording at 17:32 and the user hung up at 17:39.

Does anyone have any ideas?

I’m having this same problem with a virtual extension. Did you find any more info about this?

In Voicemail admin, whats the minimum length for messages set to?

Hi,

Unfortunately, I have the same problem. Incoming calls from outside work fine. Outgoing calls from inside also work fine. If the call goes to voicemail then unfortunately the following error message appears in the log.

app_voicemail.c: Recording was 0 seconds long but needs to be at least 1 - abandoning

In the log you can see that the call is being set up, it plays the voicemail text of the beep but the recording is 0 sec. I suspect a codec problem but I don’t know where to start.

Thanks for your help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.