Sun, 20 Mar 2011 20:03:11 +0100
Update and completely overhaul packaging and build configuration.
1 <file name="asterisk.conf">
2 ;;
3 ;; asterisk.conf -- Asterisk master configuration
4 ;;
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
16 [files]
17 astctlowner = @l_rusr@
18 astctlgroup = @l_rgrp@
19 astctlpermissions = 700
20 astctl = asterisk.ctl
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
40 </file>
41 <file name="modules.conf">
42 ;;
43 ;; modules.conf -- Asterisk functionality module configuration
44 ;;
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
54 [global]
56 </file>
57 <file name="logger.conf">
58 ;;
59 ;; logger.conf -- Asterisk logging configuration
60 ;;
62 [general]
63 dateformat = %F %T
64 queue_log = no
65 event_log = no
67 [logfiles]
68 console = error,warning,notice,verbose
69 asterisk.log = error,warning,notice ; verbose,debug
71 </file>
72 <file name="manager.conf">
73 ;;
74 ;; manager.conf -- Asterisk internal manager API configuration
75 ;;
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
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
97 </file>
98 <file name="http.conf">
99 ;;
100 ;; http.conf -- Asterisk HTTP Server Interface
101 ;;
103 [general]
104 enabled = no
105 bindaddr = 127.0.0.1
106 bindport = 8088
107 sslenable = no
108 sslbindport = 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
115 [post_mappings]
116 uploads = @l_prefix@/var/asterisk/spool/uploads/
118 </file>
119 <file name="sip.conf">
120 ;;
121 ;; sip.conf -- Asterisk SIP configuration
122 ;;
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
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
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
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
205 [behind-nat](!)
206 nat = yes
208 [with-mailbox](!)
209 hasvoicemail = yes
210 subscribemwi = yes
211 subscribecontext = internal
212 vmexten = voicemail
214 [foo](std-user,with-mailbox)
215 secret = asterisk
216 callerid = "Mr. Foo" <11>
217 mailbox = 11@internal
219 [bar](std-user,with-mailbox)
220 secret = asterisk
221 callerid = "Mr. Bar" <12>
222 mailbox = 12@internal
224 </file>
225 <file name="rtp.conf">
226 ;;
227 ;; rtp.conf -- Asterisk RTP configuration
228 ;;
230 [general]
231 rtpstart = 7070
232 rtpend = 7089
234 </file>
235 <file name="sip_notify.conf">
236 ;;
237 ;; sip_notify.conf -- Asterisk NOTIFY automation from command line
238 ;;
240 ; rfc3842
241 ; put empty "Content=>" at the end to have CRLF after last body line
242 [clear-mwi]
243 Event=>message-summary
244 Content-type=>application/simple-message-summary
245 Content=>Messages-Waiting: no
246 Content=>Message-Account: sip:asterisk@127.0.0.1
247 Content=>Voice-Message: 0/0 (0/0)
248 Content=>
250 ; Aastra
251 [aastra-check-cfg]
252 Event=>check-sync
254 [aastra-xml]
255 Event=>aastra-xml
257 ; Linksys
258 [linksys-cold-restart]
259 Event=>reboot_now
261 [linksys-warm-restart]
262 Event=>restart_now
264 ; Polycom
265 [polycom-check-cfg]
266 Event=>check-sync
268 ; Sipura
269 [sipura-check-cfg]
270 Event=>resync
272 [sipura-get-report]
273 Event=>report
275 ; Snom
276 [snom-check-cfg]
277 Event=>check-sync\;reboot=false
279 [snom-reboot]
280 Event=>reboot
282 ; Cisco
283 [cisco-check-cfg]
284 Event=>check-sync
286 </file>
287 <file name="extensions.conf">
288 ;;
289 ;; extensions.conf -- Asterisk inbound & outbound call configuration
290 ;;
292 [general]
293 static = yes
294 writeprotect = yes
295 autofallthrough = yes
297 [globals]
298 MEETME_SPOOLDIR = @l_prefix@/var/asterisk/spool/meetme
299 STAFF = SIP/foo&SIP/bar
300 CONSOLE = Console/dsp
301 DOLLAR = $
303 ;;
304 ;; SPECIAL CONTEXTS
305 ;;
307 [macro-dial]
308 exten = s,1,Dial(${ARG1},${ARG2},${ARG3})
309 exten = s,n,Goto(s-${DIALSTATUS},1)
310 exten = s-ANSWER,1,Hangup
311 exten = s-BUSY,1,GotoIf($["${ARG4}" == ""]?novm)
312 exten = s-BUSY,n,GotoIf($[${MAILBOX_EXISTS(${ARG4})} == 0]?novm)
313 exten = s-BUSY,n,VoiceMail(${ARG4},b)
314 exten = s-BUSY,n,Playback(vm-goodbye)
315 exten = s-BUSY,n(novm),Hangup
316 exten = s-NOANSWER,1,GotoIf($["${ARG4}" == ""]?novm)
317 exten = s-NOANSWER,n,MailboxExists(${ARG4})
318 exten = s-NOANSWER,n,GotoIf($[${MAILBOX_EXISTS(${ARG4})} == 0]?novm)
319 exten = s-NOANSWER,n,VoiceMail(${ARG4},u)
320 exten = s-NOANSWER,n,Playback(vm-goodbye)
321 exten = s-NOANSWER,n(novm),Hangup
322 exten = _s-.,1,Goto(s-NOANSWER,1)
324 [default]
325 ; currently empty
327 ;;
328 ;; EXTERNAL DIAL CONTEXT
329 ;;
331 [external]
332 include = default
334 ; external incoming SIP connection
335 exten = example,hint,${STAFF}
336 exten = example,1,Goto(s,1)
337 exten = s,n,Ringing
338 exten = s,n,Wait(1)
339 exten = s,n,Answer
340 exten = s,n,Macro(dial,${STAFF},30,gTtr,1@external)
342 ; external to internal mapping
343 exten = foo,hint,SIP/foo
344 exten = foo,1,Goto(internal,foo,1)
345 exten = bar,hint,SIP/bar
346 exten = bar,1,Goto(internal,bar,1)
348 ;;
349 ;; INTERNAL DIAL CONTEXT
350 ;;
352 [internal]
353 include = default
354 ;include = parkedcalls
356 ; internal to external mapping
357 exten = example,1,Goto(external,example,1)
359 ; internal user <foo> #11
360 exten = foo,hint,SIP/foo
361 exten = foo,1,Goto(11,1)
362 exten = 11,hint,SIP/foo
363 exten = 11,1,Macro(dial,SIP/foo,30,gTtr,11@internal)
365 ; internal user <bar> #12
366 exten = bar,hint,SIP/bar
367 exten = bar,1,Goto(12,1)
368 exten = 12,hint,SIP/bar
369 exten = 12,1,Macro(dial,SIP/bar,30,gTtr,12@internal)
371 ; internal group <all> #20
372 exten = all,1,Goto(20,1)
373 exten = 20/foo,1,Macro(dial,SIP/bar,60,)
374 exten = 20/bar,1,Macro(dial,SIP/foo,60,)
376 ; internal service <conference> #7<n>
377 exten = conference,1,Goto(70,1)
378 exten = _7[0-9],1,Set(confno=${EXTEN:1})
379 exten = _7[0-9],n,Goto(7,enter)
380 exten = 7,1,Set(TIMEOUT(digit)=3)
381 exten = 7,n,Set(TIMEOUT(response)=6)
382 exten = 7,n(repeat),Read(confno,conf-getconfno,3)
383 exten = 7,n,GotoIf($[${confno} >= 0 & ${confno} <= 9]?enter)
384 exten = 7,n,Playback(conf-invalid)
385 exten = 7,n,Goto(repeat)
386 exten = 7,n(enter),Playback(conf-placeintoconf)
387 exten = 7,n,SayNumber(${confno})
388 exten = 7,n,Set(SPYGROUP=conference-${confno})
389 exten = 7,n,Set(confopt=cCpsMvio)
390 exten = 7,n,GotoIf($[${confno} >= 4 & ${confno} <= 9]?l1:l2)
391 exten = 7,n(l1),Set(confopt=${confopt}i)
392 exten = 7,n(l2),GotoIf($[${confno} >= 7 & ${confno} <= 9]?l3:l4)
393 exten = 7,n(l3),Set(confopt=${confopt}r)
394 exten = 7,n,Set(MEETME_RECORDINGFILE=${MEETME_SPOOLDIR}/meetme-conference-${confno}-${STRFTIME(${EPOCH},UTC,%Y%m%d%H%M)})
395 exten = 7,n,Set(MEETME_RECORDINGFORMAT=wav49)
396 exten = 7,n,Playback(this-call-may-be-monitored-or-recorded)
397 exten = 7,n(l4),MeetMe(${confno},${confopt})
398 exten = 7,n,Playback(beep)
399 exten = 7,n,Wait(1)
400 exten = 7,n,Playback(vm-goodbye)
401 exten = 7,n,Hangup
403 ; internal service <voicemail> #80/#*80<n>
404 exten = voicemail,1,Goto(80,1)
405 exten = 80,1,GotoIf($[${MAILBOX_EXISTS(${CALLERID(num)}@internal)} == 0]?novm)
406 exten = 80,n,VoiceMailMain(${CALLERID(num)}@internal,s)
407 exten = 80,n,Hangup
408 exten = 80,n(novm),Playback(invalid)
409 exten = 80,n,Hangup
410 exten = _*80.,1,GotoIf($[${MAILBOX_EXISTS(${EXTEN:3}@internal)} == 0]?novm)
411 exten = _*80.,n,VoiceMailMain(${EXTEN:3}@internal)
412 exten = _*80.,n,Hangup
413 exten = _*80.,n(novm),Playback(invalid)
414 exten = _*80.,n,Hangup
416 ; internal service <echo> #81
417 exten = echo,1,Goto(81,1)
418 exten = 81,1,Answer
419 exten = 81,n,Playback(demo-echotest)
420 exten = 81,n,Wait(1)
421 exten = 81,n,Playback(beep)
422 exten = 81,n,Echo
423 exten = 81,n,Wait(1)
424 exten = 81,n,Playback(demo-echodone)
425 exten = 81,n,Wait(1)
426 exten = 81,n,Playback(vm-goodbye)
427 exten = 81,n,Hangup
429 ; internal service <reload> #82
430 exten = reload,1,Goto(82,1)
431 exten = 82,1,Answer
432 exten = 82,n,Read(pin,conf-getpin,4)
433 exten = 82,n,GotoIf($[${pin} = 1234]?ok)
434 exten = 82,n,Playback(conf-invalidpin)
435 exten = 82,n,Hangup
436 exten = 82,n(ok),Playback(beep)
437 exten = 82,n,Wait(1)
438 exten = 82,n,Playback(beep)
439 exten = 82,n,Wait(1)
440 exten = 82,n,Playback(beep)
441 exten = 82,n,Wait(1)
442 exten = 82,n,System(@l_prefix@/sbin/asterisk -rx reload)
443 exten = 82,n,Hangup
445 ; external outgoing ISDN (via SIP-to-ISDN gateway call-through)
446 ;exten = _0.,1,Set(number=${EXTEN:1})
447 ;exten = _0.,n,Set(enum=${ENUMLOOKUP(+${number},ALL)})
448 ;exten = _0.,n,Set(enum_is_sip_url=${REGEX("^SIP/.+" ${enum})})
449 ;exten = _0.,n,GotoIf($["${enum_is_sip_url}" = "1"]?sip:isdn)
450 ;exten = _0.,n(sip),Dial(${enum},60,o)
451 ;exten = _0.,n,Goto(_0.,7)
452 ;exten = _0.,n(isdn),Dial(SIP/gw,60,D(w1234w0#31#${number}#))
453 ;exten = _0.,n,Hangup
455 ; internal outgoing SIP call (part 1/2)
456 ; (notice sort-order trickery!)
457 include = internal-siponly
459 [internal-siponly]
460 ; internal outgoing SIP call (part 2/2)
461 ; (notice sort-order trickery!)
462 exten = _.[@].,1,Dial(SIP/${EXTEN}@${SIPDOMAIN},60,o)
463 exten = _.[@].,n,Hangup
464 exten = _.[@].,102,Busy
466 </file>
467 <file name="enum.conf">
468 ;;
469 ;; enum.conf -- Asterisk ENUM configuration
470 ;;
472 [general]
473 search = e164.arpa
474 search = e164.org
476 </file>
477 <file name="musiconhold.conf">
478 ;;
479 ;; musiconhold.conf -- Asterisk music-on-hold configuration
480 ;;
482 [default]
483 mode = files
484 directory = @l_prefix@/share/asterisk/moh
486 </file>
487 <file name="voicemail.conf">
488 ;;
489 ;; voicemail.conf -- Asterisk voice mail configuration
490 ;;
492 [general]
493 format = wav49
494 serveremail = example@example.com
495 attach = yes
496 maxmsg = 20
497 maxsecs = 180
498 minsecs = 3
499 maxgreet = 60
500 skipms = 3000
501 maxsilence = 10
502 silencethreshold = 128
503 maxlogins = 3
504 charset = ISO-8859-1
505 pbxskip = yes
506 fromstring = Asterisk PBX
507 usedirectory = yes
508 emailsubject = [PBX]: New voice message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
509 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
510 pagerfromstring = Asterisk PBX
511 pagersubject = New VM
512 pagerbody = New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE}
513 emaildateformat = %A, %d %B %Y %H:%M:%S %r
514 mailcmd = @l_prefix@/sbin/sendmail -t
516 [default]
518 [external]
519 1 = 1234,Example,example@example.com,,delete=yes
521 [internal]
522 11 = 1234,Mr. Foo,foo@example.com,,delete=no
523 12 = 1234,Mr. Bar,bar@example.com,,delete=no
525 </file>
526 <file name="cdr.conf">
527 ;;
528 ;; cdr.conf -- Asterisk Call Detail Record (CDR) configuration
529 ;;
531 [general]
532 enable = yes
533 unanswered = no
534 batch = no
535 size = 100
536 time = 300
537 scheduleronly = no
538 safeshutdown = yes
539 endbeforehexten = yes
541 </file>
542 <file name="cdr_custom.conf">
543 ;;
544 ;; cdr_custom.conf -- Asterisk Call Detail Record (CDR) via Comma Separated Value (CSV) format configuration
545 ;;
547 [mappings]
548 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)}"
550 </file>
551 <file name="cdr_sqlite3_custom.conf">
552 ;;
553 ;; cdr_sqlite3_custom.conf -- Asterisk Call Detail Record (CDR) via SQLite RDBMS format configuration
554 ;;
556 [master]
557 table = cdr
558 columns = start, answer, end, duration, billsec, clid, src, dst, dcontext, channel, dstchannel, lastapp, lastdata, disposition, amaflags, accountcode, uniqueid, userfield
559 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)}"
561 </file>
562 <file name="cdr_manager.conf">
563 ;;
564 ;; cdr_manager.conf -- Asterisk Call Detail Record (CDR) via Asterisk Manager Interface (AMI) configuration
565 ;;
567 [general]
568 enabled = yes
570 </file>
571 <file name="meetme.conf">
572 ;;
573 ;; meetme.conf -- Asterisk conference configuration
574 ;;
576 [general]
577 audiobuffers = 32
578 ;schedule = yes
579 ;logmembercount = yes
580 ;fuzzystart = 300
581 ;earlyalert = 3600
582 ;endalert = 120
584 [rooms]
585 conf = 0
586 conf = 1
587 conf = 2
588 conf = 3
589 conf = 4
590 conf = 5
591 conf = 6
592 conf = 7
593 conf = 8
594 conf = 9,1234,1234
596 </file>
597 <file name="codecs.conf">
598 ;;
599 ;; codecs.conf -- Asterisk codec configuration
600 ;;
602 [speex]
603 quality = 6
604 complexity = 4
605 enhancement = true
606 vad = true
607 vbr = true
608 abr = 8000
609 vbr_quality = 5
610 dtx = false
611 preprocess = false
612 pp_vad = false
613 pp_agc = false
614 pp_agc_level = 8000
615 pp_denoise = false
616 pp_dereverb = false
617 pp_dereverb_decay = 0.4
618 pp_dereverb_level = 0.3
620 [plc]
621 genericplc = true
623 </file>
624 <file name="chan_dahdi.conf">
625 ;;
626 ;; chan_dahdi.conf -- Asterisk DAHDI channel configuration
627 ;;
629 ; (an empty configuration is ok, but required even for DAHDI "dahdidummy" only)
630 [trunkgroups]
631 [channels]
633 </file>
634 <file name="capi.conf">
635 ;;
636 ;; capi.conf -- Asterisk ISDN/CAPI channel configuration
637 ;;
639 [general]
640 nationalprefix = 0
641 internationalprefix= 00
642 rxgain = 1.0
643 txgain = 1.0
644 ulaw = no
645 debug = yes
647 [ISDN1]
648 isdnmode = msn
649 incomingmsn = *
650 controller = 0
651 group = 1
652 ;prefix = 0
653 softdtmf = off
654 relaxdtmf = off
655 accountcode =
656 context = external
657 holdtype = local
658 ;immediate = yes
659 echocancel = no
660 echosquelch = no
661 ;echotail = 64
662 ;bridge = yes
663 ;callgroup = 1
664 ;deflect = 1234567
665 devices = 2
666 ;dtmf_generate = yes
668 </file>
669 <file name="features.conf">
670 ;;
671 ;; features.conf -- Asterisk Call Features configuration
672 ;;
674 [general]
675 ;parkext = 700
676 ;parkpos = 701-720
677 ;context = parkedcalls
679 </file>
680 <file name="jabber.conf">
681 ;;
682 ;; jabber.conf -- Asterisk Jabber configuration
683 ;;
685 [general]
686 ;debug = yes
687 ;autoprune = yes
688 ;autoregister = yes
690 ;[asterisk]
691 ;type = client
692 ;serverhost = jabber.example.com
693 ;username = asterisk@example.com/asterisk
694 ;secret = asterisk
695 ;priority = 1
696 ;port = 5222
697 ;usetls = no
698 ;usesasl = no
699 ;buddy = buddy@example.com
700 ;status = available
701 ;timeout = 100
703 </file>
704 <file name="indications.conf">
705 ;;
706 ;; indications.conf -- Asterisk Tone Indications
707 ;;
709 [general]
710 country = us
712 ; United States
713 ; (according to tones in North America)
714 [us]
715 description = United States (US)
716 ringcadence = 2000,4000
717 dial = 350+440
718 busy = 480+620/500,0/500
719 ring = 440+480/2000,0/4000
720 congestion = 480+620/250,0/250
721 callwaiting = 440/300,0/10000
722 dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
723 record = 1400/500,0/15000
724 info = !950/330,!1400/330,!1800/330,0
725 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
727 ; United Kingdom
728 ; (partly according to BT SIN350)
729 [uk]
730 description = United Kingdom (UK)
731 ringcadence = 400,200,400,2000
732 dial = 350+440
733 busy = 400/375,0/375
734 ring = 400+450/400,0/200,400+450/400,0/2000
735 congestion = 400/400,0/350,400/225,0/525
736 callwaiting = 400/100,0/4000
737 dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
738 record = 1400/500,0/60000
739 info = 950/330,0/15,1400/330,0/15,1800/330,0/1000
740 stutter = 350+440/750,440/750
742 ; Germany
743 ; (according to http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf)
744 [de]
745 description = Germany (DE)
746 ringcadence = 1000,4000
747 dial = 425
748 busy = 425/480,0/480
749 ring = 425/1000,0/4000
750 congestion = 425/240,0/240
751 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
752 dialrecall = !425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425
753 record = 1400/80,0/15000
754 info = 950/330,1400/330,1800/330,0/1000
755 stutter = 425+400
757 </file>
758 <file name="res_odbc.conf">
759 ;;
760 ;; res_odbc.conf -- Asterisk ODBC resource configuration
761 ;;
763 [ENV]
765 [asterisk-sqlite]
766 enabled = no
767 dsn = asterisk-sqlite
768 username =
769 password =
770 pre-connect = no
771 sanitysql = SELECT 1
772 ;idlecheck = 3600
773 backslash_is_escape= yes
774 share_connections = yes
775 limit = 10
777 </file>
778 <file name="func_odbc.conf">
779 ;;
780 ;; func_odbc.conf -- Asterisk ODBC dialplan function configuration
781 ;;
783 ; SQLite-based Asterisk Database Access (random SQL access)
784 ; Set(<variable_name>=${ASTDB_SQL(SELECT [...])})
785 ; Set(ASTDB_SQL(UPDATE [...]))
786 [SQL]
787 prefix = ASTDB
788 dsn = asterisk-sqlite
789 readsql = ${ARG1}
790 writesql = ${ARG1}
792 ; SQLite-based Asterisk Database Access (fixed key/value access)
793 ; Set(<variable_name>=${ASTDB_MAP(<key>)})
794 ; Set(ASTDB_MAP(<key>)=<value>)
795 [MAP]
796 prefix = ASTDB
797 dsn = asterisk-sqlite
798 readsql = SELECT val FROM map WHERE key='${SQL_ESC(${ARG1})}'
799 writesql = UPDATE map SET val='${SQL_ESC(${VAL1})}' WHERE key='${SQL_ESC(${ARG1})}'
800 escapecommas = no
802 </file>
803 <file name="asterisk.pem">
804 -----BEGIN CERTIFICATE-----
805 MIIDNjCCAp+gAwIBAgIBATANBgkqhkiG9w0BAQQFADCBqTELMAkGA1UEBhMCWFkx
806 FTATBgNVBAgTDFNuYWtlIERlc2VydDETMBEGA1UEBxMKU25ha2UgVG93bjEXMBUG
807 A1UEChMOU25ha2UgT2lsLCBMdGQxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1dGhv
808 cml0eTEVMBMGA1UEAxMMU25ha2UgT2lsIENBMR4wHAYJKoZIhvcNAQkBFg9jYUBz
809 bmFrZW9pbC5kb20wHhcNOTkxMDIxMTgyMTUxWhcNMDExMDIwMTgyMTUxWjCBpzEL
810 MAkGA1UEBhMCWFkxFTATBgNVBAgTDFNuYWtlIERlc2VydDETMBEGA1UEBxMKU25h
811 a2UgVG93bjEXMBUGA1UEChMOU25ha2UgT2lsLCBMdGQxFzAVBgNVBAsTDldlYnNl
812 cnZlciBUZWFtMRkwFwYDVQQDExB3d3cuc25ha2VvaWwuZG9tMR8wHQYJKoZIhvcN
813 AQkBFhB3d3dAc25ha2VvaWwuZG9tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
814 gQC554Ro+VH0dJONqljPBW+C72MDNGNy9eXnzejXrczsHs3Pc92Vaat6CpIEEGue
815 yG29xagb1o7Gj2KRgpVYcmdx6tHd2JkFW5BcFVfWXL42PV4rf9ziYon8jWsbK2aE
816 +L6hCtcbxdbHOGZdSIWZJwc/1Vs70S/7ImW+Zds8YEFiAwIDAQABo24wbDAbBgNV
817 HREEFDASgRB3d3dAc25ha2VvaWwuZG9tMDoGCWCGSAGG+EIBDQQtFittb2Rfc3Ns
818 IGdlbmVyYXRlZCBjdXN0b20gc2VydmVyIGNlcnRpZmljYXRlMBEGCWCGSAGG+EIB
819 AQQEAwIGQDANBgkqhkiG9w0BAQQFAAOBgQB6MRsYGTXUR53/nTkRDQlBdgCcnhy3
820 hErfmPNl/Or5jWOmuufeIXqCvM6dK7kW/KBboui4pffIKUVafLUMdARVV6BpIGMI
821 5LmVFK3sgwuJ01v/90hCt4kTWoT8YHbBLtQh7PzWgJoBAY7MJmjSguYCRt91sU4K
822 s0dfWsdItkw4uQ==
823 -----END CERTIFICATE-----
824 -----BEGIN RSA PRIVATE KEY-----
825 MIICXgIBAAKBgQC554Ro+VH0dJONqljPBW+C72MDNGNy9eXnzejXrczsHs3Pc92V
826 aat6CpIEEGueyG29xagb1o7Gj2KRgpVYcmdx6tHd2JkFW5BcFVfWXL42PV4rf9zi
827 Yon8jWsbK2aE+L6hCtcbxdbHOGZdSIWZJwc/1Vs70S/7ImW+Zds8YEFiAwIDAQAB
828 AoGBAKTvnFGKSkUJnNQGe66I0wunGgCA3W7kbarAzEF2qKYhGlZhJQnn68RmVnAW
829 pXUFvB+vmtu/+4J9OmWBJsGHFvC9xH32a0PWNr7APjAKrjAD8GWS7Z6BjuxN8QhD
830 WlFMmpYhYIjT1jt7RNfs2gJGS2Ryu3zutUQGwtUB9Pou03dJAkEA6yttwVINFqQP
831 utgUZ1JUHrN/rE73FzYsF/CwJp5d3rLHenZzLT0iW+kNDLUw/VpzYxK7bF2Qrt/3
832 QIUWwm2InQJBAMpe+jhNMJeLDLc3tG3zeithT0mFkuzWWmT2PJgQ0V78UWhw/fSn
833 Qqnq7KBY/DNjlfhezrozLDD73/ccmha0Ax8CQQCBaBlyOtNm9QqO116K6HvPlRiZ
834 Wa6QQEgNOG3GInknFZu9ILcKWsywZNLAfmgh0gcSqnkmDWqTQD0PbOz0Ok/lAkEA
835 g24JrfUbwOASww9PhDUju/a36rTwhhZ0oKt3EP+jKsBOErmHhZP3bKlhQoZoTOu5
836 Y5QXSMChS7LZcwDFZkdE2wJATRgMbhErif+ZRwt9XJRdCo5Sx6ewyGyxjc5gvUyK
837 KegHcgru/ZC3pGlujRD2LqxgJNAn5QTdW4LK8xVPFySTYg==
838 -----END RSA PRIVATE KEY-----
839 </file>