michael@202: ; michael@202: ; Voicemail Configuration michael@202: ; michael@202: michael@202: ; michael@202: ; NOTE: Asterisk has to edit this file to change a user's password. This does michael@202: ; not currently work with the "#include " directive for Asterisk michael@202: ; configuration files, nor when using realtime static configuration. michael@202: ; Do not use them with this configuration file. michael@202: ; michael@202: michael@202: ;[general] michael@202: ; Formats for writing Voicemail. Note that when using IMAP storage for michael@202: ; voicemail, only the first format specified will be used. michael@202: ;format=g723sf|wav49|wav michael@202: ;format=wav49|gsm|wav michael@202: ; michael@202: ; WARNING: michael@202: ; If you change the list of formats that you record voicemail in michael@202: ; when you have mailboxes that contain messages, you _MUST_ absolutely michael@202: ; manually go through those mailboxes and convert/delete/add the michael@202: ; the message files so that they appear to have been stored using michael@202: ; your new format list. If you don't do this, very unpleasant michael@202: ; things may happen to your users while they are retrieving and michael@202: ; manipulating their voicemail. michael@202: ; michael@202: ; In other words: don't change the format list on a production system michael@202: ; unless you are _VERY_ sure that you know what you are doing and are michael@202: ; prepared for the consequences. michael@202: ; michael@202: ; Who the e-mail notification should appear to come from michael@202: ;serveremail=asterisk michael@202: ;serveremail=asterisk@linux-support.net michael@202: ; Should the email contain the voicemail as an attachment michael@202: ;attach=yes michael@202: ; Maximum number of messages per folder. If not specified, a default value michael@202: ; (100) is used. Maximum value for this option is 9999. michael@202: ;maxmsg=100 michael@202: ; Maximum length of a voicemail message in seconds michael@202: ;maxmessage=180 michael@202: ; Minimum length of a voicemail message in seconds for the message to be kept michael@202: ; The default is no minimum. michael@202: ;minmessage=3 michael@202: ; Maximum length of greetings in seconds michael@202: ;maxgreet=60 michael@202: ; How many milliseconds to skip forward/back when rew/ff in message playback michael@202: ;skipms=3000 michael@202: ; How many seconds of silence before we end the recording michael@202: ;maxsilence=10 michael@202: ; Silence threshold (what we consider silence: the lower, the more sensitive) michael@202: ;silencethreshold=128 michael@202: ; Max number of failed login attempts michael@202: ;maxlogins=3 michael@202: ; michael@202: ; User context is where entries from users.conf are registered. The michael@202: ; default value is 'default' michael@202: ; michael@202: ;userscontext=default michael@202: ; michael@202: ; If you need to have an external program, i.e. /usr/bin/myapp michael@202: ; called when a voicemail is left, delivered, or your voicemailbox michael@202: ; is checked, uncomment this. It can also be set to 'smdi' to use michael@202: ; smdi for external notification. If it is 'smdi', smdiport should michael@202: ; be set to a valid port as specified in smdi.conf. michael@202: michael@202: ;externnotify=/usr/bin/myapp michael@202: ;smdiport=/dev/ttyS0 michael@202: michael@202: ; If you need to have an external program, i.e. /usr/bin/myapp michael@202: ; called when a voicemail password is changed, uncomment this: michael@202: ;externpass=/usr/bin/myapp michael@202: ; For the directory, you can override the intro file if you want michael@202: ;directoryintro=dir-intro michael@202: ; The character set for voicemail messages can be specified here michael@202: ;charset=ISO-8859-1 michael@202: ; The ADSI feature descriptor number to download to michael@202: ;adsifdn=0000000F michael@202: ; The ADSI security lock code michael@202: ;adsisec=9BDBF7AC michael@202: ; The ADSI voicemail application version number. michael@202: ;adsiver=1 michael@202: ; Skip the "[PBX]:" string from the message title michael@202: ;pbxskip=yes michael@202: ; Change the From: string michael@202: ;fromstring=The Asterisk PBX michael@202: ; Permit finding entries for forward/compose from the directory michael@202: ;usedirectory=yes michael@202: ; Voicemail can be stored in a database using the ODBC driver. michael@202: ; The value of odbcstorage is the database connection configured michael@202: ; in res_odbc.conf. michael@202: ;odbcstorage=asterisk michael@202: ; The default table for ODBC voicemail storage is voicemessages. michael@202: ;odbctable=voicemessages michael@202: ; michael@202: ; Change the from, body and/or subject, variables: michael@202: ; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM, michael@202: ; VM_CIDNAME, VM_DATE michael@202: ; michael@202: ; Note: The emailbody config row can only be up to 512 characters due to a michael@202: ; limitation in the Asterisk configuration subsystem. michael@202: ;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX} michael@202: ; The following definition is very close to the default, but the default shows michael@202: ; just the CIDNAME, if it is not null, otherwise just the CIDNUM, or "an unknown michael@202: ; caller", if they are both null. michael@202: ;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 michael@202: ; michael@202: ; You can also change the Pager From: string, the pager body and/or subject. michael@202: ; The above defined variables also can be used here michael@202: ;pagerfromstring=The Asterisk PBX michael@202: ;pagersubject=New VM michael@202: ;pagerbody=New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE} michael@202: ; michael@202: ; Set the date format on outgoing mails. Valid arguments can be found on the michael@202: ; strftime(3) man page michael@202: ; michael@202: ; Default michael@202: ;emaildateformat=%A, %B %d, %Y at %r michael@202: ; 24h date format michael@202: ;emaildateformat=%A, %d %B %Y at %H:%M:%S michael@202: ; michael@202: ; You can override the default program to send e-mail if you wish, too michael@202: ; michael@202: ;mailcmd=/usr/sbin/sendmail -t michael@202: ; michael@202: ; Users may be located in different timezones, or may have different michael@202: ; message announcements for their introductory message when they enter michael@202: ; the voicemail system. Set the message and the timezone each user michael@202: ; hears here. Set the user into one of these zones with the tz= attribute michael@202: ; in the options field of the mailbox. Of course, language substitution michael@202: ; still applies here so you may have several directory trees that have michael@202: ; alternate language choices. michael@202: ; michael@202: ; Look in /usr/share/zoneinfo/ for names of timezones. michael@202: ; Look at the manual page for strftime for a quick tutorial on how the michael@202: ; variable substitution is done on the values below. michael@202: ; michael@202: ; Supported values: michael@202: ; 'filename' filename of a soundfile (single ticks around the filename michael@202: ; required) michael@202: ; ${VAR} variable substitution michael@202: ; A or a Day of week (Saturday, Sunday, ...) michael@202: ; B or b or h Month name (January, February, ...) michael@202: ; d or e numeric day of month (first, second, ..., thirty-first) michael@202: ; Y Year michael@202: ; I or l Hour, 12 hour clock michael@202: ; H Hour, 24 hour clock (single digit hours preceded by "oh") michael@202: ; k Hour, 24 hour clock (single digit hours NOT preceded by "oh") michael@202: ; M Minute, with 00 pronounced as "o'clock" michael@202: ; N Minute, with 00 pronounced as "hundred" (US military time) michael@202: ; P or p AM or PM michael@202: ; Q "today", "yesterday" or ABdY michael@202: ; (*note: not standard strftime value) michael@202: ; q "" (for today), "yesterday", weekday, or ABdY michael@202: ; (*note: not standard strftime value) michael@202: ; R 24 hour time, including minute michael@202: ; michael@202: ; michael@202: ; michael@202: ; Each mailbox is listed in the form =,,,, michael@202: ; if the e-mail is specified, a message will be sent when a message is michael@202: ; received, to the given mailbox. If pager is specified, a message will be michael@202: ; sent there as well. If the password is prefixed by '-', then it is michael@202: ; considered to be unchangeable. michael@202: ; michael@202: ; Advanced options example is extension 4069 michael@202: ; NOTE: All options can be expressed globally in the general section, and michael@202: ; overridden in the per-mailbox settings, unless listed otherwise. michael@202: ; michael@202: ; tz=central ; Timezone from zonemessages below. Irrelevant if envelope=no. michael@202: ; attach=yes ; Attach the voicemail to the notification email *NOT* the pager email michael@202: ; attachfmt=wav49 ; Which format to attach to the email. Normally this is the michael@202: ; first format specified in the format parameter above, but this michael@202: ; option lets you customize the format sent to particular mailboxes. michael@202: ; Useful if Windows users want wav49, but Linux users want gsm. michael@202: ; [per-mailbox only] michael@202: ; saycid=yes ; Say the caller id information before the message. If not described, michael@202: ; or set to no, it will be in the envelope michael@202: ; cidinternalcontexts=intern ; Internal Context for Name Playback instead of michael@202: ; extension digits when saying caller id. michael@202: ; sayduration=no ; Turn on/off the duration information before the message. [ON by default] michael@202: ; saydurationm=2 ; Specify the minimum duration to say. Default is 2 minutes michael@202: ; dialout=fromvm ; Context to dial out from [option 4 from mailbox's advanced menu]. michael@202: ; If not specified, option 4 will not be listed and dialing out michael@202: ; from within VoiceMailMain() will not be permitted. michael@202: ;sendvoicemail=yes ; Allow the user to compose and send a voicemail while inside michael@202: ; VoiceMailMain() [option 5 from mailbox's advanced menu]. michael@202: ; If set to 'no', option 5 will not be listed. michael@202: ; searchcontexts=yes ; Current default behavior is to search only the default context michael@202: ; if one is not specified. The older behavior was to search all contexts. michael@202: ; This option restores the old behavior [DEFAULT=no] michael@202: ; callback=fromvm ; Context to call back from michael@202: ; if not listed, calling the sender back will not be permitted michael@202: ; review=yes ; Allow sender to review/rerecord their message before saving it [OFF by default michael@202: ; operator=yes ; Allow sender to hit 0 before/after/during leaving a voicemail to michael@202: ; reach an operator [OFF by default] michael@202: ; envelope=no ; Turn on/off envelope playback before message playback. [ON by default] michael@202: ; This does NOT affect option 3,3 from the advanced options menu michael@202: ; delete=yes ; After notification, the voicemail is deleted from the server. [per-mailbox only] michael@202: ; This is intended for use with users who wish to receive their michael@202: ; voicemail ONLY by email. Note: "deletevoicemail" is provided as an michael@202: ; equivalent option for Realtime configuration. michael@202: ; volgain=0.0 ; Emails bearing the voicemail may arrive in a volume too michael@202: ; quiet to be heard. This parameter allows you to specify how michael@202: ; much gain to add to the message when sending a voicemail. michael@202: ; NOTE: sox must be installed for this option to work. michael@202: ; nextaftercmd=yes ; Skips to the next message after hitting 7 or 9 to delete/save current message. michael@202: ; [global option only at this time] michael@202: ; forcename=yes ; Forces a new user to record their name. A new user is michael@202: ; determined by the password being the same as michael@202: ; the mailbox number. The default is "no". michael@202: ; forcegreetings=no ; This is the same as forcename, except for recording michael@202: ; greetings. The default is "no". michael@202: ; hidefromdir=yes ; Hide this mailbox from the directory produced by app_directory michael@202: ; The default is "no". michael@202: ;tempgreetwarn=yes ; Remind the user that their temporary greeting is set michael@202: michael@202: ;[zonemessages] michael@202: ;eastern=America/New_York|'vm-received' Q 'digits/at' IMp michael@202: ;central=America/Chicago|'vm-received' Q 'digits/at' IMp michael@202: ;central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' michael@202: ;military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' michael@202: ;european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM michael@202: michael@202: michael@202: michael@202: ;[default] michael@202: ; Define maximum number of messages per folder for a particular context. michael@202: ;maxmsg=50 michael@202: michael@202: ;1234 => 4242,Example Mailbox,root@localhost michael@202: ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10 michael@202: ;4300 => 3456,Ben Rigas,ben@american-computer.net michael@202: ;4310 => -5432,Sales,sales@marko.net michael@202: ;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 michael@202: ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1 michael@202: ;4110 => 3443,Rob Flynn,rflynn@blueridge.net michael@202: ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european michael@202: michael@202: michael@202: ; michael@202: ; Mailboxes may be organized into multiple contexts for michael@202: ; voicemail virtualhosting michael@202: ; michael@202: michael@202: ;[other] michael@202: ;The intro can be customized on a per-context basis michael@202: ;directoryintro=dir-company2 michael@202: ;1234 => 5678,Company2 User,root@localhost