|
1 <file name="asterisk.conf"> |
|
2 ;; |
|
3 ;; asterisk.conf -- Asterisk master configuration |
|
4 ;; |
|
5 |
|
6 [directories] |
|
7 astetcdir = @l_prefix@/etc/asterisk |
|
8 astmoddir = @l_prefix@/lib/asterisk/modules |
|
9 astagidir = @l_prefix@/lib/asterisk/agi-bin |
|
10 astvarlibdir = @l_prefix@/share/asterisk |
|
11 astspooldir = @l_prefix@/var/asterisk/spool |
|
12 astrundir = @l_prefix@/var/asterisk/run |
|
13 astlogdir = @l_prefix@/var/asterisk/log |
|
14 astdbdir = @l_prefix@/var/asterisk/db |
|
15 |
|
16 [files] |
|
17 astctlowner = @l_rusr@ |
|
18 astctlgroup = @l_rgrp@ |
|
19 astctlpermissions = 700 |
|
20 astctl = asterisk.ctl |
|
21 |
|
22 [options] |
|
23 systemname = openpkg-pbx |
|
24 runuser = @l_rusr@ |
|
25 rungroup = @l_rgrp@ |
|
26 verbose = 0 |
|
27 alwaysfork = yes |
|
28 dumpcore = no |
|
29 quiet = yes |
|
30 highpriority = no |
|
31 initcrypto = no |
|
32 nocolor = yes |
|
33 execincludes = no |
|
34 ;timestamp = yes |
|
35 ;optiondebug = no |
|
36 ;nofork = no |
|
37 ;console = no |
|
38 ;dontwarn = no |
|
39 |
|
40 </file> |
|
41 <file name="modules.conf"> |
|
42 ;; |
|
43 ;; modules.conf -- Asterisk functionality module configuration |
|
44 ;; |
|
45 |
|
46 [modules] |
|
47 autoload = yes |
|
48 noload = chan_iax2.so |
|
49 noload = chan_mgcp.so |
|
50 noload = chan_skinny.so |
|
51 noload = chan_gtalk.so |
|
52 noload = chan_ooh323.so |
|
53 |
|
54 [global] |
|
55 |
|
56 </file> |
|
57 <file name="logger.conf"> |
|
58 ;; |
|
59 ;; logger.conf -- Asterisk logging configuration |
|
60 ;; |
|
61 |
|
62 [general] |
|
63 dateformat = %F %T |
|
64 queue_log = no |
|
65 event_log = no |
|
66 |
|
67 [logfiles] |
|
68 console = error,warning,notice,verbose |
|
69 asterisk.log = error,warning,notice ; verbose,debug |
|
70 |
|
71 </file> |
|
72 <file name="manager.conf"> |
|
73 ;; |
|
74 ;; manager.conf -- Asterisk internal manager API configuration |
|
75 ;; |
|
76 |
|
77 [general] |
|
78 enabled = yes |
|
79 webenabled = no |
|
80 bindaddr = 127.0.0.1 |
|
81 port = 5038 |
|
82 sslenable = no |
|
83 sslbindaddr = 127.0.0.1 |
|
84 sslbindport = 5039 |
|
85 sslcert = @l_prefix@/etc/asterisk/asterisk.pem |
|
86 displayconnects = yes |
|
87 allowmultiplelogin = yes |
|
88 timestampevents = yes |
|
89 |
|
90 [asterisk] |
|
91 secret = asterisk |
|
92 deny = 0.0.0.0/0.0.0.0 |
|
93 permit = 127.0.0.1/255.0.0.0 |
|
94 read = system,call,agent,user,config,log,verbose,dtmf,reporting,cdr,dialplan |
|
95 write = system,call,agent,user,config,command,reporting |
|
96 |
|
97 </file> |
|
98 <file name="http.conf"> |
|
99 ;; |
|
100 ;; http.conf -- Asterisk HTTP Server Interface |
|
101 ;; |
|
102 |
|
103 [general] |
|
104 enabled = no |
|
105 bindaddr = 127.0.0.1 |
|
106 bindport = 8088 |
|
107 sslenable = no |
|
108 slbindport = 8089 |
|
109 sslbindaddr = 127.0.0.1 |
|
110 sslcert = @l_prefix@/etc/asterisk/asterisk.pem |
|
111 enablestatic = yes |
|
112 prefix = asterisk |
|
113 redirect = / /asterisk/static/docs/index.html |
|
114 |
|
115 [post_mappings] |
|
116 uploads = @l_prefix@/var/asterisk/spool/uploads/ |
|
117 |
|
118 </file> |
|
119 <file name="sip.conf"> |
|
120 ;; |
|
121 ;; sip.conf -- Asterisk SIP configuration |
|
122 ;; |
|
123 |
|
124 [general] |
|
125 useragent = OpenPKG Asterisk PBX |
|
126 realm = example |
|
127 bindaddr = 127.0.0.1 |
|
128 bindport = 5060 |
|
129 tcpenable = yes |
|
130 tcpbindaddr = 127.0.0.1:5060 |
|
131 tlsenable = no |
|
132 tlsbindaddr = 127.0.0.1:5061 |
|
133 tlscipher = ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL |
|
134 tlscertfile = asterisk.pem |
|
135 tlscafile = asterisk.pem |
|
136 srvlookup = yes |
|
137 useclientcode = yes |
|
138 allowguest = yes |
|
139 canreinvite = no |
|
140 nat = no |
|
141 disallow = all |
|
142 allow = speex |
|
143 allow = g726 |
|
144 allow = ulaw |
|
145 allow = alaw |
|
146 allow = gsm |
|
147 videosupport = no |
|
148 ;allow = h263 |
|
149 ;allow = h263p |
|
150 notifyhold = yes |
|
151 notifyringing = yes |
|
152 limitonpeer = yes |
|
153 call-limit = 1 |
|
154 incominglimit = 1 |
|
155 context = external |
|
156 ;register = NNNNNNN:XXXXXX:NNNNNNN@sipgate.de/s |
|
157 ;tos = 0x18 |
|
158 |
|
159 ;[sipgate] |
|
160 ;type = peer |
|
161 ;defaultuser = NNNNNNN |
|
162 ;host = sipgate.de |
|
163 ;fromuser = NNNNNNN |
|
164 ;fromdomain = sipgate.de |
|
165 ;canreinvite = no |
|
166 ;disallow = all |
|
167 ;allow = speex |
|
168 ;allow = g726 |
|
169 ;allow = ulaw |
|
170 ;allow = alaw |
|
171 ;allow = gsm |
|
172 ;context = external |
|
173 |
|
174 ;[gw] |
|
175 ;type = friend |
|
176 ;defaultuser = gw |
|
177 ;callerid = "ISDN-to-SIP" <gw> |
|
178 ;fromdomain = example.com |
|
179 ;secret = asterisk |
|
180 ;host = dynamic |
|
181 ;canreinvite = no |
|
182 ;disallow = all |
|
183 ;allow = g726 |
|
184 ;allow = ulaw |
|
185 ;allow = alaw |
|
186 ;allow = gsm |
|
187 ;dtmfmode = rfc2833 |
|
188 ;qualify = yes |
|
189 ;insecure = yes |
|
190 ;context = external |
|
191 ;nat = no |
|
192 |
|
193 [std-user](!) |
|
194 type = friend |
|
195 context = internal |
|
196 host = dynamic |
|
197 dtmfmode = rfc2833 |
|
198 qualify = yes |
|
199 disallow = all |
|
200 allow = speex |
|
201 allow = g726 |
|
202 allow = ulaw |
|
203 allow = alaw |
|
204 |
|
205 [behind-nat](!) |
|
206 nat = yes |
|
207 |
|
208 [with-mailbox](!) |
|
209 hasvoicemail = yes |
|
210 subscribemwi = yes |
|
211 subscribecontext = internal |
|
212 vmexten = voicemail |
|
213 |
|
214 [foo](std-user,with-mailbox) |
|
215 secret = asterisk |
|
216 callerid = "Mr. Foo" <11> |
|
217 mailbox = 11@internal |
|
218 |
|
219 [bar](std-user,with-mailbox) |
|
220 secret = asterisk |
|
221 callerid = "Mr. Bar" <12> |
|
222 mailbox = 12@internal |
|
223 |
|
224 </file> |
|
225 <file name="rtp.conf"> |
|
226 ;; |
|
227 ;; rtp.conf -- Asterisk RTP configuration |
|
228 ;; |
|
229 |
|
230 [general] |
|
231 rtpstart = 7070 |
|
232 rtpend = 7089 |
|
233 |
|
234 </file> |
|
235 <file name="extensions.conf"> |
|
236 ;; |
|
237 ;; extensions.conf -- Asterisk inbound & outbound call configuration |
|
238 ;; |
|
239 |
|
240 [general] |
|
241 static = yes |
|
242 writeprotect = yes |
|
243 autofallthrough = yes |
|
244 |
|
245 [globals] |
|
246 MEETME_SPOOLDIR = @l_prefix@/var/asterisk/spool/meetme |
|
247 STAFF = SIP/foo&SIP/bar |
|
248 CONSOLE = Console/dsp |
|
249 DOLLAR = $ |
|
250 |
|
251 ;; |
|
252 ;; SPECIAL CONTEXTS |
|
253 ;; |
|
254 |
|
255 [macro-dial] |
|
256 exten = s,1,Dial(${ARG1},${ARG2},${ARG3}) |
|
257 exten = s,n,Goto(s-${DIALSTATUS},1) |
|
258 exten = s-ANSWER,1,Hangup |
|
259 exten = s-BUSY,1,GotoIf($["${ARG4}" == ""]?novm) |
|
260 exten = s-BUSY,n,GotoIf($[${MAILBOX_EXISTS(${ARG4})} == 0]?novm) |
|
261 exten = s-BUSY,n,VoiceMail(${ARG4},b) |
|
262 exten = s-BUSY,n,Playback(vm-goodbye) |
|
263 exten = s-BUSY,n(novm),Hangup |
|
264 exten = s-NOANSWER,1,GotoIf($["${ARG4}" == ""]?novm) |
|
265 exten = s-NOANSWER,n,MailboxExists(${ARG4}) |
|
266 exten = s-NOANSWER,n,GotoIf($[${MAILBOX_EXISTS(${ARG4})} == 0]?novm) |
|
267 exten = s-NOANSWER,n,VoiceMail(${ARG4},u) |
|
268 exten = s-NOANSWER,n,Playback(vm-goodbye) |
|
269 exten = s-NOANSWER,n(novm),Hangup |
|
270 exten = _s-.,1,Goto(s-NOANSWER,1) |
|
271 |
|
272 [default] |
|
273 ; currently empty |
|
274 |
|
275 ;; |
|
276 ;; EXTERNAL DIAL CONTEXT |
|
277 ;; |
|
278 |
|
279 [external] |
|
280 include = default |
|
281 |
|
282 ; external incoming SIP connection |
|
283 exten = example,hint,${STAFF} |
|
284 exten = example,1,Goto(s,1) |
|
285 exten = s,n,Ringing |
|
286 exten = s,n,Wait(1) |
|
287 exten = s,n,Answer |
|
288 exten = s,n,Macro(dial,${STAFF},30,gTtr,1@external) |
|
289 |
|
290 ; external to internal mapping |
|
291 exten = foo,hint,SIP/foo |
|
292 exten = foo,1,Goto(internal,foo,1) |
|
293 exten = bar,hint,SIP/bar |
|
294 exten = bar,1,Goto(internal,bar,1) |
|
295 |
|
296 ;; |
|
297 ;; INTERNAL DIAL CONTEXT |
|
298 ;; |
|
299 |
|
300 [internal] |
|
301 include = default |
|
302 ;include = parkedcalls |
|
303 |
|
304 ; internal to external mapping |
|
305 exten = example,1,Goto(external,example,1) |
|
306 |
|
307 ; internal user <foo> #11 |
|
308 exten = foo,hint,SIP/foo |
|
309 exten = foo,1,Goto(11,1) |
|
310 exten = 11,hint,SIP/foo |
|
311 exten = 11,1,Macro(dial,SIP/foo,30,gTtr,11@internal) |
|
312 |
|
313 ; internal user <bar> #12 |
|
314 exten = bar,hint,SIP/bar |
|
315 exten = bar,1,Goto(12,1) |
|
316 exten = 12,hint,SIP/bar |
|
317 exten = 12,1,Macro(dial,SIP/bar,30,gTtr,12@internal) |
|
318 |
|
319 ; internal group <all> #20 |
|
320 exten = all,1,Goto(20,1) |
|
321 exten = 20/foo,1,Macro(dial,SIP/bar,60,) |
|
322 exten = 20/bar,1,Macro(dial,SIP/foo,60,) |
|
323 |
|
324 ; internal service <conference> #7<n> |
|
325 exten = conference,1,Goto(70,1) |
|
326 exten = _7[0-9],1,Set(confno=${EXTEN:1}) |
|
327 exten = _7[0-9],n,Goto(7,enter) |
|
328 exten = 7,1,Set(TIMEOUT(digit)=3) |
|
329 exten = 7,n,Set(TIMEOUT(response)=6) |
|
330 exten = 7,n(repeat),Read(confno,conf-getconfno,3) |
|
331 exten = 7,n,GotoIf($[${confno} >= 0 & ${confno} <= 9]?enter) |
|
332 exten = 7,n,Playback(conf-invalid) |
|
333 exten = 7,n,Goto(repeat) |
|
334 exten = 7,n(enter),Playback(conf-placeintoconf) |
|
335 exten = 7,n,SayNumber(${confno}) |
|
336 exten = 7,n,Set(SPYGROUP=conference-${confno}) |
|
337 exten = 7,n,Set(confopt=cCpsMvio) |
|
338 exten = 7,n,GotoIf($[${confno} >= 4 & ${confno} <= 9]?l1:l2) |
|
339 exten = 7,n(l1),Set(confopt=${confopt}i) |
|
340 exten = 7,n(l2),GotoIf($[${confno} >= 7 & ${confno} <= 9]?l3:l4) |
|
341 exten = 7,n(l3),Set(confopt=${confopt}r) |
|
342 exten = 7,n,Set(MEETME_RECORDINGFILE=${MEETME_SPOOLDIR}/meetme-conference-${confno}-${STRFTIME(${EPOCH},UTC,%Y%m%d%H%M)}) |
|
343 exten = 7,n,Set(MEETME_RECORDINGFORMAT=wav49) |
|
344 exten = 7,n,Playback(this-call-may-be-monitored-or-recorded) |
|
345 exten = 7,n(l4),MeetMe(${confno},${confopt}) |
|
346 exten = 7,n,Playback(beep) |
|
347 exten = 7,n,Wait(1) |
|
348 exten = 7,n,Playback(vm-goodbye) |
|
349 exten = 7,n,Hangup |
|
350 |
|
351 ; internal service <voicemail> #80/#*80<n> |
|
352 exten = voicemail,1,Goto(80,1) |
|
353 exten = 80,1,GotoIf($[${MAILBOX_EXISTS(${CALLERID(num)}@internal)} == 0]?novm) |
|
354 exten = 80,n,VoiceMailMain(${CALLERID(num)}@internal,s) |
|
355 exten = 80,n,Hangup |
|
356 exten = 80,n(novm),Playback(invalid) |
|
357 exten = 80,n,Hangup |
|
358 exten = _*80.,1,GotoIf($[${MAILBOX_EXISTS(${EXTEN:3}@internal)} == 0]?novm) |
|
359 exten = _*80.,n,VoiceMailMain(${EXTEN:3}@internal) |
|
360 exten = _*80.,n,Hangup |
|
361 exten = _*80.,n(novm),Playback(invalid) |
|
362 exten = _*80.,n,Hangup |
|
363 |
|
364 ; internal service <echo> #81 |
|
365 exten = echo,1,Goto(81,1) |
|
366 exten = 81,1,Answer |
|
367 exten = 81,n,Playback(demo-echotest) |
|
368 exten = 81,n,Wait(1) |
|
369 exten = 81,n,Playback(beep) |
|
370 exten = 81,n,Echo |
|
371 exten = 81,n,Wait(1) |
|
372 exten = 81,n,Playback(demo-echodone) |
|
373 exten = 81,n,Wait(1) |
|
374 exten = 81,n,Playback(vm-goodbye) |
|
375 exten = 81,n,Hangup |
|
376 |
|
377 ; internal service <reload> #82 |
|
378 exten = reload,1,Goto(82,1) |
|
379 exten = 82,1,Answer |
|
380 exten = 82,n,Read(pin,conf-getpin,4) |
|
381 exten = 82,n,GotoIf($[${pin} = 1234]?ok) |
|
382 exten = 82,n,Playback(conf-invalidpin) |
|
383 exten = 82,n,Hangup |
|
384 exten = 82,n(ok),Playback(beep) |
|
385 exten = 82,n,Wait(1) |
|
386 exten = 82,n,Playback(beep) |
|
387 exten = 82,n,Wait(1) |
|
388 exten = 82,n,Playback(beep) |
|
389 exten = 82,n,Wait(1) |
|
390 exten = 82,n,System(@l_prefix@/sbin/asterisk -rx reload) |
|
391 exten = 82,n,Hangup |
|
392 |
|
393 ; external outgoing ISDN (via SIP-to-ISDN gateway call-through) |
|
394 ;exten = _0.,1,Set(number=${EXTEN:1}) |
|
395 ;exten = _0.,n,Set(enum=${ENUMLOOKUP(+${number},ALL)}) |
|
396 ;exten = _0.,n,Set(enum_is_sip_url=${REGEX("^SIP/.+" ${enum})}) |
|
397 ;exten = _0.,n,GotoIf($["${enum_is_sip_url}" = "1"]?sip:isdn) |
|
398 ;exten = _0.,n(sip),Dial(${enum},60,o) |
|
399 ;exten = _0.,n,Goto(_0.,7) |
|
400 ;exten = _0.,n(isdn),Dial(SIP/gw,60,D(w1234w0#31#${number}#)) |
|
401 ;exten = _0.,n,Hangup |
|
402 |
|
403 ; internal outgoing SIP call (part 1/2) |
|
404 ; (notice sort-order trickery!) |
|
405 include = internal-siponly |
|
406 |
|
407 [internal-siponly] |
|
408 ; internal outgoing SIP call (part 2/2) |
|
409 ; (notice sort-order trickery!) |
|
410 exten = _.[@].,1,Dial(SIP/${EXTEN}@${SIPDOMAIN},60,o) |
|
411 exten = _.[@].,n,Hangup |
|
412 exten = _.[@].,102,Busy |
|
413 |
|
414 </file> |
|
415 <file name="enum.conf"> |
|
416 ;; |
|
417 ;; enum.conf -- Asterisk ENUM configuration |
|
418 ;; |
|
419 |
|
420 [general] |
|
421 search = e164.arpa |
|
422 search = e164.org |
|
423 |
|
424 </file> |
|
425 <file name="musiconhold.conf"> |
|
426 ;; |
|
427 ;; musiconhold.conf -- Asterisk music-on-hold configuration |
|
428 ;; |
|
429 |
|
430 [default] |
|
431 mode = files |
|
432 directory = @l_prefix@/share/asterisk/moh |
|
433 |
|
434 </file> |
|
435 <file name="voicemail.conf"> |
|
436 ;; |
|
437 ;; voicemail.conf -- Asterisk voice mail configuration |
|
438 ;; |
|
439 |
|
440 [general] |
|
441 format = wav49 |
|
442 serveremail = example@example.com |
|
443 attach = yes |
|
444 maxmsg = 20 |
|
445 maxsecs = 180 |
|
446 minsecs = 3 |
|
447 maxgreet = 60 |
|
448 skipms = 3000 |
|
449 maxsilence = 10 |
|
450 silencethreshold = 128 |
|
451 maxlogins = 3 |
|
452 charset = ISO-8859-1 |
|
453 pbxskip = yes |
|
454 fromstring = Asterisk PBX |
|
455 usedirectory = yes |
|
456 emailsubject = [PBX]: New voice message ${VM_MSGNUM} in mailbox ${VM_MAILBOX} |
|
457 emailbody = Dear ${VM_NAME},\n\njust wanted to let you know you were left a ${VM_DUR} long\nvoice message (number ${VM_MSGNUM}) in voice mailbox ${VM_MAILBOX}\nfrom caller ${VM_CALLERID},\non ${VM_DATE}.\nYou might want to check it when you get a chance. Thanks!\n\n\t\t\t\t-- OpenPKG Asterisk PBX\n |
|
458 pagerfromstring = Asterisk PBX |
|
459 pagersubject = New VM |
|
460 pagerbody = New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE} |
|
461 emaildateformat = %A, %d %B %Y %H:%M:%S %r |
|
462 mailcmd = @l_prefix@/sbin/sendmail -t |
|
463 |
|
464 [default] |
|
465 |
|
466 [external] |
|
467 1 = 1234,Example,example@example.com,,delete=yes |
|
468 |
|
469 [internal] |
|
470 11 = 1234,Mr. Foo,foo@example.com,,delete=no |
|
471 12 = 1234,Mr. Bar,bar@example.com,,delete=no |
|
472 |
|
473 </file> |
|
474 <file name="cdr.conf"> |
|
475 ;; |
|
476 ;; cdr.conf -- Asterisk Call Detail Record (CDR) configuration |
|
477 ;; |
|
478 |
|
479 [general] |
|
480 enable = yes |
|
481 unanswered = no |
|
482 batch = no |
|
483 size = 100 |
|
484 time = 300 |
|
485 scheduleronly = no |
|
486 safeshutdown = yes |
|
487 endbeforehexten = yes |
|
488 |
|
489 </file> |
|
490 <file name="cdr_custom.conf"> |
|
491 ;; |
|
492 ;; cdr_custom.conf -- Asterisk Call Detail Record (CDR) via Comma Separated Value (CSV) format configuration |
|
493 ;; |
|
494 |
|
495 [mappings] |
|
496 master.csv = "${CDR(start)}", "${CDR(answer)}", "${CDR(end)}", "${CDR(duration)}", "${CDR(billsec)}", "${CDR(clid)}", "${CDR(src)}", "${CDR(dst)}", "${CDR(dcontext)}", "${CDR(channel)}", "${CDR(dstchannel)}", "${CDR(lastapp)}", "${CDR(lastdata)}", "${CDR(disposition)}", "${CDR(amaflags)}", "${CDR(accountcode)}", "${CDR(uniqueid)}", "${CDR(userfield)}" |
|
497 |
|
498 </file> |
|
499 <file name="cdr_sqlite3_custom.conf"> |
|
500 ;; |
|
501 ;; cdr_sqlite3_custom.conf -- Asterisk Call Detail Record (CDR) via SQLite RDBMS format configuration |
|
502 ;; |
|
503 |
|
504 [master] |
|
505 table = cdr |
|
506 columns = start, answer, end, duration, billsec, clid, src, dst, dcontext, channel, dstchannel, lastapp, lastdata, disposition, amaflags, accountcode, uniqueid, userfield |
|
507 values = "${CDR(start)}", "${CDR(answer)}", "${CDR(end)}", "${CDR(duration)}", "${CDR(billsec)}", "${CDR(clid)}", "${CDR(src)}", "${CDR(dst)}", "${CDR(dcontext)}", "${CDR(channel)}", "${CDR(dstchannel)}", "${CDR(lastapp)}", "${CDR(lastdata)}", "${CDR(disposition)}", "${CDR(amaflags)}", "${CDR(accountcode)}", "${CDR(uniqueid)}", "${CDR(userfield)}" |
|
508 |
|
509 </file> |
|
510 <file name="cdr_manager.conf"> |
|
511 ;; |
|
512 ;; cdr_manager.conf -- Asterisk Call Detail Record (CDR) via Asterisk Manager Interface (AMI) configuration |
|
513 ;; |
|
514 |
|
515 [general] |
|
516 enabled = yes |
|
517 |
|
518 </file> |
|
519 <file name="meetme.conf"> |
|
520 ;; |
|
521 ;; meetme.conf -- Asterisk conference configuration |
|
522 ;; |
|
523 |
|
524 [general] |
|
525 audiobuffers = 32 |
|
526 ;schedule = yes |
|
527 ;logmembercount = yes |
|
528 ;fuzzystart = 300 |
|
529 ;earlyalert = 3600 |
|
530 ;endalert = 120 |
|
531 |
|
532 [rooms] |
|
533 conf = 0 |
|
534 conf = 1 |
|
535 conf = 2 |
|
536 conf = 3 |
|
537 conf = 4 |
|
538 conf = 5 |
|
539 conf = 6 |
|
540 conf = 7 |
|
541 conf = 8 |
|
542 conf = 9,1234,1234 |
|
543 |
|
544 </file> |
|
545 <file name="codecs.conf"> |
|
546 ;; |
|
547 ;; codecs.conf -- Asterisk codec configuration |
|
548 ;; |
|
549 |
|
550 [speex] |
|
551 quality = 6 |
|
552 complexity = 4 |
|
553 enhancement = true |
|
554 vad = true |
|
555 vbr = true |
|
556 abr = 8000 |
|
557 vbr_quality = 5 |
|
558 dtx = false |
|
559 preprocess = false |
|
560 pp_vad = false |
|
561 pp_agc = false |
|
562 pp_agc_level = 8000 |
|
563 pp_denoise = false |
|
564 pp_dereverb = false |
|
565 pp_dereverb_decay = 0.4 |
|
566 pp_dereverb_level = 0.3 |
|
567 |
|
568 [plc] |
|
569 genericplc = true |
|
570 |
|
571 </file> |
|
572 <file name="chan_dahdi.conf"> |
|
573 ;; |
|
574 ;; chan_dahdi.conf -- Asterisk DAHDI channel configuration |
|
575 ;; |
|
576 |
|
577 ; (an empty configuration is ok, but required even for DAHDI "dahdidummy" only) |
|
578 [trunkgroups] |
|
579 [channels] |
|
580 |
|
581 </file> |
|
582 <file name="capi.conf"> |
|
583 ;; |
|
584 ;; capi.conf -- Asterisk ISDN/CAPI channel configuration |
|
585 ;; |
|
586 |
|
587 [general] |
|
588 nationalprefix = 0 |
|
589 internationalprefix= 00 |
|
590 rxgain = 1.0 |
|
591 txgain = 1.0 |
|
592 ulaw = no |
|
593 debug = yes |
|
594 |
|
595 [ISDN1] |
|
596 isdnmode = msn |
|
597 incomingmsn = * |
|
598 controller = 0 |
|
599 group = 1 |
|
600 ;prefix = 0 |
|
601 softdtmf = off |
|
602 relaxdtmf = off |
|
603 accountcode = |
|
604 context = external |
|
605 holdtype = local |
|
606 ;immediate = yes |
|
607 echocancel = no |
|
608 echosquelch = no |
|
609 ;echotail = 64 |
|
610 ;bridge = yes |
|
611 ;callgroup = 1 |
|
612 ;deflect = 1234567 |
|
613 devices = 2 |
|
614 ;dtmf_generate = yes |
|
615 |
|
616 </file> |
|
617 <file name="features.conf"> |
|
618 ;; |
|
619 ;; features.conf -- Asterisk Call Features configuration |
|
620 ;; |
|
621 |
|
622 [general] |
|
623 ;parkext = 700 |
|
624 ;parkpos = 701-720 |
|
625 ;context = parkedcalls |
|
626 |
|
627 </file> |
|
628 <file name="jabber.conf"> |
|
629 ;; |
|
630 ;; jabber.conf -- Asterisk Jabber configuration |
|
631 ;; |
|
632 |
|
633 [general] |
|
634 ;debug = yes |
|
635 ;autoprune = yes |
|
636 ;autoregister = yes |
|
637 |
|
638 ;[asterisk] |
|
639 ;type = client |
|
640 ;serverhost = jabber.example.com |
|
641 ;username = asterisk@example.com/asterisk |
|
642 ;secret = asterisk |
|
643 ;priority = 1 |
|
644 ;port = 5222 |
|
645 ;usetls = no |
|
646 ;usesasl = no |
|
647 ;buddy = buddy@example.com |
|
648 ;status = available |
|
649 ;timeout = 100 |
|
650 |
|
651 </file> |
|
652 <file name="indications.conf"> |
|
653 ;; |
|
654 ;; indications.conf -- Asterisk Tone Indications |
|
655 ;; |
|
656 |
|
657 [general] |
|
658 country = us |
|
659 |
|
660 ; United States |
|
661 ; (according to tones in North America) |
|
662 [us] |
|
663 description = United States (US) |
|
664 ringcadence = 2000,4000 |
|
665 dial = 350+440 |
|
666 busy = 480+620/500,0/500 |
|
667 ring = 440+480/2000,0/4000 |
|
668 congestion = 480+620/250,0/250 |
|
669 callwaiting = 440/300,0/10000 |
|
670 dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440 |
|
671 record = 1400/500,0/15000 |
|
672 info = !950/330,!1400/330,!1800/330,0 |
|
673 stutter = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440 |
|
674 |
|
675 ; United Kingdom |
|
676 ; (partly according to BT SIN350) |
|
677 [uk] |
|
678 description = United Kingdom (UK) |
|
679 ringcadence = 400,200,400,2000 |
|
680 dial = 350+440 |
|
681 busy = 400/375,0/375 |
|
682 ring = 400+450/400,0/200,400+450/400,0/2000 |
|
683 congestion = 400/400,0/350,400/225,0/525 |
|
684 callwaiting = 400/100,0/4000 |
|
685 dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440 |
|
686 record = 1400/500,0/60000 |
|
687 info = 950/330,0/15,1400/330,0/15,1800/330,0/1000 |
|
688 stutter = 350+440/750,440/750 |
|
689 |
|
690 ; Germany |
|
691 ; (according to http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf) |
|
692 [de] |
|
693 description = Germany (DE) |
|
694 ringcadence = 1000,4000 |
|
695 dial = 425 |
|
696 busy = 425/480,0/480 |
|
697 ring = 425/1000,0/4000 |
|
698 congestion = 425/240,0/240 |
|
699 callwaiting = !425/200,!0/200,!425/200,!0/5000,!425/200,!0/200,!425/200,!0/5000,!425/200,!0/200,!425/200,!0/5000,!425/200,!0/200,!425/200,!0/5000,!425/200,!0/200,!425/200,0 |
|
700 dialrecall = !425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425 |
|
701 record = 1400/80,0/15000 |
|
702 info = 950/330,1400/330,1800/330,0/1000 |
|
703 stutter = 425+400 |
|
704 |
|
705 </file> |
|
706 <file name="res_odbc.conf"> |
|
707 ;; |
|
708 ;; res_odbc.conf -- Asterisk ODBC resource configuration |
|
709 ;; |
|
710 |
|
711 [ENV] |
|
712 |
|
713 [asterisk-sqlite] |
|
714 enabled = no |
|
715 dsn = asterisk-sqlite |
|
716 username = |
|
717 password = |
|
718 pre-connect = no |
|
719 sanitysql = SELECT 1 |
|
720 ;idlecheck = 3600 |
|
721 backslash_is_escape= yes |
|
722 share_connections = yes |
|
723 limit = 10 |
|
724 |
|
725 </file> |
|
726 <file name="func_odbc.conf"> |
|
727 ;; |
|
728 ;; func_odbc.conf -- Asterisk ODBC dialplan function configuration |
|
729 ;; |
|
730 |
|
731 ; SQLite-based Asterisk Database Access (random SQL access) |
|
732 ; Set(<variable_name>=${ASTDB_SQL(SELECT [...])}) |
|
733 ; Set(ASTDB_SQL(UPDATE [...])) |
|
734 [SQL] |
|
735 prefix = ASTDB |
|
736 dsn = asterisk-sqlite |
|
737 readsql = ${ARG1} |
|
738 writesql = ${ARG1} |
|
739 |
|
740 ; SQLite-based Asterisk Database Access (fixed key/value access) |
|
741 ; Set(<variable_name>=${ASTDB_MAP(<key>)}) |
|
742 ; Set(ASTDB_MAP(<key>)=<value>) |
|
743 [MAP] |
|
744 prefix = ASTDB |
|
745 dsn = asterisk-sqlite |
|
746 readsql = SELECT val FROM map WHERE key='${SQL_ESC(${ARG1})}' |
|
747 writesql = UPDATE map SET val='${SQL_ESC(${VAL1})}' WHERE key='${SQL_ESC(${ARG1})}' |
|
748 escapecommas = no |
|
749 |
|
750 </file> |
|
751 <file name="asterisk.pem"> |
|
752 -----BEGIN CERTIFICATE----- |
|
753 MIIDNjCCAp+gAwIBAgIBATANBgkqhkiG9w0BAQQFADCBqTELMAkGA1UEBhMCWFkx |
|
754 FTATBgNVBAgTDFNuYWtlIERlc2VydDETMBEGA1UEBxMKU25ha2UgVG93bjEXMBUG |
|
755 A1UEChMOU25ha2UgT2lsLCBMdGQxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1dGhv |
|
756 cml0eTEVMBMGA1UEAxMMU25ha2UgT2lsIENBMR4wHAYJKoZIhvcNAQkBFg9jYUBz |
|
757 bmFrZW9pbC5kb20wHhcNOTkxMDIxMTgyMTUxWhcNMDExMDIwMTgyMTUxWjCBpzEL |
|
758 MAkGA1UEBhMCWFkxFTATBgNVBAgTDFNuYWtlIERlc2VydDETMBEGA1UEBxMKU25h |
|
759 a2UgVG93bjEXMBUGA1UEChMOU25ha2UgT2lsLCBMdGQxFzAVBgNVBAsTDldlYnNl |
|
760 cnZlciBUZWFtMRkwFwYDVQQDExB3d3cuc25ha2VvaWwuZG9tMR8wHQYJKoZIhvcN |
|
761 AQkBFhB3d3dAc25ha2VvaWwuZG9tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB |
|
762 gQC554Ro+VH0dJONqljPBW+C72MDNGNy9eXnzejXrczsHs3Pc92Vaat6CpIEEGue |
|
763 yG29xagb1o7Gj2KRgpVYcmdx6tHd2JkFW5BcFVfWXL42PV4rf9ziYon8jWsbK2aE |
|
764 +L6hCtcbxdbHOGZdSIWZJwc/1Vs70S/7ImW+Zds8YEFiAwIDAQABo24wbDAbBgNV |
|
765 HREEFDASgRB3d3dAc25ha2VvaWwuZG9tMDoGCWCGSAGG+EIBDQQtFittb2Rfc3Ns |
|
766 IGdlbmVyYXRlZCBjdXN0b20gc2VydmVyIGNlcnRpZmljYXRlMBEGCWCGSAGG+EIB |
|
767 AQQEAwIGQDANBgkqhkiG9w0BAQQFAAOBgQB6MRsYGTXUR53/nTkRDQlBdgCcnhy3 |
|
768 hErfmPNl/Or5jWOmuufeIXqCvM6dK7kW/KBboui4pffIKUVafLUMdARVV6BpIGMI |
|
769 5LmVFK3sgwuJ01v/90hCt4kTWoT8YHbBLtQh7PzWgJoBAY7MJmjSguYCRt91sU4K |
|
770 s0dfWsdItkw4uQ== |
|
771 -----END CERTIFICATE----- |
|
772 -----BEGIN RSA PRIVATE KEY----- |
|
773 MIICXgIBAAKBgQC554Ro+VH0dJONqljPBW+C72MDNGNy9eXnzejXrczsHs3Pc92V |
|
774 aat6CpIEEGueyG29xagb1o7Gj2KRgpVYcmdx6tHd2JkFW5BcFVfWXL42PV4rf9zi |
|
775 Yon8jWsbK2aE+L6hCtcbxdbHOGZdSIWZJwc/1Vs70S/7ImW+Zds8YEFiAwIDAQAB |
|
776 AoGBAKTvnFGKSkUJnNQGe66I0wunGgCA3W7kbarAzEF2qKYhGlZhJQnn68RmVnAW |
|
777 pXUFvB+vmtu/+4J9OmWBJsGHFvC9xH32a0PWNr7APjAKrjAD8GWS7Z6BjuxN8QhD |
|
778 WlFMmpYhYIjT1jt7RNfs2gJGS2Ryu3zutUQGwtUB9Pou03dJAkEA6yttwVINFqQP |
|
779 utgUZ1JUHrN/rE73FzYsF/CwJp5d3rLHenZzLT0iW+kNDLUw/VpzYxK7bF2Qrt/3 |
|
780 QIUWwm2InQJBAMpe+jhNMJeLDLc3tG3zeithT0mFkuzWWmT2PJgQ0V78UWhw/fSn |
|
781 Qqnq7KBY/DNjlfhezrozLDD73/ccmha0Ax8CQQCBaBlyOtNm9QqO116K6HvPlRiZ |
|
782 Wa6QQEgNOG3GInknFZu9ILcKWsywZNLAfmgh0gcSqnkmDWqTQD0PbOz0Ok/lAkEA |
|
783 g24JrfUbwOASww9PhDUju/a36rTwhhZ0oKt3EP+jKsBOErmHhZP3bKlhQoZoTOu5 |
|
784 Y5QXSMChS7LZcwDFZkdE2wJATRgMbhErif+ZRwt9XJRdCo5Sx6ewyGyxjc5gvUyK |
|
785 KegHcgru/ZC3pGlujRD2LqxgJNAn5QTdW4LK8xVPFySTYg== |
|
786 -----END RSA PRIVATE KEY----- |
|
787 </file> |