asterisk/asterisk.txt

Fri, 02 Dec 2011 19:22:01 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 02 Dec 2011 19:22:01 +0100
changeset 399
9360a38b5c9f
parent 347
10bd406e1c51
child 414
fd611cde817f
permissions
-rw-r--r--

Correct DB path, add gtalk config and build logic, note CAPI header problem.

     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
    83 ; You can open a TLS connection to this socket with:
    84 ;
    85 ;   openssl s_client -connect my_host:5039
    86 ;
    87 tlsenable          = no
    88 tlsbindaddr        = 127.0.0.1
    89 tlsbindport        = 5039
    90 tlscertfile        = @l_prefix@/etc/asterisk/asterisk.pem
    91 ; if tlsprivatekey is not specified search tlscertfile for key
    92 ;tlsprivatekey      = @l_prefix@/etc/asterisk/asterkey.pem
    93 ;tlscipher         = ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    95 displayconnects    = yes
    96 allowmultiplelogin = yes
    97 timestampevents    = yes
    99 [asterisk]
   100 secret             = asterisk
   101 deny               = 0.0.0.0/0.0.0.0
   102 permit             = 127.0.0.1/255.0.0.0
   103 read               = system,call,agent,user,config,log,verbose,dtmf,reporting,cdr,dialplan
   104 write              = system,call,agent,user,config,command,reporting
   106 </file>
   107 <file name="http.conf">
   108 ;;
   109 ;;  http.conf -- Asterisk HTTP Server Interface
   110 ;;
   112 [general]
   113 enabled            = no
   114 bindaddr           = 127.0.0.1
   115 bindport           = 8088
   116 tlsenable          = no
   117 tlsbindport        = 8089
   118 tlsbindaddr        = 127.0.0.1
   119 tlscertfile        = @l_prefix@/etc/asterisk/asterisk.pem
   120 enablestatic       = yes
   121 prefix             = asterisk
   122 redirect           = / /asterisk/static/docs/index.html
   124 [post_mappings]
   125 uploads            = @l_prefix@/var/asterisk/spool/uploads/
   127 </file>
   128 <file name="sip.conf">
   129 ;;
   130 ;;  sip.conf -- Asterisk SIP configuration
   131 ;;
   133 [general]
   134 useragent          = OpenPKG Asterisk PBX
   135 realm              = example
   136 bindaddr           = 127.0.0.1
   137 bindport           = 5060
   138 tcpenable          = yes
   139 tcpbindaddr        = 127.0.0.1:5060
   140 tlsenable          = no
   141 tlsbindaddr        = 127.0.0.1:5061
   142 tlscipher          = ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
   143 tlscertfile        = asterisk.pem
   144 tlscafile          = asterisk.pem
   145 srvlookup          = yes
   146 useclientcode      = yes
   147 allowguest         = yes
   148 canreinvite        = no
   149 nat                = no
   150 disallow           = all
   151 allow              = speex
   152 allow              = g726
   153 allow              = ulaw
   154 allow              = alaw
   155 allow              = gsm
   156 videosupport       = no
   157 ;allow             = h263
   158 ;allow             = h263p
   159 notifyhold         = yes
   160 notifyringing      = yes
   161 limitonpeer        = yes
   162 call-limit         = 1
   163 incominglimit      = 1
   164 context            = external
   165 ;register          = NNNNNNN:XXXXXX:NNNNNNN@sipgate.de/s
   166 ;tos               = 0x18
   168 ;[sipgate]
   169 ;type              = peer
   170 ;defaultuser       = NNNNNNN
   171 ;host              = sipgate.de
   172 ;fromuser          = NNNNNNN
   173 ;fromdomain        = sipgate.de
   174 ;canreinvite       = no
   175 ;disallow          = all
   176 ;allow             = speex
   177 ;allow             = g726
   178 ;allow             = ulaw
   179 ;allow             = alaw
   180 ;allow             = gsm
   181 ;context           = external
   183 ;[gw]
   184 ;type              = friend
   185 ;defaultuser       = gw
   186 ;callerid          = "ISDN-to-SIP" <gw>
   187 ;fromdomain        = example.com
   188 ;secret            = asterisk
   189 ;host              = dynamic
   190 ;canreinvite       = no
   191 ;disallow          = all
   192 ;allow             = g726
   193 ;allow             = ulaw
   194 ;allow             = alaw
   195 ;allow             = gsm
   196 ;dtmfmode          = rfc2833
   197 ;qualify           = yes
   198 ;insecure          = yes
   199 ;context           = external
   200 ;nat               = no
   202 [std-user](!)
   203 type               = friend
   204 context            = internal
   205 host               = dynamic
   206 dtmfmode           = rfc2833
   207 qualify            = yes
   208 disallow           = all
   209 allow              = speex
   210 allow              = g726
   211 allow              = ulaw
   212 allow              = alaw
   214 [behind-nat](!)
   215 nat                = yes
   217 [with-mailbox](!)
   218 hasvoicemail       = yes
   219 subscribemwi       = yes
   220 subscribecontext   = internal
   221 vmexten            = voicemail
   223 [foo](std-user,with-mailbox)
   224 secret             = asterisk
   225 callerid           = "Mr. Foo" <11>
   226 mailbox            = 11@internal
   228 [bar](std-user,with-mailbox)
   229 secret             = asterisk
   230 callerid           = "Mr. Bar" <12>
   231 mailbox            = 12@internal
   233 </file>
   234 <file name="iax.conf">
   235 ;;
   236 ;;  iax.conf -- Asterisk IAX configuration
   237 ;;
   239 ;; This configuration is reread at reload
   240 ;; or with the CLI command
   241 ;;   reload chan_iax2.so
   242 ;;
   243 ;; General settings, like port number to bind to, and
   244 ;; an option address (the default is to bind to all
   245 ;; local addresses).
   246 ;;
   247 ;[general]
   248 ;bindport=4569       ; bindport and bindaddr may be specified
   249 ;                    ; NOTE: bindport must be specified BEFORE
   250 ;                    ; bindaddr or may be specified on a specific
   251 ;                    ; bindaddr if followed by colon and port
   252 ;                    ; (e.g. bindaddr=192.168.0.1:4569)
   253 ;bindaddr=127.0.0.1  ; more than once to bind to multiple
   254 ;                    ; addresses, but the first will be the
   255 ;                    ; default
   257 </file>
   258 <file name="rtp.conf">
   259 ;;
   260 ;;  rtp.conf -- Asterisk RTP configuration
   261 ;;
   263 [general]
   264 rtpstart           = 7070
   265 rtpend             = 7089
   267 </file>
   268 <file name="sip_notify.conf">
   269 ;;
   270 ;;  sip_notify.conf -- Asterisk NOTIFY automation from command line
   271 ;;
   273 ; rfc3842
   274 ; put empty "Content=>" at the end to have CRLF after last body line
   275 [clear-mwi]
   276 Event=>message-summary
   277 Content-type=>application/simple-message-summary
   278 Content=>Messages-Waiting: no
   279 Content=>Message-Account: sip:asterisk@127.0.0.1
   280 Content=>Voice-Message: 0/0 (0/0)
   281 Content=>
   283 ; Aastra
   284 [aastra-check-cfg]
   285 Event=>check-sync
   287 [aastra-xml]
   288 Event=>aastra-xml
   290 ; Linksys
   291 [linksys-cold-restart]
   292 Event=>reboot_now
   294 [linksys-warm-restart]
   295 Event=>restart_now
   297 ; Polycom
   298 [polycom-check-cfg]
   299 Event=>check-sync
   301 ; Sipura
   302 [sipura-check-cfg]
   303 Event=>resync
   305 [sipura-get-report]
   306 Event=>report
   308 ; Snom
   309 [snom-check-cfg]
   310 Event=>check-sync\;reboot=false
   312 [snom-reboot]
   313 Event=>reboot
   315 ; Cisco
   316 [cisco-check-cfg]
   317 Event=>check-sync
   319 </file>
   320 <file name="extensions.conf">
   321 ;;
   322 ;;  extensions.conf -- Asterisk inbound & outbound call configuration
   323 ;;
   325 [general]
   326 static             = yes
   327 writeprotect       = yes
   328 autofallthrough    = yes
   330 [globals]
   331 MEETME_SPOOLDIR    = @l_prefix@/var/asterisk/spool/meetme
   332 STAFF              = SIP/foo&SIP/bar
   333 CONSOLE            = Console/dsp
   334 DOLLAR             = $
   336 ;;
   337 ;;  SPECIAL CONTEXTS
   338 ;;
   340 [macro-dial]
   341 exten              = s,1,Dial(${ARG1},${ARG2},${ARG3})
   342 exten              = s,n,Goto(s-${DIALSTATUS},1)
   343 exten              = s-ANSWER,1,Hangup
   344 exten              = s-BUSY,1,GotoIf($["${ARG4}" == ""]?novm)
   345 exten              = s-BUSY,n,GotoIf($[${MAILBOX_EXISTS(${ARG4})} == 0]?novm)
   346 exten              = s-BUSY,n,VoiceMail(${ARG4},b)
   347 exten              = s-BUSY,n,Playback(vm-goodbye)
   348 exten              = s-BUSY,n(novm),Hangup
   349 exten              = s-NOANSWER,1,GotoIf($["${ARG4}" == ""]?novm)
   350 exten              = s-NOANSWER,n,MailboxExists(${ARG4})
   351 exten              = s-NOANSWER,n,GotoIf($[${MAILBOX_EXISTS(${ARG4})} == 0]?novm)
   352 exten              = s-NOANSWER,n,VoiceMail(${ARG4},u)
   353 exten              = s-NOANSWER,n,Playback(vm-goodbye)
   354 exten              = s-NOANSWER,n(novm),Hangup
   355 exten              = _s-.,1,Goto(s-NOANSWER,1)
   357 [default]
   358 ;   currently empty
   360 ;;
   361 ;;  EXTERNAL DIAL CONTEXT
   362 ;;
   364 [external]
   365 include            = default
   367 ;   external incoming SIP connection
   368 exten              = example,hint,${STAFF}
   369 exten              = example,1,Goto(s,1)
   370 exten              = s,n,Ringing
   371 exten              = s,n,Wait(1)
   372 exten              = s,n,Answer
   373 exten              = s,n,Macro(dial,${STAFF},30,gTtr,1@external)
   375 ;   external to internal mapping
   376 exten              = foo,hint,SIP/foo
   377 exten              = foo,1,Goto(internal,foo,1)
   378 exten              = bar,hint,SIP/bar
   379 exten              = bar,1,Goto(internal,bar,1)
   381 ;;
   382 ;;  INTERNAL DIAL CONTEXT
   383 ;;
   385 [internal]
   386 include            = default
   387 ;include           = parkedcalls
   389 ;   internal to external mapping
   390 exten              = example,1,Goto(external,example,1)
   392 ;   internal user <foo> #11
   393 exten              = foo,hint,SIP/foo
   394 exten              = foo,1,Goto(11,1)
   395 exten              = 11,hint,SIP/foo
   396 exten              = 11,1,Macro(dial,SIP/foo,30,gTtr,11@internal)
   398 ;   internal user <bar> #12
   399 exten              = bar,hint,SIP/bar
   400 exten              = bar,1,Goto(12,1)
   401 exten              = 12,hint,SIP/bar
   402 exten              = 12,1,Macro(dial,SIP/bar,30,gTtr,12@internal)
   404 ;   internal group <all> #20
   405 exten              = all,1,Goto(20,1)
   406 exten              = 20/foo,1,Macro(dial,SIP/bar,60,)
   407 exten              = 20/bar,1,Macro(dial,SIP/foo,60,)
   409 ;   internal service <conference> #7<n>
   410 exten              = conference,1,Goto(70,1)
   411 exten              = _7[0-9],1,Set(confno=${EXTEN:1})
   412 exten              = _7[0-9],n,Goto(7,enter)
   413 exten              = 7,1,Set(TIMEOUT(digit)=3)
   414 exten              = 7,n,Set(TIMEOUT(response)=6)
   415 exten              = 7,n(repeat),Read(confno,conf-getconfno,3)
   416 exten              = 7,n,GotoIf($[${confno} >= 0 & ${confno} <= 9]?enter)
   417 exten              = 7,n,Playback(conf-invalid)
   418 exten              = 7,n,Goto(repeat)
   419 exten              = 7,n(enter),Playback(conf-placeintoconf)
   420 exten              = 7,n,SayNumber(${confno})
   421 exten              = 7,n,Set(SPYGROUP=conference-${confno})
   422 exten              = 7,n,Set(confopt=cCpsMvio)
   423 exten              = 7,n,GotoIf($[${confno} >= 4 & ${confno} <= 9]?l1:l2)
   424 exten              = 7,n(l1),Set(confopt=${confopt}i)
   425 exten              = 7,n(l2),GotoIf($[${confno} >= 7 & ${confno} <= 9]?l3:l4)
   426 exten              = 7,n(l3),Set(confopt=${confopt}r)
   427 exten              = 7,n,Set(MEETME_RECORDINGFILE=${MEETME_SPOOLDIR}/meetme-conference-${confno}-${STRFTIME(${EPOCH},UTC,%Y%m%d%H%M)})
   428 exten              = 7,n,Set(MEETME_RECORDINGFORMAT=wav49)
   429 exten              = 7,n,Playback(this-call-may-be-monitored-or-recorded)
   430 exten              = 7,n(l4),MeetMe(${confno},${confopt})
   431 exten              = 7,n,Playback(beep)
   432 exten              = 7,n,Wait(1)
   433 exten              = 7,n,Playback(vm-goodbye)
   434 exten              = 7,n,Hangup
   436 ;   internal service <voicemail> #80/#*80<n>
   437 exten              = voicemail,1,Goto(80,1)
   438 exten              = 80,1,GotoIf($[${MAILBOX_EXISTS(${CALLERID(num)}@internal)} == 0]?novm)
   439 exten              = 80,n,VoiceMailMain(${CALLERID(num)}@internal,s)
   440 exten              = 80,n,Hangup
   441 exten              = 80,n(novm),Playback(invalid)
   442 exten              = 80,n,Hangup
   443 exten              = _*80.,1,GotoIf($[${MAILBOX_EXISTS(${EXTEN:3}@internal)} == 0]?novm)
   444 exten              = _*80.,n,VoiceMailMain(${EXTEN:3}@internal)
   445 exten              = _*80.,n,Hangup
   446 exten              = _*80.,n(novm),Playback(invalid)
   447 exten              = _*80.,n,Hangup
   449 ;   internal service <echo> #81
   450 exten              = echo,1,Goto(81,1)
   451 exten              = 81,1,Answer
   452 exten              = 81,n,Playback(demo-echotest)
   453 exten              = 81,n,Wait(1)
   454 exten              = 81,n,Playback(beep)
   455 exten              = 81,n,Echo
   456 exten              = 81,n,Wait(1)
   457 exten              = 81,n,Playback(demo-echodone)
   458 exten              = 81,n,Wait(1)
   459 exten              = 81,n,Playback(vm-goodbye)
   460 exten              = 81,n,Hangup
   462 ;   internal service <reload> #82
   463 exten              = reload,1,Goto(82,1)
   464 exten              = 82,1,Answer
   465 exten              = 82,n,Read(pin,conf-getpin,4)
   466 exten              = 82,n,GotoIf($[${pin} = 1234]?ok)
   467 exten              = 82,n,Playback(conf-invalidpin)
   468 exten              = 82,n,Hangup
   469 exten              = 82,n(ok),Playback(beep)
   470 exten              = 82,n,Wait(1)
   471 exten              = 82,n,Playback(beep)
   472 exten              = 82,n,Wait(1)
   473 exten              = 82,n,Playback(beep)
   474 exten              = 82,n,Wait(1)
   475 exten              = 82,n,System(@l_prefix@/sbin/asterisk -rx reload)
   476 exten              = 82,n,Hangup
   478 ;   external outgoing ISDN (via SIP-to-ISDN gateway call-through)
   479 ;exten             = _0.,1,Set(number=${EXTEN:1})
   480 ;exten             = _0.,n,Set(enum=${ENUMLOOKUP(+${number},ALL)})
   481 ;exten             = _0.,n,Set(enum_is_sip_url=${REGEX("^SIP/.+" ${enum})})
   482 ;exten             = _0.,n,GotoIf($["${enum_is_sip_url}" = "1"]?sip:isdn)
   483 ;exten             = _0.,n(sip),Dial(${enum},60,o)
   484 ;exten             = _0.,n,Goto(_0.,7)
   485 ;exten             = _0.,n(isdn),Dial(SIP/gw,60,D(w1234w0#31#${number}#))
   486 ;exten             = _0.,n,Hangup
   488 ;   internal outgoing SIP call (part 1/2)
   489 ;   (notice sort-order trickery!)
   490 include            = internal-siponly
   492 [internal-siponly]
   493 ;   internal outgoing SIP call (part 2/2)
   494 ;   (notice sort-order trickery!)
   495 exten              = _.[@].,1,Dial(SIP/${EXTEN}@${SIPDOMAIN},60,o)
   496 exten              = _.[@].,n,Hangup
   497 exten              = _.[@].,102,Busy
   499 </file>
   500 <file name="enum.conf">
   501 ;;
   502 ;;  enum.conf -- Asterisk ENUM configuration
   503 ;;
   505 [general]
   506 search             = e164.arpa
   507 search             = e164.org
   509 </file>
   510 <file name="musiconhold.conf">
   511 ;;
   512 ;;  musiconhold.conf -- Asterisk music-on-hold configuration
   513 ;;
   515 [default]
   516 mode               = files
   517 directory          = @l_prefix@/share/asterisk/moh
   519 </file>
   520 <file name="voicemail.conf">
   521 ;;
   522 ;;  voicemail.conf -- Asterisk voice mail configuration
   523 ;;
   525 [general]
   526 format             = wav49
   527 serveremail        = example@example.com
   528 attach             = yes
   529 maxmsg             = 20
   530 maxsecs            = 180
   531 minsecs            = 3
   532 maxgreet           = 60
   533 skipms             = 3000
   534 maxsilence         = 10
   535 silencethreshold   = 128
   536 maxlogins          = 3
   537 charset            = ISO-8859-1
   538 pbxskip            = yes
   539 fromstring         = Asterisk PBX
   540 usedirectory       = yes
   541 emailsubject       = [PBX]: New voice message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
   542 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
   543 pagerfromstring    = Asterisk PBX
   544 pagersubject       = New VM
   545 pagerbody          = New ${VM_DUR} long msg in box ${VM_MAILBOX}\nfrom ${VM_CALLERID}, on ${VM_DATE}
   546 emaildateformat    = %A, %d %B %Y %H:%M:%S %r
   547 mailcmd            = @l_prefix@/sbin/sendmail -t
   549 [default]
   551 [external]
   552 1                  = 1234,Example,example@example.com,,delete=yes
   554 [internal]
   555 11                 = 1234,Mr. Foo,foo@example.com,,delete=no
   556 12                 = 1234,Mr. Bar,bar@example.com,,delete=no
   558 </file>
   559 <file name="cdr.conf">
   560 ;;
   561 ;;  cdr.conf -- Asterisk Call Detail Record (CDR) configuration
   562 ;;
   564 [general]
   565 enable             = yes
   566 unanswered         = no
   567 batch              = no
   568 size               = 100
   569 time               = 300
   570 scheduleronly      = no
   571 safeshutdown       = yes
   572 endbeforehexten    = yes
   574 </file>
   575 <file name="cdr_custom.conf">
   576 ;;
   577 ;;  cdr_custom.conf -- Asterisk Call Detail Record (CDR) via Comma Separated Value (CSV) format configuration
   578 ;;
   580 [mappings]
   581 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)}"
   583 </file>
   584 <file name="cdr_sqlite3_custom.conf">
   585 ;;
   586 ;;  cdr_sqlite3_custom.conf -- Asterisk Call Detail Record (CDR) via SQLite RDBMS format configuration
   587 ;;
   589 [master]
   590 table              = cdr
   591 columns            = start, answer, end, duration, billsec, clid, src, dst, dcontext, channel, dstchannel, lastapp, lastdata, disposition, amaflags, accountcode, uniqueid, userfield
   592 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)}"
   594 </file>
   595 <file name="cdr_manager.conf">
   596 ;;
   597 ;;  cdr_manager.conf -- Asterisk Call Detail Record (CDR) via Asterisk Manager Interface (AMI) configuration
   598 ;;
   600 [general]
   601 enabled            = yes
   603 </file>
   604 <file name="meetme.conf">
   605 ;;
   606 ;;  meetme.conf -- Asterisk conference configuration
   607 ;;
   609 [general]
   610 audiobuffers       = 32
   611 ;schedule          = yes
   612 ;logmembercount    = yes
   613 ;fuzzystart        = 300
   614 ;earlyalert        = 3600
   615 ;endalert          = 120
   617 [rooms]
   618 conf               = 0
   619 conf               = 1
   620 conf               = 2
   621 conf               = 3
   622 conf               = 4
   623 conf               = 5
   624 conf               = 6
   625 conf               = 7
   626 conf               = 8
   627 conf               = 9,1234,1234
   629 </file>
   630 <file name="codecs.conf">
   631 ;;
   632 ;;  codecs.conf -- Asterisk codec configuration
   633 ;;
   635 [speex]
   636 quality            = 6
   637 complexity         = 4
   638 enhancement        = true
   639 vad                = true
   640 vbr                = true
   641 abr                = 8000
   642 vbr_quality        = 5
   643 dtx                = false
   644 preprocess         = false
   645 pp_vad             = false
   646 pp_agc             = false
   647 pp_agc_level       = 8000
   648 pp_denoise         = false
   649 pp_dereverb        = false
   650 pp_dereverb_decay  = 0.4
   651 pp_dereverb_level  = 0.3
   653 [plc]
   654 genericplc         = true
   656 </file>
   657 <file name="chan_dahdi.conf">
   658 ;;
   659 ;;  chan_dahdi.conf -- Asterisk DAHDI channel configuration
   660 ;;
   662 ;   (an empty configuration is ok, but required even for DAHDI "dahdidummy" only)
   663 [trunkgroups]
   664 [channels]
   666 </file>
   667 <file name="capi.conf">
   668 ;;
   669 ;;  capi.conf -- Asterisk ISDN/CAPI channel configuration
   670 ;;
   672 [general]
   673 nationalprefix     = 0
   674 internationalprefix= 00
   675 rxgain             = 1.0
   676 txgain             = 1.0
   677 ulaw               = no
   678 debug              = yes
   680 [ISDN1]
   681 isdnmode           = msn
   682 incomingmsn        = *
   683 controller         = 0
   684 group              = 1
   685 ;prefix            = 0
   686 softdtmf           = off
   687 relaxdtmf          = off
   688 accountcode        =
   689 context            = external
   690 holdtype           = local
   691 ;immediate         = yes
   692 echocancel         = no
   693 echosquelch        = no
   694 ;echotail          = 64
   695 ;bridge            = yes
   696 ;callgroup         = 1
   697 ;deflect           = 1234567
   698 devices            = 2
   699 ;dtmf_generate     = yes
   701 </file>
   702 <file name="features.conf">
   703 ;;
   704 ;;  features.conf -- Asterisk Call Features configuration
   705 ;;
   707 [general]
   708 ;parkext           = 700
   709 ;parkpos           = 701-720
   710 ;context           = parkedcalls
   712 </file>
   713 <file name="gtalk.conf">
   714 ;;
   715 ;;  gtalk.conf -- Asterisk GTalk configuration
   716 ;;
   718 [general]
   719 ;context     = default     ; Context to dump call into
   720 ;bindaddr    = 0.0.0.0     ; Address to bind to
   721 ;externip    = 127.0.0.1   ; Set your external ip if you are behind a NAT.
   722 ;stunaddr    = <hostname>  ; Get your external ip from a STUN server.
   723 ;                          ; Note, if the STUN query is successful, this
   724 ;                          ; will replace any value placed in externip;
   725 ;allowguest  = yes         ; Allow calls from people not in list of peers
   727 [guest]                   ; special account for options on guest account
   728 ;disallow    = all
   729 ;allow       = ulaw
   730 ;context     = guest
   732 [ogorman]
   733 ;username    = <person>@gmail.com  ; username of the peer you're
   734 ;                                  ; calling or accepting calls from
   735 ;disallow    = all
   736 ;allow       = ulaw
   737 ;context     = default
   738 ;connection  = asterisk            ; client or component in jabber.conf
   739 ;                                  ; for the call to leave on.
   741 </file>
   742 <file name="jabber.conf">
   743 ;;
   744 ;;  jabber.conf -- Asterisk Jabber configuration
   745 ;;
   747 [general]
   748 ;debug             = yes
   749 ;autoprune         = yes
   750 ;autoregister      = yes
   752 ;[asterisk]
   753 ;type              = client
   754 ;serverhost        = jabber.example.com
   755 ;username          = asterisk@example.com/asterisk
   756 ;secret            = asterisk
   757 ;priority          = 1
   758 ;port              = 5222
   759 ;usetls            = no
   760 ;usesasl           = no
   761 ;buddy             = buddy@example.com
   762 ;status            = available
   763 ;timeout           = 100
   765 </file>
   766 <file name="indications.conf">
   767 ;;
   768 ;;  indications.conf -- Asterisk Tone Indications
   769 ;;
   771 [general]
   772 country            = us
   774 ;   United States
   775 ;   (according to tones in North America)
   776 [us]
   777 description        = United States (US)
   778 ringcadence        = 2000,4000
   779 dial               = 350+440
   780 busy               = 480+620/500,0/500
   781 ring               = 440+480/2000,0/4000
   782 congestion         = 480+620/250,0/250
   783 callwaiting        = 440/300,0/10000
   784 dialrecall         = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
   785 record             = 1400/500,0/15000
   786 info               = !950/330,!1400/330,!1800/330,0
   787 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
   789 ;   United Kingdom
   790 ;   (partly according to BT SIN350)
   791 [uk]
   792 description        = United Kingdom (UK)
   793 ringcadence        = 400,200,400,2000
   794 dial               = 350+440
   795 busy               = 400/375,0/375
   796 ring               = 400+450/400,0/200,400+450/400,0/2000
   797 congestion         = 400/400,0/350,400/225,0/525
   798 callwaiting        = 400/100,0/4000
   799 dialrecall         = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
   800 record             = 1400/500,0/60000
   801 info               = 950/330,0/15,1400/330,0/15,1800/330,0/1000
   802 stutter            = 350+440/750,440/750
   804 ;   Germany
   805 ;   (according to http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf)
   806 [de]
   807 description        = Germany (DE)
   808 ringcadence        = 1000,4000
   809 dial               = 425
   810 busy               = 425/480,0/480
   811 ring               = 425/1000,0/4000
   812 congestion         = 425/240,0/240
   813 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
   814 dialrecall         = !425/100,!0/100,!425/100,!0/100,!425/100,!0/100,425
   815 record             = 1400/80,0/15000
   816 info               = 950/330,1400/330,1800/330,0/1000
   817 stutter            = 425+400
   819 </file>
   820 <file name="ccss.conf">
   821 ;;
   822 ;;  ccss.conf -- Asterisk Call Completion Supplementary Services configuration
   823 ;;
   825 ; Warning! The CCSS implementation brings several changes to the
   826 ; channel components of Asterisk. To use CCSS, specify the number
   827 ; of maximum requests in this file but do not forget to specify
   828 ; the new CCSS related channel specific options in other config
   829 ; files as well! Some are 'cc_offer_timer', 'ccbs_available_timer',
   830 ; 'cc_agent_policy=never' and many more (in other files.)
   832 [general]
   833 ; There is only a single option that may be defined in this file.
   834 ; The cc_max_requests option is a global limit on the number of
   835 ; CC requests that may be in the Asterisk system at any time.
   836 ;
   837 cc_max_requests = 20
   839 </file>
   840 <file name="res_fax.conf">
   841 ;;
   842 ;;  res_fax.conf -- Asterisk fax resource configuration
   843 ;;
   845 [general]
   846 ; Maximum Transmission Rate
   847 ; Possible values are { 2400 | 4800 | 7200 | 9600 | 12000 | 14400 }
   848 ; Set this value to the maximum desired transfer rate.  Default: 14400
   849 maxrate=14400
   851 ; Minimum Transmission Rate
   852 ; Possible values are { 2400 | 4800 | 7200 | 9600 | 12000 | 14400 }
   853 ; Set this value to the minimum desired transfer rate.  Default: 2400
   854 minrate=2400
   856 ; Send Progress/Status events to manager session
   857 ; Manager events with 'call' class permissions will receive events indicating the
   858 ; steps to initiate a fax session.  Fax completion events are always sent to manager
   859 ; sessions with 'call' class permissions, regardless of the value of this option.
   860 ; Default: no
   861 statusevents=yes
   863 ; modem capabilities
   864 ; Possible values are { v17 | v27 | v29 }
   865 ; Set this value to modify the default modem options.  Default: v17,v27,v29
   866 modems=v17,v27,v29
   868 ; Enable/disable T.30 ECM (error correction mode) by default.
   869 ; Default: Enabled
   870 ecm=yes
   872 </file>
   873 <file name="res_odbc.conf">
   874 ;;
   875 ;;  res_odbc.conf -- Asterisk ODBC resource configuration
   876 ;;
   878 [ENV]
   880 [asterisk-sqlite]
   881 enabled            = no
   882 dsn                = asterisk-sqlite
   883 username           =
   884 password           =
   885 pre-connect        = no
   886 sanitysql          = SELECT 1
   887 ;idlecheck         = 3600
   888 backslash_is_escape= yes
   889 share_connections  = yes
   890 limit              = 10
   892 </file>
   893 <file name="func_odbc.conf">
   894 ;;
   895 ;;  func_odbc.conf -- Asterisk ODBC dialplan function configuration
   896 ;;
   898 ;   SQLite-based Asterisk Database Access (random SQL access)
   899 ;   Set(<variable_name>=${ASTDB_SQL(SELECT [...])})
   900 ;   Set(ASTDB_SQL(UPDATE [...]))
   901 [SQL]
   902 prefix             = ASTDB
   903 dsn                = asterisk-sqlite
   904 readsql            = ${ARG1}
   905 writesql           = ${ARG1}
   907 ;   SQLite-based Asterisk Database Access (fixed key/value access)
   908 ;   Set(<variable_name>=${ASTDB_MAP(<key>)})
   909 ;   Set(ASTDB_MAP(<key>)=<value>)
   910 [MAP]
   911 prefix             = ASTDB
   912 dsn                = asterisk-sqlite
   913 readsql            = SELECT val FROM map WHERE key='${SQL_ESC(${ARG1})}'
   914 writesql           = UPDATE map SET val='${SQL_ESC(${VAL1})}' WHERE key='${SQL_ESC(${ARG1})}'
   915 escapecommas       = no
   917 </file>
   918 <file name="asterisk.pem">
   919 -----BEGIN CERTIFICATE-----
   920 MIIDNjCCAp+gAwIBAgIBATANBgkqhkiG9w0BAQQFADCBqTELMAkGA1UEBhMCWFkx
   921 FTATBgNVBAgTDFNuYWtlIERlc2VydDETMBEGA1UEBxMKU25ha2UgVG93bjEXMBUG
   922 A1UEChMOU25ha2UgT2lsLCBMdGQxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1dGhv
   923 cml0eTEVMBMGA1UEAxMMU25ha2UgT2lsIENBMR4wHAYJKoZIhvcNAQkBFg9jYUBz
   924 bmFrZW9pbC5kb20wHhcNOTkxMDIxMTgyMTUxWhcNMDExMDIwMTgyMTUxWjCBpzEL
   925 MAkGA1UEBhMCWFkxFTATBgNVBAgTDFNuYWtlIERlc2VydDETMBEGA1UEBxMKU25h
   926 a2UgVG93bjEXMBUGA1UEChMOU25ha2UgT2lsLCBMdGQxFzAVBgNVBAsTDldlYnNl
   927 cnZlciBUZWFtMRkwFwYDVQQDExB3d3cuc25ha2VvaWwuZG9tMR8wHQYJKoZIhvcN
   928 AQkBFhB3d3dAc25ha2VvaWwuZG9tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKB
   929 gQC554Ro+VH0dJONqljPBW+C72MDNGNy9eXnzejXrczsHs3Pc92Vaat6CpIEEGue
   930 yG29xagb1o7Gj2KRgpVYcmdx6tHd2JkFW5BcFVfWXL42PV4rf9ziYon8jWsbK2aE
   931 +L6hCtcbxdbHOGZdSIWZJwc/1Vs70S/7ImW+Zds8YEFiAwIDAQABo24wbDAbBgNV
   932 HREEFDASgRB3d3dAc25ha2VvaWwuZG9tMDoGCWCGSAGG+EIBDQQtFittb2Rfc3Ns
   933 IGdlbmVyYXRlZCBjdXN0b20gc2VydmVyIGNlcnRpZmljYXRlMBEGCWCGSAGG+EIB
   934 AQQEAwIGQDANBgkqhkiG9w0BAQQFAAOBgQB6MRsYGTXUR53/nTkRDQlBdgCcnhy3
   935 hErfmPNl/Or5jWOmuufeIXqCvM6dK7kW/KBboui4pffIKUVafLUMdARVV6BpIGMI
   936 5LmVFK3sgwuJ01v/90hCt4kTWoT8YHbBLtQh7PzWgJoBAY7MJmjSguYCRt91sU4K
   937 s0dfWsdItkw4uQ==
   938 -----END CERTIFICATE-----
   939 -----BEGIN RSA PRIVATE KEY-----
   940 MIICXgIBAAKBgQC554Ro+VH0dJONqljPBW+C72MDNGNy9eXnzejXrczsHs3Pc92V
   941 aat6CpIEEGueyG29xagb1o7Gj2KRgpVYcmdx6tHd2JkFW5BcFVfWXL42PV4rf9zi
   942 Yon8jWsbK2aE+L6hCtcbxdbHOGZdSIWZJwc/1Vs70S/7ImW+Zds8YEFiAwIDAQAB
   943 AoGBAKTvnFGKSkUJnNQGe66I0wunGgCA3W7kbarAzEF2qKYhGlZhJQnn68RmVnAW
   944 pXUFvB+vmtu/+4J9OmWBJsGHFvC9xH32a0PWNr7APjAKrjAD8GWS7Z6BjuxN8QhD
   945 WlFMmpYhYIjT1jt7RNfs2gJGS2Ryu3zutUQGwtUB9Pou03dJAkEA6yttwVINFqQP
   946 utgUZ1JUHrN/rE73FzYsF/CwJp5d3rLHenZzLT0iW+kNDLUw/VpzYxK7bF2Qrt/3
   947 QIUWwm2InQJBAMpe+jhNMJeLDLc3tG3zeithT0mFkuzWWmT2PJgQ0V78UWhw/fSn
   948 Qqnq7KBY/DNjlfhezrozLDD73/ccmha0Ax8CQQCBaBlyOtNm9QqO116K6HvPlRiZ
   949 Wa6QQEgNOG3GInknFZu9ILcKWsywZNLAfmgh0gcSqnkmDWqTQD0PbOz0Ok/lAkEA
   950 g24JrfUbwOASww9PhDUju/a36rTwhhZ0oKt3EP+jKsBOErmHhZP3bKlhQoZoTOu5
   951 Y5QXSMChS7LZcwDFZkdE2wJATRgMbhErif+ZRwt9XJRdCo5Sx6ewyGyxjc5gvUyK
   952 KegHcgru/ZC3pGlujRD2LqxgJNAn5QTdW4LK8xVPFySTYg==
   953 -----END RSA PRIVATE KEY-----
   954 </file>

mercurial