1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/asterisk/voicemail.conf Mon Apr 27 12:19:05 2009 +0200 1.3 @@ -0,0 +1,248 @@ 1.4 +; 1.5 +; Voicemail Configuration 1.6 +; 1.7 + 1.8 +; 1.9 +; NOTE: Asterisk has to edit this file to change a user's password. This does 1.10 +; not currently work with the "#include <file>" directive for Asterisk 1.11 +; configuration files, nor when using realtime static configuration. 1.12 +; Do not use them with this configuration file. 1.13 +; 1.14 + 1.15 +;[general] 1.16 +; Formats for writing Voicemail. Note that when using IMAP storage for 1.17 +; voicemail, only the first format specified will be used. 1.18 +;format=g723sf|wav49|wav 1.19 +;format=wav49|gsm|wav 1.20 +; 1.21 +; WARNING: 1.22 +; If you change the list of formats that you record voicemail in 1.23 +; when you have mailboxes that contain messages, you _MUST_ absolutely 1.24 +; manually go through those mailboxes and convert/delete/add the 1.25 +; the message files so that they appear to have been stored using 1.26 +; your new format list. If you don't do this, very unpleasant 1.27 +; things may happen to your users while they are retrieving and 1.28 +; manipulating their voicemail. 1.29 +; 1.30 +; In other words: don't change the format list on a production system 1.31 +; unless you are _VERY_ sure that you know what you are doing and are 1.32 +; prepared for the consequences. 1.33 +; 1.34 +; Who the e-mail notification should appear to come from 1.35 +;serveremail=asterisk 1.36 +;serveremail=asterisk@linux-support.net 1.37 +; Should the email contain the voicemail as an attachment 1.38 +;attach=yes 1.39 +; Maximum number of messages per folder. If not specified, a default value 1.40 +; (100) is used. Maximum value for this option is 9999. 1.41 +;maxmsg=100 1.42 +; Maximum length of a voicemail message in seconds 1.43 +;maxmessage=180 1.44 +; Minimum length of a voicemail message in seconds for the message to be kept 1.45 +; The default is no minimum. 1.46 +;minmessage=3 1.47 +; Maximum length of greetings in seconds 1.48 +;maxgreet=60 1.49 +; How many milliseconds to skip forward/back when rew/ff in message playback 1.50 +;skipms=3000 1.51 +; How many seconds of silence before we end the recording 1.52 +;maxsilence=10 1.53 +; Silence threshold (what we consider silence: the lower, the more sensitive) 1.54 +;silencethreshold=128 1.55 +; Max number of failed login attempts 1.56 +;maxlogins=3 1.57 +; 1.58 +; User context is where entries from users.conf are registered. The 1.59 +; default value is 'default' 1.60 +; 1.61 +;userscontext=default 1.62 +; 1.63 +; If you need to have an external program, i.e. /usr/bin/myapp 1.64 +; called when a voicemail is left, delivered, or your voicemailbox 1.65 +; is checked, uncomment this. It can also be set to 'smdi' to use 1.66 +; smdi for external notification. If it is 'smdi', smdiport should 1.67 +; be set to a valid port as specified in smdi.conf. 1.68 + 1.69 +;externnotify=/usr/bin/myapp 1.70 +;smdiport=/dev/ttyS0 1.71 + 1.72 +; If you need to have an external program, i.e. /usr/bin/myapp 1.73 +; called when a voicemail password is changed, uncomment this: 1.74 +;externpass=/usr/bin/myapp 1.75 +; For the directory, you can override the intro file if you want 1.76 +;directoryintro=dir-intro 1.77 +; The character set for voicemail messages can be specified here 1.78 +;charset=ISO-8859-1 1.79 +; The ADSI feature descriptor number to download to 1.80 +;adsifdn=0000000F 1.81 +; The ADSI security lock code 1.82 +;adsisec=9BDBF7AC 1.83 +; The ADSI voicemail application version number. 1.84 +;adsiver=1 1.85 +; Skip the "[PBX]:" string from the message title 1.86 +;pbxskip=yes 1.87 +; Change the From: string 1.88 +;fromstring=The Asterisk PBX 1.89 +; Permit finding entries for forward/compose from the directory 1.90 +;usedirectory=yes 1.91 +; Voicemail can be stored in a database using the ODBC driver. 1.92 +; The value of odbcstorage is the database connection configured 1.93 +; in res_odbc.conf. 1.94 +;odbcstorage=asterisk 1.95 +; The default table for ODBC voicemail storage is voicemessages. 1.96 +;odbctable=voicemessages 1.97 +; 1.98 +; Change the from, body and/or subject, variables: 1.99 +; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM, 1.100 +; VM_CIDNAME, VM_DATE 1.101 +; 1.102 +; Note: The emailbody config row can only be up to 512 characters due to a 1.103 +; limitation in the Asterisk configuration subsystem. 1.104 +;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX} 1.105 +; The following definition is very close to the default, but the default shows 1.106 +; just the CIDNAME, if it is not null, otherwise just the CIDNUM, or "an unknown 1.107 +; caller", if they are both null. 1.108 +;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 1.109 +; 1.110 +; You can also change the Pager From: string, the pager body and/or subject. 1.111 +; The above defined variables also can be used here 1.112 +;pagerfromstring=The Asterisk PBX 1.113 +;pagersubject=New VM 1.114 +;pagerbody=New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE} 1.115 +; 1.116 +; Set the date format on outgoing mails. Valid arguments can be found on the 1.117 +; strftime(3) man page 1.118 +; 1.119 +; Default 1.120 +;emaildateformat=%A, %B %d, %Y at %r 1.121 +; 24h date format 1.122 +;emaildateformat=%A, %d %B %Y at %H:%M:%S 1.123 +; 1.124 +; You can override the default program to send e-mail if you wish, too 1.125 +; 1.126 +;mailcmd=/usr/sbin/sendmail -t 1.127 +; 1.128 +; Users may be located in different timezones, or may have different 1.129 +; message announcements for their introductory message when they enter 1.130 +; the voicemail system. Set the message and the timezone each user 1.131 +; hears here. Set the user into one of these zones with the tz= attribute 1.132 +; in the options field of the mailbox. Of course, language substitution 1.133 +; still applies here so you may have several directory trees that have 1.134 +; alternate language choices. 1.135 +; 1.136 +; Look in /usr/share/zoneinfo/ for names of timezones. 1.137 +; Look at the manual page for strftime for a quick tutorial on how the 1.138 +; variable substitution is done on the values below. 1.139 +; 1.140 +; Supported values: 1.141 +; 'filename' filename of a soundfile (single ticks around the filename 1.142 +; required) 1.143 +; ${VAR} variable substitution 1.144 +; A or a Day of week (Saturday, Sunday, ...) 1.145 +; B or b or h Month name (January, February, ...) 1.146 +; d or e numeric day of month (first, second, ..., thirty-first) 1.147 +; Y Year 1.148 +; I or l Hour, 12 hour clock 1.149 +; H Hour, 24 hour clock (single digit hours preceded by "oh") 1.150 +; k Hour, 24 hour clock (single digit hours NOT preceded by "oh") 1.151 +; M Minute, with 00 pronounced as "o'clock" 1.152 +; N Minute, with 00 pronounced as "hundred" (US military time) 1.153 +; P or p AM or PM 1.154 +; Q "today", "yesterday" or ABdY 1.155 +; (*note: not standard strftime value) 1.156 +; q "" (for today), "yesterday", weekday, or ABdY 1.157 +; (*note: not standard strftime value) 1.158 +; R 24 hour time, including minute 1.159 +; 1.160 +; 1.161 +; 1.162 +; Each mailbox is listed in the form <mailbox>=<password>,<name>,<email>,<pager_email>,<options> 1.163 +; if the e-mail is specified, a message will be sent when a message is 1.164 +; received, to the given mailbox. If pager is specified, a message will be 1.165 +; sent there as well. If the password is prefixed by '-', then it is 1.166 +; considered to be unchangeable. 1.167 +; 1.168 +; Advanced options example is extension 4069 1.169 +; NOTE: All options can be expressed globally in the general section, and 1.170 +; overridden in the per-mailbox settings, unless listed otherwise. 1.171 +; 1.172 +; tz=central ; Timezone from zonemessages below. Irrelevant if envelope=no. 1.173 +; attach=yes ; Attach the voicemail to the notification email *NOT* the pager email 1.174 +; attachfmt=wav49 ; Which format to attach to the email. Normally this is the 1.175 + ; first format specified in the format parameter above, but this 1.176 + ; option lets you customize the format sent to particular mailboxes. 1.177 + ; Useful if Windows users want wav49, but Linux users want gsm. 1.178 + ; [per-mailbox only] 1.179 +; saycid=yes ; Say the caller id information before the message. If not described, 1.180 + ; or set to no, it will be in the envelope 1.181 +; cidinternalcontexts=intern ; Internal Context for Name Playback instead of 1.182 + ; extension digits when saying caller id. 1.183 +; sayduration=no ; Turn on/off the duration information before the message. [ON by default] 1.184 +; saydurationm=2 ; Specify the minimum duration to say. Default is 2 minutes 1.185 +; dialout=fromvm ; Context to dial out from [option 4 from mailbox's advanced menu]. 1.186 + ; If not specified, option 4 will not be listed and dialing out 1.187 + ; from within VoiceMailMain() will not be permitted. 1.188 +;sendvoicemail=yes ; Allow the user to compose and send a voicemail while inside 1.189 + ; VoiceMailMain() [option 5 from mailbox's advanced menu]. 1.190 + ; If set to 'no', option 5 will not be listed. 1.191 +; searchcontexts=yes ; Current default behavior is to search only the default context 1.192 + ; if one is not specified. The older behavior was to search all contexts. 1.193 + ; This option restores the old behavior [DEFAULT=no] 1.194 +; callback=fromvm ; Context to call back from 1.195 + ; if not listed, calling the sender back will not be permitted 1.196 +; review=yes ; Allow sender to review/rerecord their message before saving it [OFF by default 1.197 +; operator=yes ; Allow sender to hit 0 before/after/during leaving a voicemail to 1.198 + ; reach an operator [OFF by default] 1.199 +; envelope=no ; Turn on/off envelope playback before message playback. [ON by default] 1.200 + ; This does NOT affect option 3,3 from the advanced options menu 1.201 +; delete=yes ; After notification, the voicemail is deleted from the server. [per-mailbox only] 1.202 + ; This is intended for use with users who wish to receive their 1.203 + ; voicemail ONLY by email. Note: "deletevoicemail" is provided as an 1.204 + ; equivalent option for Realtime configuration. 1.205 +; volgain=0.0 ; Emails bearing the voicemail may arrive in a volume too 1.206 + ; quiet to be heard. This parameter allows you to specify how 1.207 + ; much gain to add to the message when sending a voicemail. 1.208 + ; NOTE: sox must be installed for this option to work. 1.209 +; nextaftercmd=yes ; Skips to the next message after hitting 7 or 9 to delete/save current message. 1.210 + ; [global option only at this time] 1.211 +; forcename=yes ; Forces a new user to record their name. A new user is 1.212 + ; determined by the password being the same as 1.213 + ; the mailbox number. The default is "no". 1.214 +; forcegreetings=no ; This is the same as forcename, except for recording 1.215 + ; greetings. The default is "no". 1.216 +; hidefromdir=yes ; Hide this mailbox from the directory produced by app_directory 1.217 + ; The default is "no". 1.218 +;tempgreetwarn=yes ; Remind the user that their temporary greeting is set 1.219 + 1.220 +;[zonemessages] 1.221 +;eastern=America/New_York|'vm-received' Q 'digits/at' IMp 1.222 +;central=America/Chicago|'vm-received' Q 'digits/at' IMp 1.223 +;central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' 1.224 +;military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' 1.225 +;european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM 1.226 + 1.227 + 1.228 + 1.229 +;[default] 1.230 +; Define maximum number of messages per folder for a particular context. 1.231 +;maxmsg=50 1.232 + 1.233 +;1234 => 4242,Example Mailbox,root@localhost 1.234 +;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10 1.235 +;4300 => 3456,Ben Rigas,ben@american-computer.net 1.236 +;4310 => -5432,Sales,sales@marko.net 1.237 +;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 1.238 +;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1 1.239 +;4110 => 3443,Rob Flynn,rflynn@blueridge.net 1.240 +;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european 1.241 + 1.242 + 1.243 +; 1.244 +; Mailboxes may be organized into multiple contexts for 1.245 +; voicemail virtualhosting 1.246 +; 1.247 + 1.248 +;[other] 1.249 +;The intro can be customized on a per-context basis 1.250 +;directoryintro=dir-company2 1.251 +;1234 => 5678,Company2 User,root@localhost