System information
Option Value/Example Notes
emailsubject [PBX]: New
message $
{VM_MSGNUM} in
mailbox $
{VM_MAILBOX}
When Asterisk sends an email, you can use this setting to define
what the Subject: line of the email will look like. See the voice-
mail.conf.sample file for more details.
emailbody Dear $
{VM_NAME}:\n\n
\tjust wanted to
let you know you
were just left a
${VM_DUR} long
message (number
${VM_MSGNUM})
\nin mailbox $
{VM_MAILBOX u
might\nwant to
check it when
you get a
chance. Thanks!
\n\n\t\t\t\t--
Asterisk\n
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.sam-
ple file for more details.
pagerfromstring The Asterisk PBX We don’t actually know anybody who uses pagers anymore (nor can
we recall having seen one in many years), but if you have one of
these historical oddities and you want to customize what Asterisk
sends with its pager notification, presumably you can do that with
this. A very practical usage of this feature for short message voicemail
notifications is to send a message to an email to SMS gateway.
pagersubject New VM As above.
pagerbody New ${VM_DUR}
long msg in box
${VM_MAILBOX}
\nfrom $
{VM_CALLERID},
on ${VM_DATE}
The formatting for this uses the same rules as emailbody.
emaildateformat %A, %d %B %Y at
%H:%M:%S
This option allows you to specify the date format in emails. Uses the
same rules as the C function STRFTIME.
pagerdateformat %A, %d %B %Y at
%H:%M:%S
This option allows you to specify the date format in pager. Uses the
same rules as the C function STRFTIME.
mailcmd /usr/sbin/send
mail -t
If you want to override the default operating system application for
sending mail, you can specify it here.
pollmailboxes no, yes If the contents of mailboxes are changed by anything other than
app_voicemail (such as external applications or another Asterisk
system), setting this to yes will cause app_voicemail to poll all
Comedian Mail | 161