Dominique Haeber
2015-Jan-26 15:37 UTC
[asterisk-users] asterisk 11.14 - voicemail incorrect duration
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 maxsecs=180 silencethreshold=140 [...cut..] In the asterisk-cli: [Jan 26 15:23:49] -- Executing [s at macro-voicemail:77]VoiceMail("SIP/XY-0005175a", "aNumber,su") in new stack [Jan 26 15:24:04] -- <SIP/YX-0005175a> 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
Stefan Tichy
2015-Jan-26 22:56 UTC
[asterisk-users] asterisk 11.14 - voicemail incorrect duration
Hi Dominique On Mon, Jan 26, 2015 at 04:37:23PM +0100, Dominique Haeber wrote:> 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.Are you sure? The value for silencethreshold (140) is unusually large. -- Stefan Tichy ( asterisk3 at pi4tel dot de )
Dominique Haeber
2015-Jan-27 07:55 UTC
[asterisk-users] asterisk 11.14 - voicemail incorrect duration
Hi Stefan, Stefan Tichy <asterisk3 at pi4tel.de> schrieb am Mon, 26. Jan 23:56:> Hi Dominique > > On Mon, Jan 26, 2015 at 04:37:23PM +0100, Dominique Haeber wrote: > > > 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. > > Are you sure?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.> The value for silencethreshold (140) is unusually large.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