1999-12-05 07:09:27 +00:00
;
; Voicemail Configuration
;
2005-11-23 05:58:41 +00:00
;
; NOTE: Asterisk has to edit this file to change a user's password. This does
2006-09-11 14:41:35 +00:00
; not currently work with the "#include <file>" directive for Asterisk
2007-01-12 19:25:26 +00:00
; configuration files, nor when using realtime static configuration.
; Do not use them with this configuration file.
2005-11-23 05:58:41 +00:00
;
1999-12-05 07:09:27 +00:00
[general]
2007-11-27 16:13:14 +00:00
; Formats for writing Voicemail. Note that when using IMAP storage for
; voicemail, only the first format specified will be used.
2000-01-02 20:59:00 +00:00
;format=g723sf|wav49|wav
2003-05-10 18:43:11 +00:00
format=wav49|gsm|wav
2005-11-11 00:10:44 +00:00
;
; WARNING:
; If you change the list of formats that you record voicemail in
; when you have mailboxes that contain messages, you _MUST_ absolutely
; manually go through those mailboxes and convert/delete/add the
; the message files so that they appear to have been stored using
; your new format list. If you don't do this, very unpleasant
; things may happen to your users while they are retrieving and
; manipulating their voicemail.
;
; In other words: don't change the format list on a production system
; unless you are _VERY_ sure that you know what you are doing and are
; prepared for the consequences.
;
2001-05-10 15:09:24 +00:00
; Who the e-mail notification should appear to come from
serveremail=asterisk
;serveremail=asterisk@linux-support.net
2002-11-20 18:31:26 +00:00
; Should the email contain the voicemail as an attachment
attach=yes
2005-10-04 22:51:59 +00:00
; Maximum number of messages per folder. If not specified, a default value
; (100) is used. Maximum value for this option is 9999.
2005-07-12 02:53:56 +00:00
;maxmsg=100
2004-03-18 23:03:33 +00:00
; Maximum length of a voicemail message in seconds
2006-12-31 04:54:20 +00:00
;maxsecs=180
2005-10-01 01:24:15 +00:00
; Minimum length of a voicemail message in seconds for the message to be kept
; The default is no minimum.
2006-12-31 04:54:20 +00:00
;minsecs=3
2004-03-18 23:03:33 +00:00
; Maximum length of greetings in seconds
2002-11-20 18:31:26 +00:00
;maxgreet=60
2006-09-11 16:41:49 +00:00
; How many milliseconds to skip forward/back when rew/ff in message playback
2003-04-09 02:10:29 +00:00
skipms=3000
2003-05-03 16:09:56 +00:00
; How many seconds of silence before we end the recording
maxsilence=10
2006-09-11 14:41:35 +00:00
; Silence threshold (what we consider silence: the lower, the more sensitive)
2003-05-03 16:09:56 +00:00
silencethreshold=128
2003-05-11 18:58:00 +00:00
; Max number of failed login attempts
maxlogins=3
2006-09-16 23:53:58 +00:00
;
2007-09-18 21:07:08 +00:00
; Move heard messages to the 'Old' folder automagically. Defaults to on.
;moveheard=yes
;
2006-09-16 23:53:58 +00:00
; User context is where entries from users.conf are registered. The
; default value is 'default'
;
;userscontext=default
;
2006-02-10 21:50:56 +00:00
; If you need to have an external program, i.e. /usr/bin/myapp
; called when a voicemail is left, delivered, or your voicemailbox
2007-02-19 15:57:24 +00:00
; is checked, uncomment this.
2004-04-06 21:52:42 +00:00
;externnotify=/usr/bin/myapp
2007-02-19 15:57:24 +00:00
; If you would also like to enable SMDI notification then set smdienable to yes.
; You will also need to make sure smdiport is set to a valid port as specified in
; smdi.conf.
;smdienable=yes
2006-02-10 21:50:56 +00:00
;smdiport=/dev/ttyS0
; If you need to have an external program, i.e. /usr/bin/myapp
; called when a voicemail password is changed, uncomment this:
2006-11-17 21:51:42 +00:00
; Note: If this is set, the password will NOT be changed in voicemail.conf
; If you would like to also change the password in voicemail.conf, use
; the externpassnotify option below instead.
2004-09-03 03:53:48 +00:00
;externpass=/usr/bin/myapp
2006-11-17 21:51:42 +00:00
;externpassnotify=/usr/bin/myapp
2004-04-29 13:50:29 +00:00
; For the directory, you can override the intro file if you want
;directoryintro=dir-intro
2004-05-10 13:27:39 +00:00
; The character set for voicemail messages can be specified here
;charset=ISO-8859-1
2004-09-15 19:54:46 +00:00
; The ADSI feature descriptor number to download to
;adsifdn=0000000F
; The ADSI security lock code
;adsisec=9BDBF7AC
; The ADSI voicemail application version number.
;adsiver=1
2003-06-04 15:02:38 +00:00
; Skip the "[PBX]:" string from the message title
;pbxskip=yes
; Change the From: string
;fromstring=The Asterisk PBX
2004-11-19 05:47:21 +00:00
; Permit finding entries for forward/compose from the directory
;usedirectory=yes
2006-12-04 17:55:38 +00:00
; Voicemail can be stored in a database using the ODBC driver.
; The value of odbcstorage is the database connection configured
; in res_odbc.conf.
;odbcstorage=asterisk
; The default table for ODBC voicemail storage is voicemessages.
;odbctable=voicemessages
2004-03-25 18:11:24 +00:00
;
2005-08-22 22:43:47 +00:00
; Change the from, body and/or subject, variables:
2005-10-04 22:51:59 +00:00
; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM,
; VM_CIDNAME, VM_DATE
2004-03-25 18:11:24 +00:00
;
2005-10-04 22:51:59 +00:00
; Note: The emailbody config row can only be up to 512 characters due to a
; limitation in the Asterisk configuration subsystem.
2005-01-20 05:00:07 +00:00
;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
2005-10-04 22:51:59 +00:00
; The following definition is very close to the default, but the default shows
2006-09-11 16:41:49 +00:00
; just the CIDNAME, if it is not null, otherwise just the CIDNUM, or "an unknown
2005-10-04 22:51:59 +00:00
; caller", if they are both null.
2005-01-20 05:00:07 +00:00
;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
2005-08-22 22:43:47 +00:00
;
; You can also change the Pager From: string, the pager body and/or subject.
; The above defined variables also can be used here
;pagerfromstring=The Asterisk PBX
;pagersubject=New VM
;pagerbody=New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE}
;
2005-10-04 22:51:59 +00:00
; Set the date format on outgoing mails. Valid arguments can be found on the
; strftime(3) man page
2005-07-07 22:56:49 +00:00
;
; Default
emaildateformat=%A, %B %d, %Y at %r
; 24h date format
;emaildateformat=%A, %d %B %Y at %H:%M:%S
2004-01-27 00:37:47 +00:00
;
; You can override the default program to send e-mail if you wish, too
;
;mailcmd=/usr/sbin/sendmail -t
2007-04-28 21:01:44 +00:00
;
;pollmailboxes=no ; If mailboxes are changed anywhere outside of app_voicemail,
; ; then this option must be enabled for MWI to work. This
; ; enables polling mailboxes for changes. Normally, it will
; ; expect that changes are only made when someone called in
; ; to one of the voicemail applications.
; ; Examples of situations that would require this option are
; ; web interfaces to voicemail or an email client in the case
; ; of using IMAP storage.
;
;pollfreq=30 ; If the "pollmailboxes" option is enabled, this option
; ; sets the polling frequency. The default is once every
; ; 30 seconds.
2007-06-27 19:50:21 +00:00
; If using IMAP storage, specify whether voicemail greetings should be stored
; via IMAP. If no, then greetings are stored as if IMAP storage were not enabled
;imapgreetings=no
; If imapgreetings=yes, then specify which folder to store your greetings in. If
; you do not specify a folder, then INBOX will be used
;greetingsfolder=INBOX
2003-08-09 19:33:40 +00:00
;
; Users may be located in different timezones, or may have different
; message announcements for their introductory message when they enter
; the voicemail system. Set the message and the timezone each user
; hears here. Set the user into one of these zones with the tz= attribute
; in the options field of the mailbox. Of course, language substitution
; still applies here so you may have several directory trees that have
; alternate language choices.
;
; Look in /usr/share/zoneinfo/ for names of timezones.
; Look at the manual page for strftime for a quick tutorial on how the
; variable substitution is done on the values below.
;
; Supported values:
2005-10-04 22:51:59 +00:00
; 'filename' filename of a soundfile (single ticks around the filename
; required)
2003-08-10 23:38:35 +00:00
; ${VAR} variable substitution
; A or a Day of week (Saturday, Sunday, ...)
; B or b or h Month name (January, February, ...)
; d or e numeric day of month (first, second, ..., thirty-first)
; Y Year
; I or l Hour, 12 hour clock
; H Hour, 24 hour clock (single digit hours preceded by "oh")
; k Hour, 24 hour clock (single digit hours NOT preceded by "oh")
2005-07-12 02:36:53 +00:00
; M Minute, with 00 pronounced as "o'clock"
; N Minute, with 00 pronounced as "hundred" (US military time)
2003-08-10 23:38:35 +00:00
; P or p AM or PM
2005-10-04 22:51:59 +00:00
; Q "today", "yesterday" or ABdY
; (*note: not standard strftime value)
; q "" (for today), "yesterday", weekday, or ABdY
; (*note: not standard strftime value)
2003-08-10 23:38:35 +00:00
; R 24 hour time, including minute
2003-08-09 19:33:40 +00:00
;
;
2000-01-02 20:59:00 +00:00
;
2003-05-17 00:27:47 +00:00
; Each mailbox is listed in the form <mailbox>=<password>,<name>,<email>,<pager_email>,<options>
2000-01-02 20:59:00 +00:00
; if the e-mail is specified, a message will be sent when a message is
2005-10-04 22:51:59 +00:00
; received, to the given mailbox. If pager is specified, a message will be
; sent there as well. If the password is prefixed by '-', then it is
2006-09-11 16:41:49 +00:00
; considered to be unchangeable.
2000-01-02 20:59:00 +00:00
;
2004-04-28 04:33:16 +00:00
; Advanced options example is extension 4069
2005-10-04 22:51:59 +00:00
; NOTE: All options can be expressed globally in the general section, and
2006-09-11 16:41:49 +00:00
; overridden in the per-mailbox settings, unless listed otherwise.
2004-04-28 04:33:16 +00:00
;
2006-05-30 16:01:50 +00:00
; tz=central ; Timezone from zonemessages below. Irrelevant if envelope=no.
2004-05-20 07:58:15 +00:00
; attach=yes ; Attach the voicemail to the notification email *NOT* the pager email
2006-04-15 23:05:18 +00:00
; attachfmt=wav49 ; Which format to attach to the email. Normally this is the
; first format specified in the format parameter above, but this
; option lets you customize the format sent to particular mailboxes.
; Useful if Windows users want wav49, but Linux users want gsm.
; [per-mailbox only]
2004-05-20 07:58:15 +00:00
; saycid=yes ; Say the caller id information before the message. If not described,
; or set to no, it will be in the envelope
2006-04-06 15:41:37 +00:00
; cidinternalcontexts=intern ; Internal Context for Name Playback instead of
; extension digits when saying caller id.
2004-10-30 20:49:42 +00:00
; sayduration=no ; Turn on/off the duration information before the message. [ON by default]
; saydurationm=2 ; Specify the minimum duration to say. Default is 2 minutes
2007-03-06 23:01:30 +00:00
; dialout=fromvm ; Context to dial out from [option 4 from mailbox's advanced menu].
; If not specified, option 4 will not be listed and dialing out
; from within VoiceMailMain() will not be permitted.
sendvoicemail=yes ; Allow the user to compose and send a voicemail while inside
; VoiceMailMain() [option 5 from mailbox's advanced menu].
; If set to 'no', option 5 will not be listed.
Merged revisions 7265-7266,7268-7275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7265 | oej | 2005-12-01 17:18:14 -0600 (Thu, 01 Dec 2005) | 2 lines
Changing bug report address to the Asterisk issue tracker
........
r7266 | kpfleming | 2005-12-01 17:18:29 -0600 (Thu, 01 Dec 2005) | 3 lines
Makefile 'update' target now supports updating from Subversion repositories (issue #5875)
remove support for 'patches' subdirectory, it's no longer useful
........
r7268 | kpfleming | 2005-12-01 17:34:58 -0600 (Thu, 01 Dec 2005) | 2 lines
ensure channel's scheduling context is freed (issue #5788)
........
r7269 | kpfleming | 2005-12-01 17:49:44 -0600 (Thu, 01 Dec 2005) | 2 lines
don't block waiting for the Festival server forever when it goes away (issue #5882)
........
r7270 | kpfleming | 2005-12-01 18:26:12 -0600 (Thu, 01 Dec 2005) | 2 lines
allow variables to exist on both 'halves' of the Local channel (issue #5810)
........
r7271 | kpfleming | 2005-12-01 18:28:48 -0600 (Thu, 01 Dec 2005) | 2 lines
protect agent_bridgedchannel() from segfaulting when there is no bridged channel (issue #5879)
........
r7272 | kpfleming | 2005-12-01 18:39:00 -0600 (Thu, 01 Dec 2005) | 3 lines
properly handle password changes when mailbox is last line of config file and not followed by a newline (issue #5870)
reformat password changing code to conform to coding guidelines (issue #5870)
........
r7273 | kpfleming | 2005-12-01 18:42:40 -0600 (Thu, 01 Dec 2005) | 2 lines
allow previous context-searching behavior to be used if desired (issue #5899)
........
r7274 | kpfleming | 2005-12-01 18:51:15 -0600 (Thu, 01 Dec 2005) | 2 lines
inherit channel variables into channels created by Page() application (issue #5888)
........
r7275 | oej | 2005-12-01 18:52:13 -0600 (Thu, 01 Dec 2005) | 2 lines
Bug #5907. Improve SIP INFO DTMF debugging output. (1.2 & Trunk)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-02 01:01:11 +00:00
; searchcontexts=yes ; Current default behavior is to search only the default context
; if one is not specified. The older behavior was to search all contexts.
; This option restores the old behavior [DEFAULT=no]
2004-05-20 07:58:15 +00:00
; callback=fromvm ; Context to call back from
; if not listed, calling the sender back will not be permitted
; review=yes ; Allow sender to review/rerecord their message before saving it [OFF by default
; operator=yes ; Allow sender to hit 0 before/after/during leaving a voicemail to
; reach an operator [OFF by default]
; envelope=no ; Turn on/off envelope playback before message playback. [ON by default]
; This does NOT affect option 3,3 from the advanced options menu
2004-06-23 18:00:50 +00:00
; delete=yes ; After notification, the voicemail is deleted from the server. [per-mailbox only]
2006-04-06 15:41:37 +00:00
; This is intended for use with users who wish to receive their
; voicemail ONLY by email. Note: "deletevoicemail" is provided as an
; equivalent option for Realtime configuration.
2006-08-08 15:37:53 +00:00
; volgain=0.0 ; Emails bearing the voicemail may arrive in a volume too
; quiet to be heard. This parameter allows you to specify how
; much gain to add to the message when sending a voicemail.
2006-08-08 15:53:51 +00:00
; NOTE: sox must be installed for this option to work.
2004-07-09 07:39:39 +00:00
; nextaftercmd=yes ; Skips to the next message after hitting 7 or 9 to delete/save current message.
; [global option only at this time]
2004-10-02 03:01:20 +00:00
; forcename=yes ; Forces a new user to record their name. A new user is
; determined by the password being the same as
; the mailbox number. The default is "no".
; forcegreetings=no ; This is the same as forcename, except for recording
2005-04-06 18:55:33 +00:00
; greetings. The default is "no".
; hidefromdir=yes ; Hide this mailbox from the directory produced by app_directory
; The default is "no".
2006-10-27 16:47:44 +00:00
; tempgreetwarn=yes ; Remind the user that their temporary greeting is set
2008-04-09 16:16:44 +00:00
;messagewrap=no ; Enable next/last message to wrap around to
; first (from last) and last (from first) message
; The default is "no".
2006-10-27 16:47:44 +00:00
; vm-password=custom_sound
; Customize which sound file is used instead of the default
; prompt that says: "password"
; vm-newpassword=custom_sound
; Customize which sound file is used instead of the default
; prompt that says: "Please enter your new password followed by
; the pound key."
; vm-passchanged=custom_sound
; Customize which sound file is used instead of the default
; prompt that says: "Your password has been changed."
; vm-reenterpassword=custom_sound
; Customize which sound file is used instead of the default
; prompt that says: "Please re-enter your password followed by
; the pound key"
; vm-mismatch=custom_sound
; Customize which sound file is used instead of the default
; prompt that says: "The passwords you entered and re-entered
; did not match. Please try again."
2007-06-27 22:47:08 +00:00
; listen-control-forward-key=# ; Customize the key that fast-forwards message playback
; listen-control-reverse-key=* ; Customize the key that rewinds message playback
; listen-control-pause-key=0 ; Customize the key that pauses/unpauses message playback
; listen-control-restart-key=2 ; Customize the key that restarts message playback
; listen-control-stop-key=13456789 ; Customize the keys that interrupt message playback, probably all keys not set above
2008-01-14 22:19:40 +00:00
; Maximum number of messages allowed in the 'Deleted' folder. If set to 0
; or no then no deleted messages will be moved. If non-zero (max 9999) then up
; to this number of messages will be automagically saved when they are
; 'deleted' on a FIFO basis.
; defaults to being off
; backupdeleted=100
2004-04-28 04:33:16 +00:00
2006-05-30 16:01:50 +00:00
[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours'
military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM
1999-12-05 07:09:27 +00:00
[default]
2006-05-30 16:01:50 +00:00
; Define maximum number of messages per folder for a particular context.
2005-07-12 02:53:56 +00:00
;maxmsg=50
2001-04-14 20:08:46 +00:00
1234 => 4242,Example Mailbox,root@localhost
2005-07-12 02:53:56 +00:00
;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10
2001-04-14 20:08:46 +00:00
;4300 => 3456,Ben Rigas,ben@american-computer.net
2004-09-06 06:19:17 +00:00
;4310 => -5432,Sales,sales@marko.net
2007-09-18 21:07:08 +00:00
;4069 => 6522,Matt Brooks,matt@marko.net,,|tz=central|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|review=yes|operator=yes|envelope=yes|moveheard=yes|sayduration=yes|saydurationm=1
2004-06-23 18:00:50 +00:00
;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1
2001-04-14 20:08:46 +00:00
;4110 => 3443,Rob Flynn,rflynn@blueridge.net
2006-02-09 15:25:34 +00:00
;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european
2004-10-02 03:01:20 +00:00
2003-05-10 16:10:07 +00:00
;
; Mailboxes may be organized into multiple contexts for
; voicemail virtualhosting
;
[other]
2004-04-29 13:53:38 +00:00
;The intro can be customized on a per-context basis
;directoryintro=dir-company2
2003-05-10 16:10:07 +00:00
1234 => 5678,Company2 User,root@localhost
2008-03-25 17:46:34 +00:00
; example for our acme compartmentalized company
;
; Pete telecommutes from Chicago, so we'll customize timestamps for him.
;
;[acme]
;tz=eastern
;111 => 7383,Pete,pete@acme-widgets.com,,tz=central
;112 => 6262,Nancy,nancy@acme-widgets.com
;