Понедельник (10/17/11)

/dev/tty2
15:35:05
#cat /etc/r
radiusclient-ng/ rc0.d/           rc2.d/           rc4.d/           rc6.d/           reportbug.conf   resolvconf/      rpc              rsyslog.d/
rc.local         rc1.d/           rc3.d/           rc5.d/           rcS.d/           resolv.conf      rmt              rsyslog.conf
15:35:05
#cat /etc/asterisk/
adsi.conf                cdr.conf                 cli.conf                 enum.conf                func_odbc.conf           logger.conf              muted.conf               res_odbc.conf            sla.conf
adtranvofr.conf          cdr_adaptive_odbc.conf   cli_aliases.conf         extconfig.conf           gtalk.conf               manager.conf             osp.conf                 res_pgsql.conf           smdi.conf
agents.conf              cdr_custom.conf          cli_permissions.conf     extensions.ael           h323.conf                manager.d/               oss.conf                 res_snmp.conf            telcordia-1.adsi
ais.conf                 cdr_manager.conf         codecs.conf              extensions.conf          http.conf                meetme.conf              phone.conf               rpt.conf                 udptl.conf
alarmreceiver.conf       cdr_odbc.conf            console.conf             extensions.lua           iax.conf                 mgcp.conf                phoneprov.conf           rtp.conf                 unistim.conf
alsa.conf                cdr_pgsql.conf           dbsep.conf               extensions_minivm.conf   iaxprov.conf             minivm.conf              queuerules.conf          say.conf                 usbradio.conf
amd.conf                 cdr_sqlite3_custom.conf  dnsmgr.conf              features.conf            indications.conf         misdn.conf               queues.conf              sip.conf                 users.conf
asterisk.adsi            cdr_tds.conf             dsp.conf                 festival.conf            jabber.conf              modules.conf             res_config_sqlite.conf   sip_notify.conf          voicemail.conf
asterisk.conf            chan_dahdi.conf          dundi.conf               followme.conf            jingle.conf              musiconhold.conf         res_ldap.conf            skinny.conf              vpb.conf
15:35:05
#cat /etc/asterisk/asterisk.conf
[directories](!) ; remove the (!) to enable this
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdbdir => /var/lib/asterisk
astkeydir => /var/lib/asterisk
astdatadir => /usr/share/asterisk
astagidir => /usr/share/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
[options]
;verbose = 3
;debug = 3
;alwaysfork = yes ; same as -F at startup
;nofork = yes ; same as -f at startup
;quiet = yes ; same as -q at startup
;timestamp = yes ; same as -T at startup
;execincludes = yes ; support #exec in config files
;console = yes ; Run as console (same as -c at startup)
;highpriority = yes ; Run realtime priority (same as -p at startup)
;initcrypto = yes ; Initialize crypto keys (same as -i at startup)
;nocolor = yes ; Disable console colors
;dontwarn = yes ; Disable some warnings
;dumpcore = yes ; Dump core on crash (same as -g at startup)
;languageprefix = yes ; Use the new sound prefix path syntax
;internal_timing = yes
;systemname = my_system_name ; prefix uniqueid with a system name for global uniqueness issues
;autosystemname = yes ; automatically set systemname to hostname - uses 'localhost' on failure, or systemname if set
;maxcalls = 10 ; Maximum amount of calls allowed
;maxload = 0.9 ; Asterisk stops accepting new calls if the load average exceed this limit
;maxfiles = 1000 ; Maximum amount of openfiles
;minmemfree = 1 ; in MBs, Asterisk stops accepting new calls if the amount of free memory falls below this watermark
;cache_record_files = yes ; Cache recorded sound files to another directory during recording
;record_cache_dir = /tmp ; Specify cache directory (used in conjunction with cache_record_files)
;transmit_silence_during_record = yes ; Transmit SLINEAR silence while a channel is being recorded
;transmit_silence = yes ; Transmit silence while a channel is in a waiting state, a recording only state, or when DTMF is
                        ; being generated.  Note that the silence internally is generated in raw signed linear format.
                        ; This means that it must be transcoded into the native format of the channel before it can be sent
                        ; to the device.  It is for this reason that this is optional, as it may result in requiring a
                        ; temporary codec translation path for a channel that may not otherwise require one.
;transcode_via_sln = yes ; Build transcode paths via SLINEAR, instead of directly
;sendfullybooted = yes  ; Send the FullyBooted AMI event on AMI login and when all modules are finished loading
;runuser = asterisk ; The user to run as
;rungroup = asterisk ; The group to run as
;lightbackground = yes ; If your terminal is set for a light-colored background
documentation_language = en_US ; Set the Language you want Documentation displayed in. Value is in the same format as locale names
;hideconnect = yes ; Hide messages displayed when a remote console connects and disconnects
; Changing the following lines may compromise your security.
;[files]
;astctlpermissions = 0660
;astctlowner = root
;astctlgroup = apache
;astctl = asterisk.ctl
[compat]
pbx_realtime=1.6
res_agi=1.6
app_set=1.6