Commit | Line | Data |
---|---|---|
b2e905a6 TN |
1 | ; |
2 | ; Voicemail Configuration | |
3 | ; | |
4 | ||
5 | ; | |
6 | ; NOTE: Asterisk has to edit this file to change a user's password. This does | |
7 | ; not currently work with the "#include <file>" directive for Asterisk | |
8 | ; configuration files, nor when using realtime static configuration. | |
9 | ; Do not use them with this configuration file. | |
10 | ; | |
11 | ||
12 | [general] | |
13 | ; Formats for writing Voicemail. Note that when using IMAP storage for | |
14 | ; voicemail, only the first format specified will be used. | |
15 | ;format=g723sf|wav49|wav | |
16 | format=gsm | |
17 | ; | |
18 | ; WARNING: | |
19 | ; If you change the list of formats that you record voicemail in | |
20 | ; when you have mailboxes that contain messages, you _MUST_ absolutely | |
21 | ; manually go through those mailboxes and convert/delete/add the | |
22 | ; the message files so that they appear to have been stored using | |
23 | ; your new format list. If you don't do this, very unpleasant | |
24 | ; things may happen to your users while they are retrieving and | |
25 | ; manipulating their voicemail. | |
26 | ; | |
27 | ; In other words: don't change the format list on a production system | |
28 | ; unless you are _VERY_ sure that you know what you are doing and are | |
29 | ; prepared for the consequences. | |
30 | ; | |
31 | ; Who the e-mail notification should appear to come from | |
32 | serveremail=assistance-informatique@auf.org | |
33 | ;serveremail=asterisk@linux-support.net | |
34 | ; Should the email contain the voicemail as an attachment | |
35 | attach=no | |
36 | ; Maximum number of messages per folder. If not specified, a default value | |
37 | ; (100) is used. Maximum value for this option is 9999. | |
38 | maxmsg=100 | |
39 | ; Maximum length of a voicemail message in seconds | |
40 | maxmessage=240 | |
41 | ; Minimum length of a voicemail message in seconds for the message to be kept | |
42 | ; The default is no minimum. | |
43 | minmessage=3 | |
44 | ; Maximum length of greetings in seconds | |
45 | maxgreet=120 | |
46 | ; How many milliseconds to skip forward/back when rew/ff in message playback | |
47 | skipms=3000 | |
48 | ; How many seconds of silence before we end the recording | |
49 | maxsilence=10 | |
50 | ; Silence threshold (what we consider silence: the lower, the more sensitive) | |
51 | silencethreshold=128 | |
52 | ; Max number of failed login attempts | |
53 | maxlogins=3 | |
54 | ; | |
55 | ; User context is where entries from users.conf are registered. The | |
56 | ; default value is 'default' | |
57 | ; | |
58 | ;userscontext=default | |
59 | ; | |
60 | ; If you need to have an external program, i.e. /usr/bin/myapp | |
61 | ; called when a voicemail is left, delivered, or your voicemailbox | |
62 | ; is checked, uncomment this. It can also be set to 'smdi' to use | |
63 | ; smdi for external notification. If it is 'smdi', smdiport should | |
64 | ; be set to a valid port as specified in smdi.conf. | |
65 | ||
66 | ;externnotify=/usr/bin/myapp | |
67 | ;smdiport=/dev/ttyS0 | |
68 | ||
69 | ; If you need to have an external program, i.e. /usr/bin/myapp | |
70 | ; called when a voicemail password is changed, uncomment this: | |
71 | ;externpass=/usr/bin/myapp | |
72 | ; For the directory, you can override the intro file if you want | |
73 | ;directoryintro=dir-intro | |
74 | ; The character set for voicemail messages can be specified here | |
75 | ;charset=ISO-8859-1 | |
76 | charset=utf-8 | |
77 | ; The ADSI feature descriptor number to download to | |
78 | ;adsifdn=0000000F | |
79 | ; The ADSI security lock code | |
80 | ;adsisec=9BDBF7AC | |
81 | ; The ADSI voicemail application version number. | |
82 | ;adsiver=1 | |
83 | ; Skip the "[PBX]:" string from the message title | |
84 | pbxskip=yes | |
85 | ; Change the From: string | |
86 | fromstring=Systeme VoIP | |
87 | ; Permit finding entries for forward/compose from the directory | |
88 | ;usedirectory=yes | |
89 | ; Voicemail can be stored in a database using the ODBC driver. | |
90 | ; The value of odbcstorage is the database connection configured | |
91 | ; in res_odbc.conf. | |
92 | ;odbcstorage=asterisk | |
93 | ; The default table for ODBC voicemail storage is voicemessages. | |
94 | ;odbctable=voicemessages | |
95 | ; | |
96 | ; Change the from, body and/or subject, variables: | |
97 | ; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_CIDNUM, | |
98 | ; VM_CIDNAME, VM_DATE | |
99 | ; | |
100 | ; Note: The emailbody config row can only be up to 512 characters due to a | |
101 | ; limitation in the Asterisk configuration subsystem. | |
102 | ;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX} | |
103 | emailsubject=[BoiteVocale ${VM_MAILBOX}] Nouveau message ${VM_MSGNUM} dans la boite vocale ${VM_MAILBOX} | |
104 | ||
105 | ; The following definition is very close to the default, but the default shows | |
106 | ; just the CIDNAME, if it is not null, otherwise just the CIDNUM, or "an unknown | |
107 | ; caller", if they are both null. | |
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 | |
109 | ||
110 | emailbody=\nCher-ère ${VM_NAME},\n\nNous vous informons qu'un message vient d'être ajouté dans\nvotre messagerie vocale ${VM_MAILBOX}.\n\n\tExpéditeur : ${VM_CALLERID} (${VM_CIDNUM})\n\tDate : ${VM_DATE}\n\tDurée : ${VM_DUR}\n\tNuméro du message : ${VM_MSGNUM}\n\nPour consulter votre messagerie vocale, composez *66\n\n--\nSystème Voix-sur-IP de l'AUF <assistance-informatique@auf.org>\n | |
111 | ||
112 | ; | |
113 | ; You can also change the Pager From: string, the pager body and/or subject. | |
114 | ; The above defined variables also can be used here | |
115 | ;pagerfromstring=The Asterisk PBX | |
116 | ;pagersubject=New VM | |
117 | ;pagerbody=New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE} | |
118 | ; | |
119 | ; Set the date format on outgoing mails. Valid arguments can be found on the | |
120 | ; strftime(3) man page | |
121 | ; | |
122 | ; Default | |
123 | ;emaildateformat=%A, %B %d, %Y at %r | |
124 | ; 24h date format | |
125 | ;emaildateformat=%A, %d %B %Y at %H:%M:%S | |
126 | emaildateformat=le %d %B %Y à %H:%M:%S | |
127 | ; | |
128 | ; You can override the default program to send e-mail if you wish, too | |
129 | ; | |
130 | ;mailcmd=/usr/sbin/sendmail -t | |
131 | ; | |
132 | ; Users may be located in different timezones, or may have different | |
133 | ; message announcements for their introductory message when they enter | |
134 | ; the voicemail system. Set the message and the timezone each user | |
135 | ; hears here. Set the user into one of these zones with the tz= attribute | |
136 | ; in the options field of the mailbox. Of course, language substitution | |
137 | ; still applies here so you may have several directory trees that have | |
138 | ; alternate language choices. | |
139 | ; | |
140 | ; Look in /usr/share/zoneinfo/ for names of timezones. | |
141 | ; Look at the manual page for strftime for a quick tutorial on how the | |
142 | ; variable substitution is done on the values below. | |
143 | ; | |
144 | ; Supported values: | |
145 | ; 'filename' filename of a soundfile (single ticks around the filename | |
146 | ; required) | |
147 | ; ${VAR} variable substitution | |
148 | ; A or a Day of week (Saturday, Sunday, ...) | |
149 | ; B or b or h Month name (January, February, ...) | |
150 | ; d or e numeric day of month (first, second, ..., thirty-first) | |
151 | ; Y Year | |
152 | ; I or l Hour, 12 hour clock | |
153 | ; H Hour, 24 hour clock (single digit hours preceded by "oh") | |
154 | ; k Hour, 24 hour clock (single digit hours NOT preceded by "oh") | |
155 | ; M Minute, with 00 pronounced as "o'clock" | |
156 | ; N Minute, with 00 pronounced as "hundred" (US military time) | |
157 | ; P or p AM or PM | |
158 | ; Q "today", "yesterday" or ABdY | |
159 | ; (*note: not standard strftime value) | |
160 | ; q "" (for today), "yesterday", weekday, or ABdY | |
161 | ; (*note: not standard strftime value) | |
162 | ; R 24 hour time, including minute | |
163 | ; | |
164 | ; | |
165 | ; | |
166 | ; Each mailbox is listed in the form <mailbox>=<password>,<name>,<email>,<pager_email>,<options> | |
167 | ; if the e-mail is specified, a message will be sent when a message is | |
168 | ; received, to the given mailbox. If pager is specified, a message will be | |
169 | ; sent there as well. If the password is prefixed by '-', then it is | |
170 | ; considered to be unchangeable. | |
171 | ; | |
172 | ; Advanced options example is extension 4069 | |
173 | ; NOTE: All options can be expressed globally in the general section, and | |
174 | ; overridden in the per-mailbox settings, unless listed otherwise. | |
175 | ; | |
176 | tz=gmt ; Timezone from zonemessages below. Irrelevant if envelope=no. | |
177 | ; attach=yes ; Attach the voicemail to the notification email *NOT* the pager email | |
178 | ; attachfmt=wav49 ; Which format to attach to the email. Normally this is the | |
179 | ; first format specified in the format parameter above, but this | |
180 | ; option lets you customize the format sent to particular mailboxes. | |
181 | ; Useful if Windows users want wav49, but Linux users want gsm. | |
182 | ; [per-mailbox only] | |
183 | ; saycid=yes ; Say the caller id information before the message. If not described, | |
184 | ; or set to no, it will be in the envelope | |
185 | ; cidinternalcontexts=intern ; Internal Context for Name Playback instead of | |
186 | ; extension digits when saying caller id. | |
187 | ; sayduration=no ; Turn on/off the duration information before the message. [ON by default] | |
188 | ; saydurationm=2 ; Specify the minimum duration to say. Default is 2 minutes | |
189 | ; dialout=fromvm ; Context to dial out from [option 4 from mailbox's advanced menu]. | |
190 | ; If not specified, option 4 will not be listed and dialing out | |
191 | ; from within VoiceMailMain() will not be permitted. | |
192 | sendvoicemail=yes ; Allow the user to compose and send a voicemail while inside | |
193 | ; VoiceMailMain() [option 5 from mailbox's advanced menu]. | |
194 | ; If set to 'no', option 5 will not be listed. | |
195 | ; searchcontexts=yes ; Current default behavior is to search only the default context | |
196 | ; if one is not specified. The older behavior was to search all contexts. | |
197 | ; This option restores the old behavior [DEFAULT=no] | |
198 | callback=fromvm ; Context to call back from | |
199 | ; if not listed, calling the sender back will not be permitted | |
200 | ; review=yes ; Allow sender to review/rerecord their message before saving it [OFF by default | |
201 | ; operator=yes ; Allow sender to hit 0 before/after/during leaving a voicemail to | |
202 | ; reach an operator [OFF by default] | |
203 | ; envelope=no ; Turn on/off envelope playback before message playback. [ON by default] | |
204 | ; This does NOT affect option 3,3 from the advanced options menu | |
205 | ; delete=yes ; After notification, the voicemail is deleted from the server. [per-mailbox only] | |
206 | ; This is intended for use with users who wish to receive their | |
207 | ; voicemail ONLY by email. Note: "deletevoicemail" is provided as an | |
208 | ; equivalent option for Realtime configuration. | |
209 | ; volgain=0.0 ; Emails bearing the voicemail may arrive in a volume too | |
210 | ; quiet to be heard. This parameter allows you to specify how | |
211 | ; much gain to add to the message when sending a voicemail. | |
212 | ; NOTE: sox must be installed for this option to work. | |
213 | ; nextaftercmd=yes ; Skips to the next message after hitting 7 or 9 to delete/save current message. | |
214 | ; [global option only at this time] | |
215 | ; forcename=yes ; Forces a new user to record their name. A new user is | |
216 | ; determined by the password being the same as | |
217 | ; the mailbox number. The default is "no". | |
218 | ; forcegreetings=no ; This is the same as forcename, except for recording | |
219 | ; greetings. The default is "no". | |
220 | ; hidefromdir=yes ; Hide this mailbox from the directory produced by app_directory | |
221 | ; The default is "no". | |
222 | ;tempgreetwarn=yes ; Remind the user that their temporary greeting is set | |
223 | ||
224 | [zonemessages] | |
225 | eastern=America/New_York|'vm-received' Q 'digits/at' IMp | |
226 | central=America/Chicago|'vm-received' Q 'digits/at' IMp | |
227 | central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours' | |
228 | military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p' | |
229 | european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM | |
230 | gmt=GMT|'vm-received' Q 'digits/at' kM | |
231 | ||
232 | ||
233 | ||
234 | [default] | |
235 | ||
236 | ; surcharge AUF locale (pour le contexte [AUF] surtout) | |
237 | #include "auf/voicemail.local" | |
238 | ||
239 |