2 ; Voicemail Configuration
6 ; NOTE: Asterisk has to edit this file to change a user's password. This does
7 ; note currently work with the "#include <file>" directive for Asterisk
8 ; configuration files. Do not use it with this configuration file.
12 ; Default formats for writing Voicemail
13 ;format=g723sf|wav49|wav
17 ; If you change the list of formats that you record voicemail in
18 ; when you have mailboxes that contain messages, you _MUST_ absolutely
19 ; manually go through those mailboxes and convert/delete/add the
20 ; the message files so that they appear to have been stored using
21 ; your new format list. If you don't do this, very unpleasant
22 ; things may happen to your users while they are retrieving and
23 ; manipulating their voicemail.
25 ; In other words: don't change the format list on a production system
26 ; unless you are _VERY_ sure that you know what you are doing and are
27 ; prepared for the consequences.
29 ; Who the e-mail notification should appear to come from
31 ;serveremail=asterisk@linux-support.net
32 ; Should the email contain the voicemail as an attachment
34 ; Maximum number of messages per folder. If not specified, a default value
35 ; (100) is used. Maximum value for this option is 9999.
37 ; Maximum length of a voicemail message in seconds
39 ; Minimum length of a voicemail message in seconds for the message to be kept
40 ; The default is no minimum.
42 ; Maximum length of greetings in seconds
44 ; How many miliseconds to skip forward/back when rew/ff in message playback
46 ; How many seconds of silence before we end the recording
48 ; Silence threshold (what we consider silence, the lower, the more sensitive)
50 ; Max number of failed login attempts
53 ; If you need to have an external program, i.e. /usr/bin/myapp
54 ; called when a voicemail is left, delivered, or your voicemailbox
55 ; is checked, uncomment this. It can also be set to 'smdi' to use
56 ; smdi for external notification. If it is 'smdi', smdiport should
57 ; be set to a valid port as specfied in smdi.conf.
59 ;externnotify=/usr/bin/myapp
62 ; If you need to have an external program, i.e. /usr/bin/myapp
63 ; called when a voicemail password is changed, uncomment this:
64 ;externpass=/usr/bin/myapp
65 ; For the directory, you can override the intro file if you want
66 ;directoryintro=dir-intro
67 ; The character set for voicemail messages can be specified here
69 ; The ADSI feature descriptor number to download to
71 ; The ADSI security lock code
73 ; The ADSI voicemail application version number.
75 ; Skip the "[PBX]:" string from the message title
77 ; Change the From: string
78 ;fromstring=The Asterisk PBX
79 ; Permit finding entries for forward/compose from the directory
82 ; Change the from, body and/or subject, variables:
83 ; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM,
86 ; Note: The emailbody config row can only be up to 512 characters due to a
87 ; limitation in the Asterisk configuration subsystem.
88 ;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
89 ; The following definition is very close to the default, but the default shows
90 ; just the CIDNAME, if it is not null, otherise just the CIDNUM, or "an unknown
91 ; caller", if they are both null.
92 ;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} from ${VM_CALLERID}, on ${VM_DATE}, so you might\nwant to check it when you get a chance. Thanks!\n\n\t\t\t\t--Asterisk\n
94 ; You can also change the Pager From: string, the pager body and/or subject.
95 ; The above defined variables also can be used here
96 ;pagerfromstring=The Asterisk PBX
98 ;pagerbody=New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE}
100 ; Set the date format on outgoing mails. Valid arguments can be found on the
101 ; strftime(3) man page
104 emaildateformat=%A, %B %d, %Y at %r
106 ;emaildateformat=%A, %d %B %Y at %H:%M:%S
108 ; You can override the default program to send e-mail if you wish, too
110 ;mailcmd=/usr/sbin/sendmail -t
112 ; Users may be located in different timezones, or may have different
113 ; message announcements for their introductory message when they enter
114 ; the voicemail system. Set the message and the timezone each user
115 ; hears here. Set the user into one of these zones with the tz= attribute
116 ; in the options field of the mailbox. Of course, language substitution
117 ; still applies here so you may have several directory trees that have
118 ; alternate language choices.
120 ; Look in /usr/share/zoneinfo/ for names of timezones.
121 ; Look at the manual page for strftime for a quick tutorial on how the
122 ; variable substitution is done on the values below.
125 ; 'filename' filename of a soundfile (single ticks around the filename
127 ; ${VAR} variable substitution
128 ; A or a Day of week (Saturday, Sunday, ...)
129 ; B or b or h Month name (January, February, ...)
130 ; d or e numeric day of month (first, second, ..., thirty-first)
132 ; I or l Hour, 12 hour clock
133 ; H Hour, 24 hour clock (single digit hours preceded by "oh")
134 ; k Hour, 24 hour clock (single digit hours NOT preceded by "oh")
135 ; M Minute, with 00 pronounced as "o'clock"
136 ; N Minute, with 00 pronounced as "hundred" (US military time)
138 ; Q "today", "yesterday" or ABdY
139 ; (*note: not standard strftime value)
140 ; q "" (for today), "yesterday", weekday, or ABdY
141 ; (*note: not standard strftime value)
142 ; R 24 hour time, including minute
146 eastern=America/New_York|'vm-received' Q 'digits/at' IMp
147 central=America/Chicago|'vm-received' Q 'digits/at' IMp
148 central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours'
149 military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
150 european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM
153 ; Each mailbox is listed in the form <mailbox>=<password>,<name>,<email>,<pager_email>,<options>
154 ; if the e-mail is specified, a message will be sent when a message is
155 ; received, to the given mailbox. If pager is specified, a message will be
156 ; sent there as well. If the password is prefixed by '-', then it is
157 ; considered to be unchangable.
159 ; Advanced options example is extension 4069
160 ; NOTE: All options can be expressed globally in the general section, and
161 ; overriden in the per-mailbox settings, unless listed otherwise.
163 ; tz=central ; Timezone from zonemessages above. Irrelevant if envelope=no.
164 ; attach=yes ; Attach the voicemail to the notification email *NOT* the pager email
165 ; saycid=yes ; Say the caller id information before the message. If not described,
166 ; or set to no, it will be in the envelope
167 ; cidinternalcontexts=intern ; Internal Context for Name Playback instead of
168 ; extension digits when saying caller id.
169 ; sayduration=no ; Turn on/off the duration information before the message. [ON by default]
170 ; saydurationm=2 ; Specify the minimum duration to say. Default is 2 minutes
171 ; dialout=fromvm ; Context to dial out from [option 4 from the advanced menu]
172 ; if not listed, dialing out will not be permitted
173 sendvoicemail=yes ; Context to Send voicemail from [option 5 from the advanced menu]
174 ; if not listed, sending messages from inside voicemail will not be
176 ; searchcontexts=yes ; Current default behavior is to search only the default context
177 ; if one is not specified. The older behavior was to search all contexts.
178 ; This option restores the old behavior [DEFAULT=no]
179 ; callback=fromvm ; Context to call back from
180 ; if not listed, calling the sender back will not be permitted
181 ; review=yes ; Allow sender to review/rerecord their message before saving it [OFF by default
182 ; operator=yes ; Allow sender to hit 0 before/after/during leaving a voicemail to
183 ; reach an operator [OFF by default]
184 ; envelope=no ; Turn on/off envelope playback before message playback. [ON by default]
185 ; This does NOT affect option 3,3 from the advanced options menu
186 ; delete=yes ; After notification, the voicemail is deleted from the server. [per-mailbox only]
187 ; This is intended for use with users who wish to receive their
188 ; voicemail ONLY by email. Note: "deletevoicemail" is provided as an
189 ; equivalent option for Realtime configuration.
190 ; nextaftercmd=yes ; Skips to the next message after hitting 7 or 9 to delete/save current message.
191 ; [global option only at this time]
192 ; forcename=yes ; Forces a new user to record their name. A new user is
193 ; determined by the password being the same as
194 ; the mailbox number. The default is "no".
195 ; forcegreetings=no ; This is the same as forcename, except for recording
196 ; greetings. The default is "no".
197 ; hidefromdir=yes ; Hide this mailbox from the directory produced by app_directory
198 ; The default is "no".
202 ; Define maximum number of messages per folder for partcular context.
205 1234 => 4242,Example Mailbox,root@localhost
206 ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10
207 ;4300 => 3456,Ben Rigas,ben@american-computer.net
208 ;4310 => -5432,Sales,sales@marko.net
209 ;4069 => 6522,Matt Brooks,matt@marko.net,,|tz=central|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|review=yes|operator=yes|envelope=yes|sayduration=yes|saydurationm=1
210 ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1
211 ;4110 => 3443,Rob Flynn,rflynn@blueridge.net
212 ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european
216 ; Mailboxes may be organized into multiple contexts for
217 ; voicemail virtualhosting
221 ;The intro can be customized on a per-context basis
222 ;directoryintro=dir-company2
223 1234 => 5678,Company2 User,root@localhost