Re: [asterisk-users] asterisk 11.14 - voicemail incorrect duration

2015-03-25 Thread Dominique Haeber

Hi Stefan,

Dominique Haeber dominique.hae...@xig.ch schrieb am Die, 27. Jan 08:55:
 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.

This was the solution. Thank you!

Greetings
Dominique

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] asterisk 11.14 - voicemail incorrect duration

2015-01-26 Thread Dominique Haeber
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@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


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] asterisk 11.14 - voicemail incorrect duration

2015-01-26 Thread Dominique Haeber
Hi Stefan,

Stefan Tichy asteri...@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


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] asterisk 11.14 - voicemail incorrect duration

2015-01-26 Thread Stefan Tichy
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 )

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users