text
stringlengths
0
152
these days, you could easily store thousands of messages for each user, so our
current thinking is to set this to the maximum and let the users manage things
from there. Be aware that old voicemail messages on a large system can waste a
lot of hard drive space, after a few years of storing every message.
This type of setting was useful back when a large voicemail system might have
only 40 MBc of storage: it was necessary to limit the system because it was easy to
fill up the hard drive. This setting can be annoying to callers (although it does force
them to get to the point, so some people like it). Nowadays, with terabyte drives
common, there is no technical reason to limit the length of a message. Two
considerations are: 1) if a channel gets hung in a mailbox, it’s good to set some
sort of value so it doesn’t mindlessly record an endless, empty voice message, but
2) if a user wants to use her mailbox to record notes to herself, she won’t
appreciate it if you cut her off after 3 minutes. A setting somewhere between 600
seconds (10 minutes) and 3600 seconds (1 hour) will probably be about right.
When Asterisk sends an email, you can use this setting to define what the Sub
ject: line of the email will look like. See the voicemail.conf.sample file for more
details.
serveremail
user@domain
attach
yes,no
maxmsg
9999
maxsecs
600
emailsub
ject
[PBX]: New
message $
{VM_MSGNUM}
in mailbox $
{VM_MAILBOX}
132
|
Chapter 8: Voicemail
Option
emailbody
emaildate
format
Value/example
Dear $
{VM_NAME}:\n
\n\tyou
have a $
{VM_DUR}
long mes
sage (num
ber $
{VM_MSGNUM})
\nin mail
box ${VM_MAIL
BOX} \n\n\t\t
\t\t--
Asterisk\n
%A, %d %B
%Y at %H:%M:
%S
Notes
When Asterisk sends an email, you can use this setting to define what the body of
the email will look like. See the voicemail.conf.sample file for more details.
This option allows you to specify the date format in emails. Uses the same rules as
the C function STRFTIME.
no, yes
pollfreq
pollmail
boxes
If the contents of mailboxes are changed by anything other than app_voice
mail (such as external applications or another Asterisk system), setting this to
yes will cause app_voicemail to poll all the mailboxes for changes, which
will trigger proper message waiting indication (MWI) updates.
Used in concert with pollmailboxes, this option specifies the number of
seconds to wait between mailbox polls.
a The separator that is used for each format option must be the pipe (|) character.
b Sending email from Asterisk can require some careful configuration, because many spam filters will find Asterisk messages
suspicious and will simply ignore them. We talk more about how to set email for Asterisk in “Voicemail to Email” on page 144.
c Yes, you read that correctly: megabytes.