Asterisk 11.14 – Voicemail Incorrect Duration

Home » Asterisk Users » Asterisk 11.14 – Voicemail Incorrect Duration
Asterisk Users 3 Comments

Hi all,

i use asterisk 11.14.0 and I suspect that the voicemail application counts the time wrong.

In my voicemail.conf:
[general]
minsecs=3
maxsilence=5
format=wav maxsecs0
silencethreshold0
[…cut..]

In the asterisk-cli:
[Jan 26 15:23:49] — Executing [s@macro-voicemail:77]VoiceMail(“SIP/XY-0005175a”, “aNumber,su”) in new stack
[Jan 26 15:24:04] — Playing ‘beep.gsm’ (language ‘de’)
[Jan 26 15:24:04] — x=0, open writing: /var/spool/asterisk/voicemail/default/aNumber/tmp/rVBkAm format: wav, 0x7fd884a33128
[Jan 26 15:24:10] — User hung up
[Jan 26 15:24:10] — Recording was 2 seconds long but needs to be at least 3 – abandoning

So, from 15:24:04 to 15:24:10 there are 6 seconds. But asterisk only count 2. What can be the reason? It is not silence.

Sincerely, Dominique

3 thoughts on - Asterisk 11.14 – Voicemail Incorrect Duration

  • Hi Stefan,

    Stefan Tichy schrieb am Mon, 26. Jan 23:56:

    Yes, im sure. I have looked at the time and talked for at least 4 seconds. In CLI log are 5-6 seconds visible between open to writing and Hang up. Nevertheless, Asterisk writes about two seconds.

    It would be worth a try to set the value down. In asterisk 1.6 this value was still good. But that is far back again… I will write again.

    Greetings Dominique

  • Hi Stefan,

    Dominique Haeber schrieb am Die, 27. Jan 08:55:

    This was the solution. Thank you!

    Greetings Dominique