| 1 |
; |
| 2 |
; Voicemail Configuration |
| 3 |
; |
| 4 |
|
| 5 |
; ********* NOTICE ************************************************************ |
| 6 |
; |
| 7 |
; NOTE: Asterisk has to edit this file to change a user's password, so |
| 8 |
; do not use realtime static configuration with this file. |
| 9 |
; To avoid requiring config updates on password updates, you could use the |
| 10 |
; passwordlocation option to store passwords separately. |
| 11 |
; |
| 12 |
; If your "source of truth" for voicemail passwords is elsewhere, you should |
| 13 |
; use the externpassnotify option to notify whatever stores the passwords |
| 14 |
; (e.g. external database) when there are changes, to keep it synchronized. |
| 15 |
; |
| 16 |
; NOTE: Mailboxes defined by app_voicemail MUST be referenced by the rest |
| 17 |
; of the system as mailbox@context. The rest of the system cannot add |
| 18 |
; @default to mailbox identifiers for app_voicemail that do not specify a |
| 19 |
; context any longer. It is a mailbox identifier format that should only |
| 20 |
; be interpreted by app_voicemail. |
| 21 |
; |
| 22 |
; ********* NOTICE ************************************************************ |
| 23 |
|
| 24 |
[general] |
| 25 |
; Formats for writing Voicemail. Note that when using IMAP storage for |
| 26 |
; voicemail, only the first format specified will be used. |
| 27 |
;format=g723sf|wav49|wav |
| 28 |
format=wav49|gsm|wav |
| 29 |
; |
| 30 |
; WARNING: |
| 31 |
; If you change the list of formats that you record voicemail in |
| 32 |
; when you have mailboxes that contain messages, you _MUST_ absolutely |
| 33 |
; manually go through those mailboxes and convert/delete/add the |
| 34 |
; the message files so that they appear to have been stored using |
| 35 |
; your new format list. If you don't do this, very unpleasant |
| 36 |
; things may happen to your users while they are retrieving and |
| 37 |
; manipulating their voicemail. |
| 38 |
; |
| 39 |
; In other words: don't change the format list on a production system |
| 40 |
; unless you are _VERY_ sure that you know what you are doing and are |
| 41 |
; prepared for the consequences. |
| 42 |
; |
| 43 |
; Who the e-mail notification should appear to come from |
| 44 |
serveremail=asterisk |
| 45 |
;[email protected] |
| 46 |
; Should the email contain the voicemail as an attachment |
| 47 |
attach=yes |
| 48 |
; Maximum number of messages per folder. If not specified, a default value |
| 49 |
; (100) is used. Maximum value for this option is 9999. If set to 0, a |
| 50 |
; mailbox will be greetings-only. |
| 51 |
;maxmsg=100 |
| 52 |
; Maximum length of a voicemail message in seconds |
| 53 |
;maxsecs=180 |
| 54 |
; Minimum length of a voicemail message in seconds for the message to be kept |
| 55 |
; The default is no minimum. |
| 56 |
;minsecs=3 |
| 57 |
; Maximum length of greetings in seconds |
| 58 |
;maxgreet=60 |
| 59 |
; How many milliseconds to skip forward/back when rew/ff in message playback |
| 60 |
skipms=3000 |
| 61 |
; How many seconds of silence before we end the recording |
| 62 |
maxsilence=10 |
| 63 |
; Silence threshold (what we consider silence: the lower, the more sensitive) |
| 64 |
silencethreshold=128 |
| 65 |
; Max number of failed login attempts |
| 66 |
maxlogins=3 |
| 67 |
; |
| 68 |
; Move heard messages to the 'Old' folder automagically. Defaults to on. |
| 69 |
;moveheard=yes |
| 70 |
; |
| 71 |
; Forward an urgent message as an urgent message. Defaults to no so |
| 72 |
; sender can set the urgency on the envelope of the forwarded message. |
| 73 |
;forward_urgent_auto=no |
| 74 |
; |
| 75 |
; User context is where entries from users.conf are registered. The |
| 76 |
; default value is 'default' |
| 77 |
; |
| 78 |
;userscontext=default |
| 79 |
; |
| 80 |
; Aliases allow a mailbox to be referenced by an alias. The aliases are |
| 81 |
; specified in the special context named here. There is no default. |
| 82 |
;aliasescontext=myaliases |
| 83 |
; |
| 84 |
; If you need to have an external program, i.e. /usr/bin/myapp |
| 85 |
; called when a voicemail is left, delivered, or your voicemailbox |
| 86 |
; is checked, uncomment this. |
| 87 |
;externnotify=/usr/bin/myapp |
| 88 |
|
| 89 |
; If you would also like to enable SMDI notification then set smdienable to yes. |
| 90 |
; You will also need to make sure smdiport is set to a valid port as specified in |
| 91 |
; smdi.conf. |
| 92 |
;smdienable=yes |
| 93 |
;smdiport=/dev/ttyS0 |
| 94 |
|
| 95 |
; If you need to have an external program, i.e. /usr/bin/myapp |
| 96 |
; called when a voicemail password is changed, uncomment this. The |
| 97 |
; arguments passed to the application are: <context> <mailbox> <newpassword> |
| 98 |
; Note: If this is set, the password will NOT be changed in voicemail.conf |
| 99 |
; If you would like to also change the password in voicemail.conf, use |
| 100 |
; the externpassnotify option below instead. |
| 101 |
;externpass=/usr/bin/myapp |
| 102 |
;externpassnotify=/usr/bin/myapp |
| 103 |
|
| 104 |
; If you would like to have an external program called when a user changes the |
| 105 |
; voicemail password for the purpose of doing validation on the new password, |
| 106 |
; then use this option. The script can decide whether or not the new password |
| 107 |
; meets minimum password strength requirements before the Voicemail application |
| 108 |
; accepts the password. If the script decides that the password is not acceptable, |
| 109 |
; the user will be informed that the new password does not meet minimum password |
| 110 |
; requirements, and they will be asked to enter another password. |
| 111 |
; |
| 112 |
; The arguments passed to this script are <mailbox> <context> <old pw> <new pw>. |
| 113 |
; |
| 114 |
; The script should print "VALID" to stdout to indicate that the new password |
| 115 |
; is acceptable. If the password is considered too weak, the script should print |
| 116 |
; "INVALID" to stdout. |
| 117 |
; |
| 118 |
; There is an example script in the contrib/scripts/ directory, voicemailpwcheck.py, |
| 119 |
; which implements some basic password checking, and can be used as a starting point |
| 120 |
; for use with this option. |
| 121 |
; |
| 122 |
;externpasscheck=/usr/local/bin/voicemailpwcheck.py |
| 123 |
|
| 124 |
; For the directory, you can override the intro file if you want |
| 125 |
;directoryintro=dir-intro |
| 126 |
; The character set for voicemail messages can be specified here |
| 127 |
; default: ISO-8859-1 |
| 128 |
;charset=UTF-8 |
| 129 |
; The ADSI feature descriptor number to download to |
| 130 |
;adsifdn=0000000F |
| 131 |
; The ADSI security lock code |
| 132 |
;adsisec=9BDBF7AC |
| 133 |
; The ADSI voicemail application version number. |
| 134 |
;adsiver=1 |
| 135 |
; Skip the "[PBX]:" string from the message title |
| 136 |
;pbxskip=yes |
| 137 |
; Change the From: string |
| 138 |
;fromstring=The Asterisk PBX |
| 139 |
; Permit finding entries for forward/compose from the directory |
| 140 |
;usedirectory=yes |
| 141 |
|
| 142 |
; ----------------------------------------------------------------------------- |
| 143 |
; ODBC storage configuration |
| 144 |
; ----------------------------------------------------------------------------- |
| 145 |
; Voicemail can be stored in a database using the ODBC driver. |
| 146 |
; |
| 147 |
; Storage database: |
| 148 |
; The value of odbcstorage is the database connection configured in |
| 149 |
; res_odbc.conf. This may be different from the name of the ODBC DSN |
| 150 |
; in /etc/odbc.ini which, in turn, may be different from the name of the |
| 151 |
; actual database. If you used the voicemail.ini.sample alembic script |
| 152 |
; located in contrib/ast-db-manage to create the database, the database |
| 153 |
; name is 'voicemail' and the table name is 'voicemail_messages' so you'd |
| 154 |
; need to ensure that /etc/odbc.ini has a DSN entry that points to that |
| 155 |
; database and res_odbc.conf has an entry that points to that ODBC DSN. |
| 156 |
; For historical compatibility, the default value of odbcstorage is |
| 157 |
; actually 'asterisk' because originally voicemail messages were stored |
| 158 |
; in the same database as the rest of the Asterisk configuration. |
| 159 |
|
| 160 |
;odbcstorage = voicemail |
| 161 |
|
| 162 |
; Storage table: |
| 163 |
; The name of the table in which voicemail messages are stored. |
| 164 |
; If you used the voicemail.ini.sample alembic script located in |
| 165 |
; contrib/ast-db-manage to create the database, the table name |
| 166 |
; is 'voicemail_messages'. For historical compatibility however, |
| 167 |
; the default value of odbctable is 'voicemessages' because originally |
| 168 |
; voicemail messages were stored in that table in the same database |
| 169 |
; as the rest of the Asterisk configuration. |
| 170 |
|
| 171 |
;odbctable = voicemail_messages |
| 172 |
|
| 173 |
; Audio storage location: |
| 174 |
; By default, voicemail and prompt audio files are stored as BLOBs |
| 175 |
; in the database along with the message metadata. If you would |
| 176 |
; prefer to store the audio files on disk and only store the message |
| 177 |
; metadata in the database, set the following option to 'yes'. |
| 178 |
; This can be advantageous in some scenarios, such as when the |
| 179 |
; database is on a separate server from the Asterisk server and |
| 180 |
; network latency and size is a concern or when the database is |
| 181 |
; not well-suited for storing large binary objects. It can also |
| 182 |
; be useful when you want to use the same voicemail storage |
| 183 |
; configuration for multiple Asterisk servers. In this situation |
| 184 |
; you can have all the servers use a single shared network file |
| 185 |
; system to store the audio files and use the same database for fast |
| 186 |
; access to the message metadata. |
| 187 |
|
| 188 |
; If you set this option to "yes", new messages and greetings will |
| 189 |
; have their audio kept on disk but the audio for existing messages |
| 190 |
; and greetings will remain in the database until the next time |
| 191 |
; they are played. At that time, the audio will be moved to disk |
| 192 |
; and erased from the database. |
| 193 |
|
| 194 |
; If you set this option to "no" after you've already stored messages |
| 195 |
; or greetings with it set to "yes", new messages and greetings will |
| 196 |
; have their audio stored in the database but the audio for existing |
| 197 |
; messages and greetings will remain on disk until the next time they |
| 198 |
; are played. At that time, the audio will be moved to the database |
| 199 |
; and erased from the disk. |
| 200 |
|
| 201 |
; WARNING: Before changing this option from "yes" to "no" or vice |
| 202 |
; versa make sure you have complete backups of your voicemail |
| 203 |
; database and audio files. |
| 204 |
|
| 205 |
; WARNING: If you set this option to "yes" and then later set it |
| 206 |
; to "no", you must ensure that the audio files are not deleted |
| 207 |
; from the disk until you are certain that they have been moved |
| 208 |
; to the database. If you delete the audio files before they are |
| 209 |
; moved to the database, the messages will be lost. |
| 210 |
|
| 211 |
; WARNING: YOU MUST NOT DOWNGRADE ASTERISK TO A VERSION THAT DOESN'T |
| 212 |
; UNDERSTAND THIS OPTION if you've set this option to "yes" previously |
| 213 |
; and there are audio files stored on disk. If those files are |
| 214 |
; accessed by a version of Asterisk that doesn't understand this |
| 215 |
; option, the files will be corrupted and the messages will be lost. |
| 216 |
; If you do need to downgrade in this situation, you'll have to write |
| 217 |
; your own script to move the audio files back into the 'recording' |
| 218 |
; column of the database table. If you record multiple formats, |
| 219 |
; the file to write to the 'recording' column will be the first format |
| 220 |
; listed in the 'format' option in this config file. If the first |
| 221 |
; format is 'wav49', the file to add to the database will be the one |
| 222 |
; with the 'WAV' extension. |
| 223 |
|
| 224 |
; odbc_audio_on_disk = no |
| 225 |
|
| 226 |
; ----------------------------------------------------------------------------- |
| 227 |
|
| 228 |
; |
| 229 |
; Change the from, body and/or subject, variables: |
| 230 |
; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM, |
| 231 |
; VM_CIDNAME, VM_DATE |
| 232 |
; Additionally, on forwarded messages, you have the variables: |
| 233 |
; ORIG_VM_CALLERID, ORIG_VM_CIDNUM, ORIG_VM_CIDNAME, ORIG_VM_DATE |
| 234 |
; You can select between two variables by using dialplan functions, e.g. |
| 235 |
; ${IF(${ISNULL(${ORIG_VM_DATE})}?${VM_DATE}:${ORIG_VM_DATE})} |
| 236 |
; |
| 237 |
; Note: The emailbody config row can only be up to 8190 characters due to a |
| 238 |
; limitation in the Asterisk configuration subsystem. If compiled with |
| 239 |
; LOW_MEMORY the limit is 510 characters. |
| 240 |
;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX} |
| 241 |
; The following definition is very close to the default, but the default shows |
| 242 |
; just the CIDNAME, if it is not null, otherwise just the CIDNUM, or "an unknown |
| 243 |
; caller", if they are both null. |
| 244 |
;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 |
| 245 |
; |
| 246 |
; Note: ${IF()} strips spacing at the beginning and end of its true and false |
| 247 |
; values, so a newline cannot be placed at either location. The word 'so' is |
| 248 |
; therefore duplicated, in order for the newline to be interpreted correctly. |
| 249 |
;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just ${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?left:forwarded)} a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE},\n${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?so:(originally sent by ${ORIG_VM_CALLERID} on ${ORIG_VM_DATE})\nso)} you might want to check it when you get a chance. Thanks!\n\n\t\t\t\t--Asterisk\n |
| 250 |
; |
| 251 |
; You can also change the Pager From: string, the pager body and/or subject. |
| 252 |
; The above defined variables also can be used here |
| 253 |
;pagerfromstring=The Asterisk PBX |
| 254 |
;pagersubject=New VM |
| 255 |
;pagerbody=New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE} |
| 256 |
; |
| 257 |
; Set the date format on outgoing mails. Valid arguments can be found on the |
| 258 |
; strftime(3) man page |
| 259 |
; |
| 260 |
; Default |
| 261 |
emaildateformat=%A, %B %d, %Y at %r |
| 262 |
; 24h date format |
| 263 |
;emaildateformat=%A, %d %B %Y at %H:%M:%S |
| 264 |
; |
| 265 |
; Default for pager use |
| 266 |
pagerdateformat=%A, %B %d, %Y at %r |
| 267 |
; Short 24h date format for pager use |
| 268 |
;pagerdateformat=%T %D |
| 269 |
; |
| 270 |
; Using the mailcmd option, you can specify what command is called for |
| 271 |
; outbound E-mail. The default is shown below. |
| 272 |
; |
| 273 |
;mailcmd=/usr/sbin/sendmail -t |
| 274 |
; |
| 275 |
;pollmailboxes=no ; If mailboxes are changed anywhere outside of app_voicemail, |
| 276 |
; ; then this option must be enabled for MWI to work. This |
| 277 |
; ; enables polling mailboxes for changes. Normally, it will |
| 278 |
; ; expect that changes are only made when someone called in |
| 279 |
; ; to one of the voicemail applications. |
| 280 |
; ; Examples of situations that would require this option are |
| 281 |
; ; web interfaces to voicemail or an email client in the case |
| 282 |
; ; of using IMAP storage. |
| 283 |
; ; Default: no |
| 284 |
;pollfreq=30 ; If the "pollmailboxes" option is enabled, this option |
| 285 |
; ; sets the polling frequency. The default is once every |
| 286 |
; ; 30 seconds. |
| 287 |
; |
| 288 |
|
| 289 |
; ----------------------------------------------------------------------------- |
| 290 |
; IMAP configuration settings only |
| 291 |
; These settings are only applicable when Asterisk is compiled with IMAP support. |
| 292 |
; |
| 293 |
;imapgreetings=no ; If using IMAP storage, specify whether voicemail greetings |
| 294 |
; should be stored via IMAP. If no, then greetings are stored |
| 295 |
; as if IMAP storage were not enabled. |
| 296 |
;greetingsfolder=INBOX ; If imapgreetings=yes, then specify which folder to store |
| 297 |
; your greetings in. If you do not specify a folder, then INBOX |
| 298 |
; will be used |
| 299 |
;imapparentfolder=INBOX ; Some IMAP server implementations store folders under INBOX |
| 300 |
; instead of using a top level folder (ex. INBOX/Friends). In |
| 301 |
; this case, user imapparentfolder to set the parent folder. For |
| 302 |
; example, Cyrus IMAP does NOT use INBOX as the parent. Default |
| 303 |
; is to have no parent folder set. |
| 304 |
;imapserver=localhost ; The address of the IMAP server |
| 305 |
;imapport=143 ; The port of the IMAP server |
| 306 |
;imapflags=ssl ; Optional flags to pass to the IMAP server in the IMAP mailbox |
| 307 |
; name. For example, setting this to 'ssl' will enable OpenSSL |
| 308 |
; encryption, assuming the IMAP libraries were compiled with |
| 309 |
; OpenSSL support. |
| 310 |
;imapfolder=INBOX ; The folder in which to store voicemail messages on the IMAP |
| 311 |
; server. By default, they are stored in INBOX. |
| 312 |
;authuser=user ; The master user to use for connecting to the IMAP server, if |
| 313 |
; the server is configured with a single user that has access to |
| 314 |
; all mailboxes |
| 315 |
;authpassword=password ; The password for the authuser, if used |
| 316 |
;imapopentimeout=60 ; The TCP open timeout (in seconds) |
| 317 |
;imapclosetimeout=60 ; The TCP close timeout (in seconds) |
| 318 |
;imapreadtimeout=60 ; The TCP read timeout (in seconds) |
| 319 |
;imapwritetimeout=60 ; The TCP write timeout (in seconds) |
| 320 |
;imap_poll_logout=no ; If pollmailboxes=yes, then specify whether need to |
| 321 |
; disconnect from the IMAP server after polling. |
| 322 |
; Default: no |
| 323 |
|
| 324 |
; ----------------------------------------------------------------------------- |
| 325 |
|
| 326 |
; Each mailbox is listed in the form <mailbox>=<password>,<name>,<email>,<pager_email>,<options> |
| 327 |
; If email is specified, a message will be sent when a voicemail is received, to |
| 328 |
; the given mailbox, for each address listed (separated by |, ex. [email protected]|[email protected]). |
| 329 |
; If pager is specified, a message will be sent there as well. If the password |
| 330 |
; is prefixed by '-', then it is considered to be unchangeable. |
| 331 |
; |
| 332 |
; Advanced options example is extension 4069 |
| 333 |
; NOTE: All options can be expressed globally in the general section, and |
| 334 |
; overridden in the per-mailbox settings, unless listed otherwise. |
| 335 |
; |
| 336 |
; tz=central ; Timezone from zonemessages below. Irrelevant if envelope=no. |
| 337 |
; locale=de_DE.UTF-8 ; set the locale for generation of the date/time strings (make |
| 338 |
; sure the locales are installed in your operating system; e.g |
| 339 |
; on Debian Linux you can use "dpkg-reconfigure locales"). |
| 340 |
; If you use UTF-8 locales, make sure to set the "charset" option |
| 341 |
; to UTF-8 too. If you mix different locales for different users |
| 342 |
; you should avoid words in the emaildateformat specification, e.g.: |
| 343 |
; emaildateformat=%A, %d %B %Y, %H:%M:%S |
| 344 |
; attach=yes ; Attach the voicemail to the notification email *NOT* the pager email |
| 345 |
; attachfmt=wav49 ; Which format to attach to the email. Normally this is the |
| 346 |
; first format specified in the format parameter above, but this |
| 347 |
; option lets you customize the format sent to particular mailboxes. |
| 348 |
; Useful if Windows users want wav49, but Linux users want gsm. |
| 349 |
; [per-mailbox only] |
| 350 |
; attachextrecs=no ; Whether to attach recordings that are externally added to mailboxes, |
| 351 |
; such as through MixMonitor. Default is no. |
| 352 |
; saycid=yes ; Say the caller id information before the message. If not described, |
| 353 |
; or set to no, it will be in the envelope. When enabled, if a recorded file |
| 354 |
; with the same name as the caller id exists in |
| 355 |
; <astspooldir>/recordings/callerids, then that file will be played as a name |
| 356 |
; rather than saying each digit as a phone number. |
| 357 |
; cidinternalcontexts=intern ; Internal Context for Name Playback instead of |
| 358 |
; extension digits when saying caller id. |
| 359 |
; sayduration=no ; Turn on/off the duration information before the message. [ON by default] |
| 360 |
; saydurationm=2 ; Specify the minimum duration to say. Default is 2 minutes |
| 361 |
; dialout=fromvm ; Context to dial out from [option 4 from mailbox's advanced menu]. |
| 362 |
; If not specified, option 4 will not be listed and dialing out |
| 363 |
; from within VoiceMailMain() will not be permitted. |
| 364 |
sendvoicemail=yes ; Allow the user to compose and send a voicemail while inside |
| 365 |
; VoiceMailMain() [option 5 from mailbox's advanced menu]. |
| 366 |
; If set to 'no', option 5 will not be listed. |
| 367 |
; searchcontexts=yes ; Current default behavior is to search only the default context |
| 368 |
; if one is not specified. The older behavior was to search all contexts. |
| 369 |
; This option restores the old behavior [DEFAULT=no] |
| 370 |
; Note: If you have this option enabled, then you will be required to have |
| 371 |
; unique mailbox names across all contexts. Otherwise, an ambiguity is created |
| 372 |
; since it is impossible to know which mailbox to retrieve when one is requested. |
| 373 |
; callback=fromvm ; Context to call back from |
| 374 |
; if not listed, calling the sender back will not be permitted |
| 375 |
; exitcontext=fromvm ; Context to go to on user exit such as * or 0 |
| 376 |
; The default is the current context. |
| 377 |
; review=yes ; Allow sender to review/rerecord their message before saving it [OFF by default] |
| 378 |
; leaveurgent=yes ; Allow senders to leave messages that are marked as 'Urgent' [ON by default] |
| 379 |
; operator=yes ; Allow sender to hit 0 before/after/during leaving a voicemail to |
| 380 |
; reach an operator. This option REQUIRES an 'o' extension in the |
| 381 |
; same context (or in exitcontext, if set), as that is where the |
| 382 |
; 0 key will send you. [OFF by default] |
| 383 |
; envelope=no ; Turn on/off envelope playback before message playback. [ON by default] |
| 384 |
; This does NOT affect option 3,3 from the advanced options menu |
| 385 |
; delete=yes ; After notification, the voicemail is deleted from the server. [per-mailbox only] |
| 386 |
; This is intended for use with users who wish to receive their |
| 387 |
; voicemail ONLY by email. Note: "deletevoicemail" is provided as an |
| 388 |
; equivalent option for Realtime configuration. |
| 389 |
; alias=Bongo ; Use this additional string for comparison while looking |
| 390 |
; for a match in the Directory application. This option |
| 391 |
; may be specified multiple times to specify additional |
| 392 |
; strings [per-mailbox only] |
| 393 |
; volgain=0.0 ; Emails bearing the voicemail may arrive in a volume too |
| 394 |
; quiet to be heard. This parameter allows you to specify how |
| 395 |
; much gain to add to the message when sending a voicemail. |
| 396 |
; NOTE: sox must be installed for this option to work. |
| 397 |
; nextaftercmd=yes ; Skips to the next message after hitting 7 or 9 to delete/save current message. |
| 398 |
; forcename=yes ; Forces a new user to record their name. A new user is |
| 399 |
; determined by the password being the same as |
| 400 |
; the mailbox number. The default is "no". |
| 401 |
; forcegreetings=no ; This is the same as forcename, except for recording |
| 402 |
; greetings. The default is "no". |
| 403 |
; hidefromdir=yes ; Hide this mailbox from the directory produced by app_directory |
| 404 |
; The default is "no". |
| 405 |
; tempgreetwarn=yes ; Remind the user that their temporary greeting is set |
| 406 |
|
| 407 |
; passwordlocation=spooldir |
| 408 |
; Usually the voicemail password (vmsecret) is stored in |
| 409 |
; this configuration file. By setting this option you can |
| 410 |
; specify where Asterisk should read/write the vmsecret. |
| 411 |
; Supported options: |
| 412 |
; voicemail.conf: |
| 413 |
; This is the default option. The secret is read from |
| 414 |
; and written to voicemail.conf (or users.conf). |
| 415 |
; spooldir: |
| 416 |
; The secret is stored in a separate file in the user's |
| 417 |
; voicemail spool directory in a file named secret.conf. |
| 418 |
; Please ensure that normal Linux users are not |
| 419 |
; permitted to access Asterisk's spool directory as the |
| 420 |
; secret is stored in plain text. If a secret is not |
| 421 |
; found in this directory, the password in |
| 422 |
; voicemail.conf (or users.conf) will be used. |
| 423 |
; Note that this option does not affect password storage for |
| 424 |
; realtime users, which are still stored in the realtime |
| 425 |
; backend. |
| 426 |
; messagewrap=no ; Enable next/last message to wrap around to |
| 427 |
; first (from last) and last (from first) message |
| 428 |
; The default is "no". |
| 429 |
; minpassword=0 ; Enforce minimum password length |
| 430 |
|
| 431 |
; vm-login=custom_sound |
| 432 |
; Customize which sound file is used instead of the default |
| 433 |
; prompt that says: "Comedian Mail. Mailbox?" |
| 434 |
; vm-newuser=custom_sound |
| 435 |
; Customize which sound file is used instead of the default |
| 436 |
; prompt that says: "Welcome to Comedian Mail. First, I will |
| 437 |
; guide you through a short setup process." |
| 438 |
; vm-password=custom_sound |
| 439 |
; Customize which sound file is used instead of the default |
| 440 |
; prompt that says: "password" |
| 441 |
; vm-newpassword=custom_sound |
| 442 |
; Customize which sound file is used instead of the default |
| 443 |
; prompt that says: "Please enter your new password followed by |
| 444 |
; the pound key." |
| 445 |
; vm-passchanged=custom_sound |
| 446 |
; Customize which sound file is used instead of the default |
| 447 |
; prompt that says: "Your password has been changed." |
| 448 |
; vm-reenterpassword=custom_sound |
| 449 |
; Customize which sound file is used instead of the default |
| 450 |
; prompt that says: "Please re-enter your password followed by |
| 451 |
; the pound key" |
| 452 |
; vm-mismatch=custom_sound |
| 453 |
; Customize which sound file is used instead of the default |
| 454 |
; prompt that says: "The passwords you entered and re-entered |
| 455 |
; did not match." |
| 456 |
; vm-invalid-password=custom_sound |
| 457 |
; Customize which sound file is used instead of the default |
| 458 |
; prompt that says: ... |
| 459 |
; vm-pls-try-again=custom_sound |
| 460 |
; Customize which sound file is used instead of the |
| 461 |
; default prompt that says "Please try again." |
| 462 |
; vm-prepend-timeout=custom_sound |
| 463 |
; Customize which sound file is used when the user |
| 464 |
; times out while recording a prepend message instead |
| 465 |
; of the default prompt that says "then press pound" |
| 466 |
; note that this will currently follow vm-pls-try-again. |
| 467 |
; this behavior is subject to change in the near future. |
| 468 |
; listen-control-forward-key=# ; Customize the key that fast-forwards message playback |
| 469 |
; listen-control-reverse-key=* ; Customize the key that rewinds message playback |
| 470 |
; listen-control-pause-key=0 ; Customize the key that pauses/unpauses message playback |
| 471 |
; listen-control-restart-key=2 ; Customize the key that restarts message playback |
| 472 |
; listen-control-stop-key=13456789 ; Customize the keys that interrupt message playback, probably all keys not set above |
| 473 |
|
| 474 |
; Maximum number of messages allowed in the 'Deleted' folder. If set to 0 |
| 475 |
; or no then no deleted messages will be moved. If non-zero (max 9999) then up |
| 476 |
; to this number of messages will be automagically saved when they are |
| 477 |
; 'deleted' on a FIFO basis. |
| 478 |
; defaults to being off |
| 479 |
; backupdeleted=100 |
| 480 |
|
| 481 |
; Asterisk Task Processor Queue Size |
| 482 |
; On heavy loaded system you may need to increase 'app_voicemail' taskprocessor queue. |
| 483 |
; If the taskprocessor queue size reached high water level, the alert is triggered. |
| 484 |
; If the alert is set then some modules (for example pjsip) slow down its production |
| 485 |
; until the alert is cleared. |
| 486 |
; The alert is cleared when taskprocessor queue size drops to the low water clear level. |
| 487 |
; The next options set taskprocessor queue levels for this module. |
| 488 |
; tps_queue_high=500 ; Taskprocessor high water alert trigger level. |
| 489 |
; tps_queue_low=450 ; Taskprocessor low water clear alert level. |
| 490 |
; The default is -1 for 90% of high water level. |
| 491 |
|
| 492 |
[zonemessages] |
| 493 |
; Users may be located in different timezones, or may have different |
| 494 |
; message announcements for their introductory message when they enter |
| 495 |
; the voicemail system. Set the message and the timezone each user |
| 496 |
; hears here. Set the user into one of these zones with the tz= attribute |
| 497 |
; in the options field of the mailbox. Of course, language substitution |
| 498 |
; still applies here so you may have several directory trees that have |
| 499 |
; alternate language choices. |
| 500 |
; |
| 501 |
; Look in /usr/share/zoneinfo/ for names of timezones. |
| 502 |
; Look at the manual page for strftime for a quick tutorial on how the |
| 503 |
; variable substitution is done on the values below. |
| 504 |
; |
| 505 |
; Supported values: |
| 506 |
; 'filename' filename of a soundfile (single ticks around the filename |
| 507 |
; required) |
| 508 |
; ${VAR} variable substitution |
| 509 |
; A or a Day of week (Saturday, Sunday, ...) |
| 510 |
; B or b or h Month name (January, February, ...) |
| 511 |
; d or e numeric day of month (first, second, ..., thirty-first) |
| 512 |
; Y Year |
| 513 |
; I or l Hour, 12 hour clock |
| 514 |
; H Hour, 24 hour clock (single digit hours preceded by "oh") |
| 515 |
; k Hour, 24 hour clock (single digit hours NOT preceded by "oh") |
| 516 |
; M Minute, with 00 pronounced as "o'clock" |
| 517 |
; N Minute, with 00 pronounced as "hundred" (US military time) |
| 518 |
; P or p AM or PM |
| 519 |
; Q "today", "yesterday" or ABdY |
| 520 |
; (*note: not standard strftime value) |
| 521 |
; q "" (for today), "yesterday", weekday, or ABdY |
| 522 |
; (*note: not standard strftime value) |
| 523 |
; R 24 hour time, including minute |
| 524 |
; |
| 525 |
eastern=America/New_York|'vm-received' Q 'digits/at' IMp |
| 526 |
central=America/Chicago|'vm-received' Q 'digits/at' IMp |
| 527 |
central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' |
| 528 |
military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' |
| 529 |
european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM |
| 530 |
|
| 531 |
|
| 532 |
|
| 533 |
[default] |
| 534 |
; Note: The rest of the system must reference mailboxes defined here as mailbox@default. |
| 535 |
|
| 536 |
1234 => 4242,Example Mailbox,root@localhost |
| 537 |
;4200 => 9855,Mark Spencer,[email protected],[email protected],attach=no|[email protected]|fromstring=MySystem|tz=central|maxmsg=10 |
| 538 |
;4300 => 3456,Ben Rigas,[email protected] |
| 539 |
;4310 => -5432,Sales,[email protected] |
| 540 |
;4069 => 6522,Matt Brooks,[email protected],,|tz=central|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|review=yes|operator=yes|envelope=yes|moveheard=yes|sayduration=yes|saydurationm=1 |
| 541 |
;4073 => 1099,Bianca Paige,[email protected],,delete=1|emailsubject=You have a new voicemail.|emailbody=Click on the attachment to listen.|rip=2010-06-04 |
| 542 |
;4110 => 3443,Rob Flynn,[email protected] |
| 543 |
;4235 => 1234,Jim Holmes,[email protected],,Tz=european |
| 544 |
|
| 545 |
; |
| 546 |
; Aliases allow alternate references to mailboxes. See the "aliasescontext" |
| 547 |
; parameter in the "general" section. |
| 548 |
; |
| 549 |
[myaliases] |
| 550 |
1234@devices => 1234@default |
| 551 |
;6200@devices => 4200@default |
| 552 |
|
| 553 |
; |
| 554 |
; Mailboxes may be organized into multiple contexts for |
| 555 |
; voicemail virtualhosting |
| 556 |
; |
| 557 |
|
| 558 |
[other] |
| 559 |
;The intro can be customized on a per-context basis |
| 560 |
;directoryintro=dir-company2 |
| 561 |
1234 => 5678,Company2 User,root@localhost |
| 562 |
|
| 563 |
; example for our acme compartmentalized company |
| 564 |
; |
| 565 |
; Pete telecommutes from Chicago, so we'll customize timestamps for him. |
| 566 |
; |
| 567 |
;[acme] |
| 568 |
;111 => 7383,Pete,[email protected],,tz=central |
| 569 |
;112 => 6262,Nancy,[email protected] |
| 570 |
; |
| 571 |
|
| 572 |
; --------------------------------------------------------------------------- |
| 573 |
; IMAP user settings and overrides. These are only applicable when Asterisk is |
| 574 |
; compiled with IMAP support. |
| 575 |
; |
| 576 |
; imapuser=username ; The IMAP username of the mailbox to access |
| 577 |
; imappassword=password ; The IMAP password of the user |
| 578 |
; imapvmshareid=xxxx ; A shared mailbox ID to use for the IMAP mailbox |
| 579 |
; login, as opposed to the mailbox dialed |
| 580 |
; imapfolder ; Overrides the global imapfolder setting |
| 581 |
; imapserver ; Overrides the global imapserver setting |
| 582 |
; imapport ; Overrides the global imapport setting |
| 583 |
; imapflags ; Overrides the global imapflags setting |
| 584 |
|
| 585 |
; |
| 586 |
;[imapvm] |
| 587 |
;4324 => 7764,Ellis Redding,[email protected],,imapuser=eredding|imappassword=g3tbusy|imapfolder=notinbox |
| 588 |
;4325 => 2392,Andrew Dufresne,[email protected],,imapuser=adufresne|imappassword=rockh@mmer |