1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/asterisk/asterisk.txt Sun Mar 20 20:00:02 2011 +0100 1.3 @@ -0,0 +1,787 @@ 1.4 +<file name="asterisk.conf"> 1.5 +;; 1.6 +;; asterisk.conf -- Asterisk master configuration 1.7 +;; 1.8 + 1.9 +[directories] 1.10 +astetcdir = @l_prefix@/etc/asterisk 1.11 +astmoddir = @l_prefix@/lib/asterisk/modules 1.12 +astagidir = @l_prefix@/lib/asterisk/agi-bin 1.13 +astvarlibdir = @l_prefix@/share/asterisk 1.14 +astspooldir = @l_prefix@/var/asterisk/spool 1.15 +astrundir = @l_prefix@/var/asterisk/run 1.16 +astlogdir = @l_prefix@/var/asterisk/log 1.17 +astdbdir = @l_prefix@/var/asterisk/db 1.18 + 1.19 +[files] 1.20 +astctlowner = @l_rusr@ 1.21 +astctlgroup = @l_rgrp@ 1.22 +astctlpermissions = 700 1.23 +astctl = asterisk.ctl 1.24 + 1.25 +[options] 1.26 +systemname = openpkg-pbx 1.27 +runuser = @l_rusr@ 1.28 +rungroup = @l_rgrp@ 1.29 +verbose = 0 1.30 +alwaysfork = yes 1.31 +dumpcore = no 1.32 +quiet = yes 1.33 +highpriority = no 1.34 +initcrypto = no 1.35 +nocolor = yes 1.36 +execincludes = no 1.37 +;timestamp = yes 1.38 +;optiondebug = no 1.39 +;nofork = no 1.40 +;console = no 1.41 +;dontwarn = no 1.42 + 1.43 +</file> 1.44 +<file name="modules.conf"> 1.45 +;; 1.46 +;; modules.conf -- Asterisk functionality module configuration 1.47 +;; 1.48 + 1.49 +[modules] 1.50 +autoload = yes 1.51 +noload = chan_iax2.so 1.52 +noload = chan_mgcp.so 1.53 +noload = chan_skinny.so 1.54 +noload = chan_gtalk.so 1.55 +noload = chan_ooh323.so 1.56 + 1.57 +[global] 1.58 + 1.59 +</file> 1.60 +<file name="logger.conf"> 1.61 +;; 1.62 +;; logger.conf -- Asterisk logging configuration 1.63 +;; 1.64 + 1.65 +[general] 1.66 +dateformat = %F %T 1.67 +queue_log = no 1.68 +event_log = no 1.69 + 1.70 +[logfiles] 1.71 +console = error,warning,notice,verbose 1.72 +asterisk.log = error,warning,notice ; verbose,debug 1.73 + 1.74 +</file> 1.75 +<file name="manager.conf"> 1.76 +;; 1.77 +;; manager.conf -- Asterisk internal manager API configuration 1.78 +;; 1.79 + 1.80 +[general] 1.81 +enabled = yes 1.82 +webenabled = no 1.83 +bindaddr = 127.0.0.1 1.84 +port = 5038 1.85 +sslenable = no 1.86 +sslbindaddr = 127.0.0.1 1.87 +sslbindport = 5039 1.88 +sslcert = @l_prefix@/etc/asterisk/asterisk.pem 1.89 +displayconnects = yes 1.90 +allowmultiplelogin = yes 1.91 +timestampevents = yes 1.92 + 1.93 +[asterisk] 1.94 +secret = asterisk 1.95 +deny = 0.0.0.0/0.0.0.0 1.96 +permit = 127.0.0.1/255.0.0.0 1.97 +read = system,call,agent,user,config,log,verbose,dtmf,reporting,cdr,dialplan 1.98 +write = system,call,agent,user,config,command,reporting 1.99 + 1.100 +</file> 1.101 +<file name="http.conf"> 1.102 +;; 1.103 +;; http.conf -- Asterisk HTTP Server Interface 1.104 +;; 1.105 + 1.106 +[general] 1.107 +enabled = no 1.108 +bindaddr = 127.0.0.1 1.109 +bindport = 8088 1.110 +sslenable = no 1.111 +slbindport = 8089 1.112 +sslbindaddr = 127.0.0.1 1.113 +sslcert = @l_prefix@/etc/asterisk/asterisk.pem 1.114 +enablestatic = yes 1.115 +prefix = asterisk 1.116 +redirect = / /asterisk/static/docs/index.html 1.117 + 1.118 +[post_mappings] 1.119 +uploads = @l_prefix@/var/asterisk/spool/uploads/ 1.120 + 1.121 +</file> 1.122 +<file name="sip.conf"> 1.123 +;; 1.124 +;; sip.conf -- Asterisk SIP configuration 1.125 +;; 1.126 + 1.127 +[general] 1.128 +useragent = OpenPKG Asterisk PBX 1.129 +realm = example 1.130 +bindaddr = 127.0.0.1 1.131 +bindport = 5060 1.132 +tcpenable = yes 1.133 +tcpbindaddr = 127.0.0.1:5060 1.134 +tlsenable = no 1.135 +tlsbindaddr = 127.0.0.1:5061 1.136 +tlscipher = ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL 1.137 +tlscertfile = asterisk.pem 1.138 +tlscafile = asterisk.pem 1.139 +srvlookup = yes 1.140 +useclientcode = yes 1.141 +allowguest = yes 1.142 +canreinvite = no 1.143 +nat = no 1.144 +disallow = all 1.145 +allow = speex 1.146 +allow = g726 1.147 +allow = ulaw 1.148 +allow = alaw 1.149 +allow = gsm 1.150 +videosupport = no 1.151 +;allow = h263 1.152 +;allow = h263p 1.153 +notifyhold = yes 1.154 +notifyringing = yes 1.155 +limitonpeer = yes 1.156 +call-limit = 1 1.157 +incominglimit = 1 1.158 +context = external 1.159 +;register = NNNNNNN:XXXXXX:NNNNNNN@sipgate.de/s 1.160 +;tos = 0x18 1.161 + 1.162 +;[sipgate] 1.163 +;type = peer 1.164 +;defaultuser = NNNNNNN 1.165 +;host = sipgate.de 1.166 +;fromuser = NNNNNNN 1.167 +;fromdomain = sipgate.de 1.168 +;canreinvite = no 1.169 +;disallow = all 1.170 +;allow = speex 1.171 +;allow = g726 1.172 +;allow = ulaw 1.173 +;allow = alaw 1.174 +;allow = gsm 1.175 +;context = external 1.176 + 1.177 +;[gw] 1.178 +;type = friend 1.179 +;defaultuser = gw 1.180 +;callerid = "ISDN-to-SIP" <gw> 1.181 +;fromdomain = example.com 1.182 +;secret = asterisk 1.183 +;host = dynamic 1.184 +;canreinvite = no 1.185 +;disallow = all 1.186 +;allow = g726 1.187 +;allow = ulaw 1.188 +;allow = alaw 1.189 +;allow = gsm 1.190 +;dtmfmode = rfc2833 1.191 +;qualify = yes 1.192 +;insecure = yes 1.193 +;context = external 1.194 +;nat = no 1.195 + 1.196 +[std-user](!) 1.197 +type = friend 1.198 +context = internal 1.199 +host = dynamic 1.200 +dtmfmode = rfc2833 1.201 +qualify = yes 1.202 +disallow = all 1.203 +allow = speex 1.204 +allow = g726 1.205 +allow = ulaw 1.206 +allow = alaw 1.207 + 1.208 +[behind-nat](!) 1.209 +nat = yes 1.210 + 1.211 +[with-mailbox](!) 1.212 +hasvoicemail = yes 1.213 +subscribemwi = yes 1.214 +subscribecontext = internal 1.215 +vmexten = voicemail 1.216 + 1.217 +[foo](std-user,with-mailbox) 1.218 +secret = asterisk 1.219 +callerid = "Mr. Foo" <11> 1.220 +mailbox = 11@internal 1.221 + 1.222 +[bar](std-user,with-mailbox) 1.223 +secret = asterisk 1.224 +callerid = "Mr. Bar" <12> 1.225 +mailbox = 12@internal 1.226 + 1.227 +</file> 1.228 +<file name="rtp.conf"> 1.229 +;; 1.230 +;; rtp.conf -- Asterisk RTP configuration 1.231 +;; 1.232 + 1.233 +[general] 1.234 +rtpstart = 7070 1.235 +rtpend = 7089 1.236 + 1.237 +</file> 1.238 +<file name="extensions.conf"> 1.239 +;; 1.240 +;; extensions.conf -- Asterisk inbound & outbound call configuration 1.241 +;; 1.242 + 1.243 +[general] 1.244 +static = yes 1.245 +writeprotect = yes 1.246 +autofallthrough = yes 1.247 + 1.248 +[globals] 1.249 +MEETME_SPOOLDIR = @l_prefix@/var/asterisk/spool/meetme 1.250 +STAFF = SIP/foo&SIP/bar 1.251 +CONSOLE = Console/dsp 1.252 +DOLLAR = $ 1.253 + 1.254 +;; 1.255 +;; SPECIAL CONTEXTS 1.256 +;; 1.257 + 1.258 +[macro-dial] 1.259 +exten = s,1,Dial(${ARG1},${ARG2},${ARG3}) 1.260 +exten = s,n,Goto(s-${DIALSTATUS},1) 1.261 +exten = s-ANSWER,1,Hangup 1.262 +exten = s-BUSY,1,GotoIf($["${ARG4}" == ""]?novm) 1.263 +exten = s-BUSY,n,GotoIf($[${MAILBOX_EXISTS(${ARG4})} == 0]?novm) 1.264 +exten = s-BUSY,n,VoiceMail(${ARG4},b) 1.265 +exten = s-BUSY,n,Playback(vm-goodbye) 1.266 +exten = s-BUSY,n(novm),Hangup 1.267 +exten = s-NOANSWER,1,GotoIf($["${ARG4}" == ""]?novm) 1.268 +exten = s-NOANSWER,n,MailboxExists(${ARG4}) 1.269 +exten = s-NOANSWER,n,GotoIf($[${MAILBOX_EXISTS(${ARG4})} == 0]?novm) 1.270 +exten = s-NOANSWER,n,VoiceMail(${ARG4},u) 1.271 +exten = s-NOANSWER,n,Playback(vm-goodbye) 1.272 +exten = s-NOANSWER,n(novm),Hangup 1.273 +exten = _s-.,1,Goto(s-NOANSWER,1) 1.274 + 1.275 +[default] 1.276 +; currently empty 1.277 + 1.278 +;; 1.279 +;; EXTERNAL DIAL CONTEXT 1.280 +;; 1.281 + 1.282 +[external] 1.283 +include = default 1.284 + 1.285 +; external incoming SIP connection 1.286 +exten = example,hint,${STAFF} 1.287 +exten = example,1,Goto(s,1) 1.288 +exten = s,n,Ringing 1.289 +exten = s,n,Wait(1) 1.290 +exten = s,n,Answer 1.291 +exten = s,n,Macro(dial,${STAFF},30,gTtr,1@external) 1.292 + 1.293 +; external to internal mapping 1.294 +exten = foo,hint,SIP/foo 1.295 +exten = foo,1,Goto(internal,foo,1) 1.296 +exten = bar,hint,SIP/bar 1.297 +exten = bar,1,Goto(internal,bar,1) 1.298 + 1.299 +;; 1.300 +;; INTERNAL DIAL CONTEXT 1.301 +;; 1.302 + 1.303 +[internal] 1.304 +include = default 1.305 +;include = parkedcalls 1.306 + 1.307 +; internal to external mapping 1.308 +exten = example,1,Goto(external,example,1) 1.309 + 1.310 +; internal user <foo> #11 1.311 +exten = foo,hint,SIP/foo 1.312 +exten = foo,1,Goto(11,1) 1.313 +exten = 11,hint,SIP/foo 1.314 +exten = 11,1,Macro(dial,SIP/foo,30,gTtr,11@internal) 1.315 + 1.316 +; internal user <bar> #12 1.317 +exten = bar,hint,SIP/bar 1.318 +exten = bar,1,Goto(12,1) 1.319 +exten = 12,hint,SIP/bar 1.320 +exten = 12,1,Macro(dial,SIP/bar,30,gTtr,12@internal) 1.321 + 1.322 +; internal group <all> #20 1.323 +exten = all,1,Goto(20,1) 1.324 +exten = 20/foo,1,Macro(dial,SIP/bar,60,) 1.325 +exten = 20/bar,1,Macro(dial,SIP/foo,60,) 1.326 + 1.327 +; internal service <conference> #7<n> 1.328 +exten = conference,1,Goto(70,1) 1.329 +exten = _7[0-9],1,Set(confno=${EXTEN:1}) 1.330 +exten = _7[0-9],n,Goto(7,enter) 1.331 +exten = 7,1,Set(TIMEOUT(digit)=3) 1.332 +exten = 7,n,Set(TIMEOUT(response)=6) 1.333 +exten = 7,n(repeat),Read(confno,conf-getconfno,3) 1.334 +exten = 7,n,GotoIf($[${confno} >= 0 & ${confno} <= 9]?enter) 1.335 +exten = 7,n,Playback(conf-invalid) 1.336 +exten = 7,n,Goto(repeat) 1.337 +exten = 7,n(enter),Playback(conf-placeintoconf) 1.338 +exten = 7,n,SayNumber(${confno}) 1.339 +exten = 7,n,Set(SPYGROUP=conference-${confno}) 1.340 +exten = 7,n,Set(confopt=cCpsMvio) 1.341 +exten = 7,n,GotoIf($[${confno} >= 4 & ${confno} <= 9]?l1:l2) 1.342 +exten = 7,n(l1),Set(confopt=${confopt}i) 1.343 +exten = 7,n(l2),GotoIf($[${confno} >= 7 & ${confno} <= 9]?l3:l4) 1.344 +exten = 7,n(l3),Set(confopt=${confopt}r) 1.345 +exten = 7,n,Set(MEETME_RECORDINGFILE=${MEETME_SPOOLDIR}/meetme-conference-${confno}-${STRFTIME(${EPOCH},UTC,%Y%m%d%H%M)}) 1.346 +exten = 7,n,Set(MEETME_RECORDINGFORMAT=wav49) 1.347 +exten = 7,n,Playback(this-call-may-be-monitored-or-recorded) 1.348 +exten = 7,n(l4),MeetMe(${confno},${confopt}) 1.349 +exten = 7,n,Playback(beep) 1.350 +exten = 7,n,Wait(1) 1.351 +exten = 7,n,Playback(vm-goodbye) 1.352 +exten = 7,n,Hangup 1.353 + 1.354 +; internal service <voicemail> #80/#*80<n> 1.355 +exten = voicemail,1,Goto(80,1) 1.356 +exten = 80,1,GotoIf($[${MAILBOX_EXISTS(${CALLERID(num)}@internal)} == 0]?novm) 1.357 +exten = 80,n,VoiceMailMain(${CALLERID(num)}@internal,s) 1.358 +exten = 80,n,Hangup 1.359 +exten = 80,n(novm),Playback(invalid) 1.360 +exten = 80,n,Hangup 1.361 +exten = _*80.,1,GotoIf($[${MAILBOX_EXISTS(${EXTEN:3}@internal)} == 0]?novm) 1.362 +exten = _*80.,n,VoiceMailMain(${EXTEN:3}@internal) 1.363 +exten = _*80.,n,Hangup 1.364 +exten = _*80.,n(novm),Playback(invalid) 1.365 +exten = _*80.,n,Hangup 1.366 + 1.367 +; internal service <echo> #81 1.368 +exten = echo,1,Goto(81,1) 1.369 +exten = 81,1,Answer 1.370 +exten = 81,n,Playback(demo-echotest) 1.371 +exten = 81,n,Wait(1) 1.372 +exten = 81,n,Playback(beep) 1.373 +exten = 81,n,Echo 1.374 +exten = 81,n,Wait(1) 1.375 +exten = 81,n,Playback(demo-echodone) 1.376 +exten = 81,n,Wait(1) 1.377 +exten = 81,n,Playback(vm-goodbye) 1.378 +exten = 81,n,Hangup 1.379 + 1.380 +; internal service <reload> #82 1.381 +exten = reload,1,Goto(82,1) 1.382 +exten = 82,1,Answer 1.383 +exten = 82,n,Read(pin,conf-getpin,4) 1.384 +exten = 82,n,GotoIf($[${pin} = 1234]?ok) 1.385 +exten = 82,n,Playback(conf-invalidpin) 1.386 +exten = 82,n,Hangup 1.387 +exten = 82,n(ok),Playback(beep) 1.388 +exten = 82,n,Wait(1) 1.389 +exten = 82,n,Playback(beep) 1.390 +exten = 82,n,Wait(1) 1.391 +exten = 82,n,Playback(beep) 1.392 +exten = 82,n,Wait(1) 1.393 +exten = 82,n,System(@l_prefix@/sbin/asterisk -rx reload) 1.394 +exten = 82,n,Hangup 1.395 + 1.396 +; external outgoing ISDN (via SIP-to-ISDN gateway call-through) 1.397 +;exten = _0.,1,Set(number=${EXTEN:1}) 1.398 +;exten = _0.,n,Set(enum=${ENUMLOOKUP(+${number},ALL)}) 1.399 +;exten = _0.,n,Set(enum_is_sip_url=${REGEX("^SIP/.+" ${enum})}) 1.400 +;exten = _0.,n,GotoIf($["${enum_is_sip_url}" = "1"]?sip:isdn) 1.401 +;exten = _0.,n(sip),Dial(${enum},60,o) 1.402 +;exten = _0.,n,Goto(_0.,7) 1.403 +;exten = _0.,n(isdn),Dial(SIP/gw,60,D(w1234w0#31#${number}#)) 1.404 +;exten = _0.,n,Hangup 1.405 + 1.406 +; internal outgoing SIP call (part 1/2) 1.407 +; (notice sort-order trickery!) 1.408 +include = internal-siponly 1.409 + 1.410 +[internal-siponly] 1.411 +; internal outgoing SIP call (part 2/2) 1.412 +; (notice sort-order trickery!) 1.413 +exten = _.[@].,1,Dial(SIP/${EXTEN}@${SIPDOMAIN},60,o) 1.414 +exten = _.[@].,n,Hangup 1.415 +exten = _.[@].,102,Busy 1.416 + 1.417 +</file> 1.418 +<file name="enum.conf"> 1.419 +;; 1.420 +;; enum.conf -- Asterisk ENUM configuration 1.421 +;; 1.422 + 1.423 +[general] 1.424 +search = e164.arpa 1.425 +search = e164.org 1.426 + 1.427 +</file> 1.428 +<file name="musiconhold.conf"> 1.429 +;; 1.430 +;; musiconhold.conf -- Asterisk music-on-hold configuration 1.431 +;; 1.432 + 1.433 +[default] 1.434 +mode = files 1.435 +directory = @l_prefix@/share/asterisk/moh 1.436 + 1.437 +</file> 1.438 +<file name="voicemail.conf"> 1.439 +;; 1.440 +;; voicemail.conf -- Asterisk voice mail configuration 1.441 +;; 1.442 + 1.443 +[general] 1.444 +format = wav49 1.445 +serveremail = example@example.com 1.446 +attach = yes 1.447 +maxmsg = 20 1.448 +maxsecs = 180 1.449 +minsecs = 3 1.450 +maxgreet = 60 1.451 +skipms = 3000 1.452 +maxsilence = 10 1.453 +silencethreshold = 128 1.454 +maxlogins = 3 1.455 +charset = ISO-8859-1 1.456 +pbxskip = yes 1.457 +fromstring = Asterisk PBX 1.458 +usedirectory = yes 1.459 +emailsubject = [PBX]: New voice message ${VM_MSGNUM} in mailbox ${VM_MAILBOX} 1.460 +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 1.461 +pagerfromstring = Asterisk PBX 1.462 +pagersubject = New VM 1.463 +pagerbody = New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE} 1.464 +emaildateformat = %A, %d %B %Y %H:%M:%S %r 1.465 +mailcmd = @l_prefix@/sbin/sendmail -t 1.466 + 1.467 +[default] 1.468 + 1.469 +[external] 1.470 +1 = 1234,Example,example@example.com,,delete=yes 1.471 + 1.472 +[internal] 1.473 +11 = 1234,Mr. Foo,foo@example.com,,delete=no 1.474 +12 = 1234,Mr. Bar,bar@example.com,,delete=no 1.475 + 1.476 +</file> 1.477 +<file name="cdr.conf"> 1.478 +;; 1.479 +;; cdr.conf -- Asterisk Call Detail Record (CDR) configuration 1.480 +;; 1.481 + 1.482 +[general] 1.483 +enable = yes 1.484 +unanswered = no 1.485 +batch = no 1.486 +size = 100 1.487 +time = 300 1.488 +scheduleronly = no 1.489 +safeshutdown = yes 1.490 +endbeforehexten = yes 1.491 + 1.492 +</file> 1.493 +<file name="cdr_custom.conf"> 1.494 +;; 1.495 +;; cdr_custom.conf -- Asterisk Call Detail Record (CDR) via Comma Separated Value (CSV) format configuration 1.496 +;; 1.497 + 1.498 +[mappings] 1.499 +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)}" 1.500 + 1.501 +</file> 1.502 +<file name="cdr_sqlite3_custom.conf"> 1.503 +;; 1.504 +;; cdr_sqlite3_custom.conf -- Asterisk Call Detail Record (CDR) via SQLite RDBMS format configuration 1.505 +;; 1.506 + 1.507 +[master] 1.508 +table = cdr 1.509 +columns = start, answer, end, duration, billsec, clid, src, dst, dcontext, channel, dstchannel, lastapp, lastdata, disposition, amaflags, accountcode, uniqueid, userfield 1.510 +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)}" 1.511 + 1.512 +</file> 1.513 +<file name="cdr_manager.conf"> 1.514 +;; 1.515 +;; cdr_manager.conf -- Asterisk Call Detail Record (CDR) via Asterisk Manager Interface (AMI) configuration 1.516 +;; 1.517 + 1.518 +[general] 1.519 +enabled = yes 1.520 + 1.521 +</file> 1.522 +<file name="meetme.conf"> 1.523 +;; 1.524 +;; meetme.conf -- Asterisk conference configuration 1.525 +;; 1.526 + 1.527 +[general] 1.528 +audiobuffers = 32 1.529 +;schedule = yes 1.530 +;logmembercount = yes 1.531 +;fuzzystart = 300 1.532 +;earlyalert = 3600 1.533 +;endalert = 120 1.534 + 1.535 +[rooms] 1.536 +conf = 0 1.537 +conf = 1 1.538 +conf = 2 1.539 +conf = 3 1.540 +conf = 4 1.541 +conf = 5 1.542 +conf = 6 1.543 +conf = 7 1.544 +conf = 8 1.545 +conf = 9,1234,1234 1.546 + 1.547 +</file> 1.548 +<file name="codecs.conf"> 1.549 +;; 1.550 +;; codecs.conf -- Asterisk codec configuration 1.551 +;; 1.552 + 1.553 +[speex] 1.554 +quality = 6 1.555 +complexity = 4 1.556 +enhancement = true 1.557 +vad = true 1.558 +vbr = true 1.559 +abr = 8000 1.560 +vbr_quality = 5 1.561 +dtx = false 1.562 +preprocess = false 1.563 +pp_vad = false 1.564 +pp_agc = false 1.565 +pp_agc_level = 8000 1.566 +pp_denoise = false 1.567 +pp_dereverb = false 1.568 +pp_dereverb_decay = 0.4 1.569 +pp_dereverb_level = 0.3 1.570 + 1.571 +[plc] 1.572 +genericplc = true 1.573 + 1.574 +</file> 1.575 +<file name="chan_dahdi.conf"> 1.576 +;; 1.577 +;; chan_dahdi.conf -- Asterisk DAHDI channel configuration 1.578 +;; 1.579 + 1.580 +; (an empty configuration is ok, but required even for DAHDI "dahdidummy" only) 1.581 +[trunkgroups] 1.582 +[channels] 1.583 + 1.584 +</file> 1.585 +<file name="capi.conf"> 1.586 +;; 1.587 +;; capi.conf -- Asterisk ISDN/CAPI channel configuration 1.588 +;; 1.589 + 1.590 +[general] 1.591 +nationalprefix = 0 1.592 +internationalprefix= 00 1.593 +rxgain = 1.0 1.594 +txgain = 1.0 1.595 +ulaw = no 1.596 +debug = yes 1.597 + 1.598 +[ISDN1] 1.599 +isdnmode = msn 1.600 +incomingmsn = * 1.601 +controller = 0 1.602 +group = 1 1.603 +;prefix = 0 1.604 +softdtmf = off 1.605 +relaxdtmf = off 1.606 +accountcode = 1.607 +context = external 1.608 +holdtype = local 1.609 +;immediate = yes 1.610 +echocancel = no 1.611 +echosquelch = no 1.612 +;echotail = 64 1.613 +;bridge = yes 1.614 +;callgroup = 1 1.615 +;deflect = 1234567 1.616 +devices = 2 1.617 +;dtmf_generate = yes 1.618 + 1.619 +</file> 1.620 +<file name="features.conf"> 1.621 +;; 1.622 +;; features.conf -- Asterisk Call Features configuration 1.623 +;; 1.624 + 1.625 +[general] 1.626 +;parkext = 700 1.627 +;parkpos = 701-720 1.628 +;context = parkedcalls 1.629 + 1.630 +</file> 1.631 +<file name="jabber.conf"> 1.632 +;; 1.633 +;; jabber.conf -- Asterisk Jabber configuration 1.634 +;; 1.635 + 1.636 +[general] 1.637 +;debug = yes 1.638 +;autoprune = yes 1.639 +;autoregister = yes 1.640 + 1.641 +;[asterisk] 1.642 +;type = client 1.643 +;serverhost = jabber.example.com 1.644 +;username = asterisk@example.com/asterisk 1.645 +;secret = asterisk 1.646 +;priority = 1 1.647 +;port = 5222 1.648 +;usetls = no 1.649 +;usesasl = no 1.650 +;buddy = buddy@example.com 1.651 +;status = available 1.652 +;timeout = 100 1.653 + 1.654 +</file> 1.655 +<file name="indications.conf"> 1.656 +;; 1.657 +;; indications.conf -- Asterisk Tone Indications 1.658 +;; 1.659 + 1.660 +[general] 1.661 +country = us 1.662 + 1.663 +; United States 1.664 +; (according to tones in North America) 1.665 +[us] 1.666 +description = United States (US) 1.667 +ringcadence = 2000,4000 1.668 +dial = 350+440 1.669 +busy = 480+620/500,0/500 1.670 +ring = 440+480/2000,0/4000 1.671 +congestion = 480+620/250,0/250 1.672 +callwaiting = 440/300,0/10000 1.673 +dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440 1.674 +record = 1400/500,0/15000 1.675 +info = !950/330,!1400/330,!1800/330,0 1.676 +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 1.677 + 1.678 +; United Kingdom 1.679 +; (partly according to BT SIN350) 1.680 +[uk] 1.681 +description = United Kingdom (UK) 1.682 +ringcadence = 400,200,400,2000 1.683 +dial = 350+440 1.684 +busy = 400/375,0/375 1.685 +ring = 400+450/400,0/200,400+450/400,0/2000 1.686 +congestion = 400/400,0/350,400/225,0/525 1.687 +callwaiting = 400/100,0/4000 1.688 +dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440 1.689 +record = 1400/500,0/60000 1.690 +info = 950/330,0/15,1400/330,0/15,1800/330,0/1000 1.691 +stutter = 350+440/750,440/750 1.692 + 1.693 +; Germany 1.694 +; (according to http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf) 1.695 +[de] 1.696 +description = Germany (DE) 1.697 +ringcadence = 1000,4000 1.698 +dial = 425 1.699 +busy = 425/480,0/480 1.700 +ring = 425/1000,0/4000 1.701 +congestion = 425/240,0/240 1.702 +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 1.703 +dialrecall = !425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425 1.704 +record = 1400/80,0/15000 1.705 +info = 950/330,1400/330,1800/330,0/1000 1.706 +stutter = 425+400 1.707 + 1.708 +</file> 1.709 +<file name="res_odbc.conf"> 1.710 +;; 1.711 +;; res_odbc.conf -- Asterisk ODBC resource configuration 1.712 +;; 1.713 + 1.714 +[ENV] 1.715 + 1.716 +[asterisk-sqlite] 1.717 +enabled = no 1.718 +dsn = asterisk-sqlite 1.719 +username = 1.720 +password = 1.721 +pre-connect = no 1.722 +sanitysql = SELECT 1 1.723 +;idlecheck = 3600 1.724 +backslash_is_escape= yes 1.725 +share_connections = yes 1.726 +limit = 10 1.727 + 1.728 +</file> 1.729 +<file name="func_odbc.conf"> 1.730 +;; 1.731 +;; func_odbc.conf -- Asterisk ODBC dialplan function configuration 1.732 +;; 1.733 + 1.734 +; SQLite-based Asterisk Database Access (random SQL access) 1.735 +; Set(<variable_name>=${ASTDB_SQL(SELECT [...])}) 1.736 +; Set(ASTDB_SQL(UPDATE [...])) 1.737 +[SQL] 1.738 +prefix = ASTDB 1.739 +dsn = asterisk-sqlite 1.740 +readsql = ${ARG1} 1.741 +writesql = ${ARG1} 1.742 + 1.743 +; SQLite-based Asterisk Database Access (fixed key/value access) 1.744 +; Set(<variable_name>=${ASTDB_MAP(<key>)}) 1.745 +; Set(ASTDB_MAP(<key>)=<value>) 1.746 +[MAP] 1.747 +prefix = ASTDB 1.748 +dsn = asterisk-sqlite 1.749 +readsql = SELECT val FROM map WHERE key='${SQL_ESC(${ARG1})}' 1.750 +writesql = UPDATE map SET val='${SQL_ESC(${VAL1})}' WHERE key='${SQL_ESC(${ARG1})}' 1.751 +escapecommas = no 1.752 + 1.753 +</file> 1.754 +<file name="asterisk.pem"> 1.755 +-----BEGIN CERTIFICATE----- 1.756 +MIIDNjCCAp+gAwIBAgIBATANBgkqhkiG9w0BAQQFADCBqTELMAkGA1UEBhMCWFkx 1.757 +FTATBgNVBAgTDFNuYWtlIERlc2VydDETMBEGA1UEBxMKU25ha2UgVG93bjEXMBUG 1.758 +A1UEChMOU25ha2UgT2lsLCBMdGQxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1dGhv 1.759 +cml0eTEVMBMGA1UEAxMMU25ha2UgT2lsIENBMR4wHAYJKoZIhvcNAQkBFg9jYUBz 1.760 +bmFrZW9pbC5kb20wHhcNOTkxMDIxMTgyMTUxWhcNMDExMDIwMTgyMTUxWjCBpzEL 1.761 +MAkGA1UEBhMCWFkxFTATBgNVBAgTDFNuYWtlIERlc2VydDETMBEGA1UEBxMKU25h 1.762 +a2UgVG93bjEXMBUGA1UEChMOU25ha2UgT2lsLCBMdGQxFzAVBgNVBAsTDldlYnNl 1.763 +cnZlciBUZWFtMRkwFwYDVQQDExB3d3cuc25ha2VvaWwuZG9tMR8wHQYJKoZIhvcN 1.764 +AQkBFhB3d3dAc25ha2VvaWwuZG9tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB 1.765 +gQC554Ro+VH0dJONqljPBW+C72MDNGNy9eXnzejXrczsHs3Pc92Vaat6CpIEEGue 1.766 +yG29xagb1o7Gj2KRgpVYcmdx6tHd2JkFW5BcFVfWXL42PV4rf9ziYon8jWsbK2aE 1.767 ++L6hCtcbxdbHOGZdSIWZJwc/1Vs70S/7ImW+Zds8YEFiAwIDAQABo24wbDAbBgNV 1.768 +HREEFDASgRB3d3dAc25ha2VvaWwuZG9tMDoGCWCGSAGG+EIBDQQtFittb2Rfc3Ns 1.769 +IGdlbmVyYXRlZCBjdXN0b20gc2VydmVyIGNlcnRpZmljYXRlMBEGCWCGSAGG+EIB 1.770 +AQQEAwIGQDANBgkqhkiG9w0BAQQFAAOBgQB6MRsYGTXUR53/nTkRDQlBdgCcnhy3 1.771 +hErfmPNl/Or5jWOmuufeIXqCvM6dK7kW/KBboui4pffIKUVafLUMdARVV6BpIGMI 1.772 +5LmVFK3sgwuJ01v/90hCt4kTWoT8YHbBLtQh7PzWgJoBAY7MJmjSguYCRt91sU4K 1.773 +s0dfWsdItkw4uQ== 1.774 +-----END CERTIFICATE----- 1.775 +-----BEGIN RSA PRIVATE KEY----- 1.776 +MIICXgIBAAKBgQC554Ro+VH0dJONqljPBW+C72MDNGNy9eXnzejXrczsHs3Pc92V 1.777 +aat6CpIEEGueyG29xagb1o7Gj2KRgpVYcmdx6tHd2JkFW5BcFVfWXL42PV4rf9zi 1.778 +Yon8jWsbK2aE+L6hCtcbxdbHOGZdSIWZJwc/1Vs70S/7ImW+Zds8YEFiAwIDAQAB 1.779 +AoGBAKTvnFGKSkUJnNQGe66I0wunGgCA3W7kbarAzEF2qKYhGlZhJQnn68RmVnAW 1.780 +pXUFvB+vmtu/+4J9OmWBJsGHFvC9xH32a0PWNr7APjAKrjAD8GWS7Z6BjuxN8QhD 1.781 +WlFMmpYhYIjT1jt7RNfs2gJGS2Ryu3zutUQGwtUB9Pou03dJAkEA6yttwVINFqQP 1.782 +utgUZ1JUHrN/rE73FzYsF/CwJp5d3rLHenZzLT0iW+kNDLUw/VpzYxK7bF2Qrt/3 1.783 +QIUWwm2InQJBAMpe+jhNMJeLDLc3tG3zeithT0mFkuzWWmT2PJgQ0V78UWhw/fSn 1.784 +Qqnq7KBY/DNjlfhezrozLDD73/ccmha0Ax8CQQCBaBlyOtNm9QqO116K6HvPlRiZ 1.785 +Wa6QQEgNOG3GInknFZu9ILcKWsywZNLAfmgh0gcSqnkmDWqTQD0PbOz0Ok/lAkEA 1.786 +g24JrfUbwOASww9PhDUju/a36rTwhhZ0oKt3EP+jKsBOErmHhZP3bKlhQoZoTOu5 1.787 +Y5QXSMChS7LZcwDFZkdE2wJATRgMbhErif+ZRwt9XJRdCo5Sx6ewyGyxjc5gvUyK 1.788 +KegHcgru/ZC3pGlujRD2LqxgJNAn5QTdW4LK8xVPFySTYg== 1.789 +-----END RSA PRIVATE KEY----- 1.790 +</file>