aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/asterisk/voicemail.conf.asterisk_server
blob: c67559f9d3f677c81674a73ce0088d083b52d5a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[general]
format=wav49|gsm|wav

serveremail=${asterisk_from_email}
attach=yes
maxmsg=100
maxsecs=300
maxgreet=60
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3

emailsubject=New voicemail \${VM_MSGNUM} in mailbox \${VM_MAILBOX}
emailbody=Hi \${VM_NAME},\n\nYou have a new voicemail in mailbox \${VM_MAILBOX}.\n\nFrom: \${VM_CALLERID}\nDate: \${VM_DATE}\nDuration: \${VM_DUR}\nMessage Number: \${VM_MSGNUM}
emaildateformat=%A, %B %d, %Y at %r

tz=myzone
locale=${asterisk_locale}
minpassword=4

[zonemessages]
myzone=${asterisk_timezone}|'vm-received' Q 'digits/at' IMp

[default]
$(for mailbox in ${asterisk_mailboxes:-}; do
  eval "mailbox_password=\${asterisk_mailbox_${mailbox}_password:-${asterisk_default_mailbox_password}}"
  eval "mailbox_name=\${asterisk_mailbox_${mailbox}_name:-}"
  eval "mailbox_email=\${asterisk_mailbox_${mailbox}_email:-}"
  echo "${mailbox} => ${mailbox_password},${mailbox_name},${mailbox_email},,,"
done)