asterisk users
2013-Jan-22 23:22 UTC
[asterisk-users] Asterisk voicemail minimum length / silence settings
What I'm trying to achieve is that a voicemail message should be at least 3 seconds long for it to be saved, but *after that* a prolonged silence (e.g. 10 seconds) should terminate the call and recording. My current settings (Asterisk 10.7.0 and 11.2.1) are: ; Minimum length of a voicemail message in seconds for the message to be kept ; The default is no minimum. minsecs=3 ; How many seconds of silence before we end the recording maxsilence=10 With these settings, I'm getting the following warning message. WARNING[21671] app_voicemail.c: maxsilence should be less than minsecs or you may get empty messages What are the "right" settings for this situation? Thanks all!
Kevin Larsen
2013-Jan-22 23:32 UTC
[asterisk-users] Asterisk voicemail minimum length / silence settings
Depending on exactly what you want, those may be the right settings. What the warning is telling you is that with those settings, someone could reach voicemail, say nothing (silence on the line) and after 10 seconds it will hang up on them and deliver a 10 second silent message to their voicemail box. If you set maxsilence to something like 2 seconds, then it would hang up after 2 seconds and no message would be delivered. The only risk you run by ignoring the warning is that some users *WILL* get voicemails delivered that have no real audio, but simply be silent. If you can live with that, you settings will work fine. Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208 From: asterisk users <ast4774 at gmail.com> To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>, Date: 01/22/2013 05:22 PM Subject: [asterisk-users] Asterisk voicemail minimum length / silence settings Sent by: asterisk-users-bounces at lists.digium.com What I'm trying to achieve is that a voicemail message should be at least 3 seconds long for it to be saved, but *after that* a prolonged silence (e.g. 10 seconds) should terminate the call and recording. My current settings (Asterisk 10.7.0 and 11.2.1) are: ; Minimum length of a voicemail message in seconds for the message to be kept ; The default is no minimum. minsecs=3 ; How many seconds of silence before we end the recording maxsilence=10 With these settings, I'm getting the following warning message. WARNING[21671] app_voicemail.c: maxsilence should be less than minsecs or you may get empty messages What are the "right" settings for this situation? Thanks all! -- _____________________________________________________________________ -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130122/c724c234/attachment.htm>
Carlos Alvarez
2013-Jan-22 23:45 UTC
[asterisk-users] Asterisk voicemail minimum length / silence settings
On Tue, Jan 22, 2013 at 4:22 PM, asterisk users <ast4774 at gmail.com> wrote:> > What are the "right" settings for this situation? >We've used the following settings system-wide for about nine years without one complaint or known issue: [general] format = wav49|pcm maxsecs = 360 minsecs = 4 skipms = 3000 maxsilence = 3 maxlogins = 3 maxgreet = 120 maxmsg = 50 silencethreshold = 128 operator = yes sendvoicemail = yes usedirectory = yes forcename = yes forcegreeting = yes saycid = no review = yes nextaftercmd = yes tempgreetwarn = yes Some of these things may be deprecated depending on the version you're using. -- Carlos Alvarez TelEvolve 602-889-3003 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130122/28ad2836/attachment.htm>