/l3/users/sergey-tymku-public/nt-voip-2014-apr/debian5/root :1 :2 :3 :4 :5 :6 |
|
#tail -F /var/log/asterisk/
tail: error reading `/var/log/asterisk/': Is a directory tail: /var/log/asterisk/: cannot follow end of this type of file; giving up on this name ^[[A^[[A^Z [1]+ Stopped tail -F /var/log/asterisk/ |
#tail -F /var/log/asterisk/
cdr-csv/ cdr-custom/ messages queue_log |
#tail -F /var/log/asterisk/messages
[Apr 26 10:57:59] NOTICE[15891] pbx_spool.c: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?) [Apr 26 10:57:59] NOTICE[15891] pbx_spool.c: Queued call to SIP/2102 expired without completion after 0 attempts [Apr 26 11:12:00] NOTICE[15995] pbx_spool.c: Call failed to go through, reason (5) Remote end is Busy [Apr 26 11:12:00] NOTICE[15995] pbx_spool.c: Queued call to SIP/graz/2101 expired without completion after 0 attempts [Apr 26 11:12:22] ERROR[16027] netsock2.c: getaddrinfo("vienna", "(null)", ...): No address associated with hostname [Apr 26 11:12:22] WARNING[16027] chan_sip.c: No such host: vienna [Apr 26 11:12:22] NOTICE[16027] channel.c: Unable to request channel SIP/vienna/2201 [Apr 26 11:12:22] NOTICE[16027] pbx_spool.c: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?) [Apr 26 11:12:22] NOTICE[16027] pbx_spool.c: Queued call to SIP/vienna/2201 expired without completion after 0 attempts [Apr 26 11:12:59] NOTICE[16059] pbx_spool.c: Call completed to SIP/2201 [Apr 26 11:17:14] NOTICE[16212] pbx_spool.c: Call completed to SIP/2201 ^C |
#ls /etc/asterisk/*dahdi*
/etc/asterisk/chan_dahdi.conf |
#cat /etc/asterisk/chan_
chan_dahdi.conf chan_mobile.conf chan_ooh323.conf |
#cat /etc/asterisk/chan_dahdi.conf
; ; DAHDI Telephony Configuration file ; ; You need to restart Asterisk to re-configure the DAHDI channel ; CLI> module reload chan_dahdi.so ; will reload the configuration file, but not all configuration options ; are re-configured during a reload (signalling, as well as PRI and ; SS7-related settings cannot be changed on a reload). ; ; This file documents many configuration variables. Normally unless you know ... ; ; ;[fax](phones) ;dahdichan = 2 ;faxdetect = no ;context = fax ; ;[phone-3](phones) ;dahdichan = 3 ;pickupgroup = 3,4 |
#;
extensions.conf extensions.conf.1 extensions.conf.local extensions.conf.SAVED |
#vi /etc/asterisk/extensions.conf
|
#./
l3script: ./: Is a directory |
#ls >?
|
#ls ./
all asterisk-core-sounds-ru-wav-current.tar.gz copy_ssh dfdfadf install q |
#svn checkout http://chan-datacard.googlecode.com/svn/trunk datacard
A datacard/__helpers.c A datacard/__char_conv.c A datacard/configure A datacard/chan_datacard.h A datacard/Makefile.in A datacard/__cli.c A datacard/COPYRIGHT.txt A datacard/__channel.c A datacard/__manager.c A datacard/__at_fifo_queue.c ... A datacard/__at_response.c A datacard/__ringbuffer.c A datacard/README.txt A datacard/etc A datacard/etc/datacard.conf A datacard/__ringbuffer.h A datacard/chan_datacard.c A datacard/__at_parse.c A datacard/__at_read.c Checked out revision 191. |
#cd datacard/
|
#./configure
configure complete, now type 'make' |
#make
gcc -Wextra -fPIC -DAST_MODULE=\"chan_datacard\" -D_THREAD_SAFE -I. -I/usr/include -O2 -DICONV_CONST="" -D__DEBUG__ -D__MANAGER__ -D__APP__ -c chan_datacard.c chan_datacard.c:30:22: fatal error: asterisk.h: No such file or directory compilation terminated. make: *** [chan_datacard.o] Error 1 |
#apr-get install asterisk-dev
l3script: apr-get: command not found |
#apt-get install asterisk-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: asterisk-dev 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Need to get 959 kB of archives. After this operation, 2,131 kB of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian/ wheezy/main asterisk-dev all 1:1.8.13.1~dfsg1-3+deb7u3 [959 kB] Fetched 959 kB in 2s (367 kB/s) Selecting previously unselected package asterisk-dev. (Reading database ... 136922 files and directories currently installed.) Unpacking asterisk-dev (from .../asterisk-dev_1%3a1.8.13.1~dfsg1-3+deb7u3_all.deb) ... Setting up asterisk-dev (1:1.8.13.1~dfsg1-3+deb7u3) ... |
#make
gcc -Wextra -fPIC -DAST_MODULE=\"chan_datacard\" -D_THREAD_SAFE -I. -I/usr/include -O2 -DICONV_CONST="" -D__DEBUG__ -D__MANAGER__ -D__APP__ -c chan_datacard.c gcc -shared -Xlinker -x chan_datacard.o -o chan_datacard.so chmod 755 chan_datacard.so |
#make install
gcc -Wextra -fPIC -DAST_MODULE=\"chan_datacard\" -D_THREAD_SAFE -I. -I/usr/include -O2 -DICONV_CONST="" -D__DEBUG__ -D__MANAGER__ -D__APP__ -c chan_datacard.c gcc -shared -Xlinker -x chan_datacard.o -o chan_datacard.so chmod 755 chan_datacard.so install -d /usr/lib/asterisk/modules/ install -m 755 chan_datacard.so /usr/lib/asterisk/modules/ |
#ls
__app.c __at_send.c __channel.c etc __manager.c __at_fifo_queue.c chan_datacard.c __char_conv.c __helpers.c __memmem.c __at_parse.c chan_datacard.h __cli.c LICENSE.txt README.txt __at_read.c chan_datacard.o configure Makefile __ringbuffer.c __at_response.c chan_datacard.so COPYRIGHT.txt Makefile.in __ringbuffer.h |
#cd
__app.c chan_datacard.c __cli.c Makefile __ringbuffer.h __at_fifo_queue.c chan_datacard.h configure Makefile.in .svn/ __at_parse.c chan_datacard.o COPYRIGHT.txt __manager.c __at_read.c chan_datacard.so etc/ __memmem.c __at_response.c __channel.c __helpers.c README.txt __at_send.c __char_conv.c LICENSE.txt __ringbuffer.c |
#cd
__app.c chan_datacard.c __cli.c Makefile __ringbuffer.h __at_fifo_queue.c chan_datacard.h configure Makefile.in .svn/ __at_parse.c chan_datacard.o COPYRIGHT.txt __manager.c __at_read.c chan_datacard.so etc/ __memmem.c __at_response.c __channel.c __helpers.c README.txt __at_send.c __char_conv.c LICENSE.txt __ringbuffer.c |
#cd ./etc/datacard.conf
l3script: cd: ./etc/datacard.conf: Not a directory |
#ls ./etc/datacard.conf
./etc/datacard.conf |
#cp ./etc/datacard.conf /etc/asterisk/
|
#ls /etc/asterisk/datacard.conf
/etc/asterisk/datacard.conf |
#./c
chan_datacard.so configure |
#./c
chan_datacard.so configure |
#./configure
configure complete, now type 'make' |
#make clean
|
#make
gcc -Wextra -fPIC -DAST_MODULE=\"chan_datacard\" -D_THREAD_SAFE -I. -I/usr/include -O2 -DICONV_CONST="" -D__DEBUG__ -D__MANAGER__ -D__APP__ -c chan_datacard.c gcc -shared -Xlinker -x chan_datacard.o -o chan_datacard.so chmod 755 chan_datacard.so |
#make install
gcc -Wextra -fPIC -DAST_MODULE=\"chan_datacard\" -D_THREAD_SAFE -I. -I/usr/include -O2 -DICONV_CONST="" -D__DEBUG__ -D__MANAGER__ -D__APP__ -c chan_datacard.c gcc -shared -Xlinker -x chan_datacard.o -o chan_datacard.so chmod 755 chan_datacard.so install -d /usr/lib/asterisk/modules/ install -m 755 chan_datacard.so /usr/lib/asterisk/modules/ |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#vi /etc/asterisk/datacard.conf
|
#vi /etc/asterisk/datacard.conf
--- /tmp/l3-saved-13163.861.1664 2014-04-26 13:34:43.533598574 +0300 +++ /etc/asterisk/datacard.conf 2014-04-26 13:38:31.293602851 +0300 @@ -48,8 +48,8 @@ [datacard0](E1550_t) -audio=/dev/ttyUSB0 ; tty for audio connection -data=/dev/ttyUSB1 ; tty for AT commands +audio=/dev/ttyUSB1 ; tty for audio connection +data=/dev/ttyUSB2 ; tty for AT commands group=1 ; calling group ;[datacard1] |
#vi /etc/asterisk/datacard.conf
--- /tmp/l3-saved-13163.22920.5660 2014-04-26 13:51:56.309617963 +0300 +++ /etc/asterisk/datacard.conf 2014-04-26 13:58:49.573625722 +0300 @@ -47,10 +47,10 @@ u2diag=0 ; set U2DIAG parameter (0 = disable everything except modem function) -[datacard0](E1550_t) -audio=/dev/ttyUSB1 ; tty for audio connection -data=/dev/ttyUSB2 ; tty for AT commands -group=1 ; calling group +;[datacard0](E1550_t) +;audio=/dev/ttyUSB1 ; tty for audio connection +;data=/dev/ttyUSB2 ; tty for AT commands +;group=1 ; calling group ;[datacard1] ;context=incoming-datacard ; context for incoming calls |
#apt-get install usb-modemswitsh
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package usb-modemswitsh |
#apt-get install usb-modeswitsh
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package usb-modeswitsh |
#apt-get install usb-modeswitch
Reading package lists... Done Building dependency tree Reading state information... Done usb-modeswitch is already the newest version. usb-modeswitch set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. |
#apt-cache list usb-modeswitch
E: Invalid operation list |
#apt-cache
apt 0.9.7.9 for amd64 compiled on Nov 16 2013 12:41:38 Usage: apt-cache [options] command apt-cache [options] showpkg pkg1 [pkg2 ...] apt-cache [options] showsrc pkg1 [pkg2 ...] apt-cache is a low-level tool used to query information from APT's binary cache files Commands: gencaches - Build both the package and source cache showpkg - Show some general information for a single package showsrc - Show source records ... policy - Show policy settings Options: -h This help text. -p=? The package cache. -s=? The source cache. -q Disable progress indicator. -i Show only important deps for the unmet command. -c=? Read this configuration file -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp See the apt-cache(8) and apt.conf(5) manual pages for more information. |
#apt-cache
apt 0.9.7.9 for amd64 compiled on Nov 16 2013 12:41:38 Usage: apt-cache [options] command apt-cache [options] showpkg pkg1 [pkg2 ...] apt-cache [options] showsrc pkg1 [pkg2 ...] apt-cache is a low-level tool used to query information from APT's binary cache files Commands: gencaches - Build both the package and source cache showpkg - Show some general information for a single package showsrc - Show source records ... policy - Show policy settings Options: -h This help text. -p=? The package cache. -s=? The source cache. -q Disable progress indicator. -i Show only important deps for the unmet command. -c=? Read this configuration file -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp See the apt-cache(8) and apt.conf(5) manual pages for more information. |
#apt-cache showsrc usb-modeswitch
Package: usb-modeswitch Binary: usb-modeswitch Version: 1.2.3+repack0-1 Maintainer: Didier Raboud <odyx@debian.org> Build-Depends: debhelper (>= 8.9.0~), libusb-dev, jimsh, libjim-dev Architecture: any Standards-Version: 3.9.2 Format: 3.0 (quilt) Files: dab5eebb782fb5b077c508c5a74150e1 1814 usb-modeswitch_1.2.3+repack0-1.dsc ... Checksums-Sha256: c754a67a4898f19071635d16c688667129e7587bec1cd1c649466d68322a901f 1814 usb-modeswitch_1.2.3+repack0-1.dsc f429ae027c0877bb9bb1a3cdc0be3b092136b79fc9b0e78b234b5dc4c0978af6 38909 usb-modeswitch_1.2.3+repack0.orig.tar.bz2 445a55d8c2fb5aed1e71953a3ffca63eff7da8af188a4c2417503f5756b47b33 9838 usb-modeswitch_1.2.3+repack0-1.debian.tar.gz Homepage: http://www.draisberghof.de/usb_modeswitch/ Package-List: usb-modeswitch deb comm extra Directory: pool/main/u/usb-modeswitch Priority: source Section: comm |
#apt-cache
apt 0.9.7.9 for amd64 compiled on Nov 16 2013 12:41:38 Usage: apt-cache [options] command apt-cache [options] showpkg pkg1 [pkg2 ...] apt-cache [options] showsrc pkg1 [pkg2 ...] apt-cache is a low-level tool used to query information from APT's binary cache files Commands: gencaches - Build both the package and source cache showpkg - Show some general information for a single package showsrc - Show source records ... policy - Show policy settings Options: -h This help text. -p=? The package cache. -s=? The source cache. -q Disable progress indicator. -i Show only important deps for the unmet command. -c=? Read this configuration file -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp See the apt-cache(8) and apt.conf(5) manual pages for more information. |
#apt-cache dump usb-modeswitch
Using Versioning System: Standard .deb Package: libuuidm-ocaml-dev Version: 0.9.4-1 File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages Depends: ocaml-nox-3.12.1 (null) Depends: libc6 2.7 Depends: ocaml-findlib (null) Description Language: File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages MD5: 70445dff26b9433b873d0812f1164777 ... Version: 6.2.0-1 File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages Depends: cl-sql 6.2.0-1 Depends: unixodbc-dev (null) Depends: cl-sql-mysql (null) Depends: cl-sql-postgresql (null) Depends: acl-pro-installer (null) Description Language: File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages MD5: e0c127b2b735addb19b5fe086d91e62a |
#apt-cache dump
Using Versioning System: Standard .deb Package: libuuidm-ocaml-dev Version: 0.9.4-1 File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages Depends: ocaml-nox-3.12.1 (null) Depends: libc6 2.7 Depends: ocaml-findlib (null) Description Language: File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages MD5: 70445dff26b9433b873d0812f1164777 ... Depends: tftpd-hpa (null) Description Language: File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages MD5: 851985a9c3c6b9ebfe84ece1752a78eb Description Language: en File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_i18n_Translation-en MD5: 851985a9c3c6b9ebfe84ece1752a78eb Package: console-setup-freebsd Version: 1.88 File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages |
#mod
modem-manager modinfo modprobe module-assistant |
#usb-devices
usb-devices |
#usb
usb-devices usb_modeswitch usbmuxd usbhid-dump usb_modeswitch_dispatcher |
#usb_modeswitch
Usage: usb_modeswitch [<params>] [-c filename] -h, --help this help -e, --version print version information and exit -v, --default-vendor NUM vendor ID of original mode (mandatory) -p, --default-product NUM product ID of original mode (mandatory) -V, --target-vendor NUM target mode vendor ID (optional) -P, --target-product NUM target mode product ID (optional) -C, --target-class NUM target mode device class (optional) -b, --busnum NUM system bus number of device (for hard ID) -g, --devnum NUM system device number (for hard ID) ... -c, --config-file <filename> load long configuration from file -t, --stdinput read long configuration from stdin -f, --long-config <text> get long configuration from string -i, --interface NUM select initial USB interface (default 0) -u, --configuration NUM select USB configuration -a, --altsetting NUM select alternative USB interface setting * usb_modeswitch: handle USB devices with multiple modes * Version 1.2.3 (C) Josua Dietze 2012 * Based on libusb0 (0.1.12 and above) ! PLEASE REPORT NEW CONFIGURATIONS ! |
#usb_modeswitch -v
usb_modeswitch: option requires an argument -- 'v' Usage: usb_modeswitch [<params>] [-c filename] -h, --help this help -e, --version print version information and exit -v, --default-vendor NUM vendor ID of original mode (mandatory) -p, --default-product NUM product ID of original mode (mandatory) -V, --target-vendor NUM target mode vendor ID (optional) -P, --target-product NUM target mode product ID (optional) -C, --target-class NUM target mode device class (optional) -b, --busnum NUM system bus number of device (for hard ID) ... -W, --verbose print all settings and debug output -D, --sysmode specific result and syslog message -s, --success <seconds> switching result check with timeout -I, --no-inquire do not get SCSI attributes (default on) -c, --config-file <filename> load long configuration from file -t, --stdinput read long configuration from stdin -f, --long-config <text> get long configuration from string -i, --interface NUM select initial USB interface (default 0) -u, --configuration NUM select USB configuration -a, --altsetting NUM select alternative USB interface setting |
#usb_modeswitch | less
|
#apt-get
__app.c chan_datacard.c __cli.c Makefile __ringbuffer.h __at_fifo_queue.c chan_datacard.h configure Makefile.in .svn/ __at_parse.c chan_datacard.o COPYRIGHT.txt __manager.c __at_read.c chan_datacard.so etc/ __memmem.c __at_response.c __channel.c __helpers.c README.txt __at_send.c __char_conv.c LICENSE.txt __ringbuffer.c |
#apt-get
apt 0.9.7.9 for amd64 compiled on Nov 16 2013 12:41:41 Usage: apt-get [options] command apt-get [options] install|remove pkg1 [pkg2 ...] apt-get [options] source pkg1 [pkg2 ...] apt-get is a simple command line interface for downloading and installing packages. The most frequently used commands are update and install. Commands: update - Retrieve new lists of packages upgrade - Perform an upgrade ... -f Attempt to correct a system with broken dependencies in place -m Attempt to continue if archives are unlocatable -u Show a list of upgraded packages as well -b Build the source package after fetching it -V Show verbose version numbers -c=? Read this configuration file -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp See the apt-get(8), sources.list(5) and apt.conf(5) manual pages for more information and options. This APT has Super Cow Powers. |
#apt-get | less
|
#vi /etc/asterisk/datacard.conf
--- /tmp/l3-saved-13163.24769.16775 2014-04-26 14:25:13.233655453 +0300 +++ /etc/asterisk/datacard.conf 2014-04-26 14:26:12.197656560 +0300 @@ -47,10 +47,10 @@ u2diag=0 ; set U2DIAG parameter (0 = disable everything except modem function) -[datacard0](E1550_t) -audio=/dev/ttyUSB1 ; tty for audio connection -data=/dev/ttyUSB2 ; tty for AT commands -group=1 ; calling group +;[datacard0](E1550_t) +;audio=/dev/ttyUSB1 ; tty for audio connection +;data=/dev/ttyUSB2 ; tty for AT commands +;group=1 ; calling group ;[datacard1] ;context=incoming-datacard ; context for incoming calls |
#d
|
#ls -al
total 76 drwxr-xr-x 2 root root 4096 Apr 22 14:33 . drwxr-xr-x 10 root root 4096 Apr 22 12:10 .. -rw-r--r-- 1 root root 69129 May 9 2012 vpb-driver.tar.bz2 |
#ls -al
total 34108 drwxr-xr-x 2 root root 4096 Apr 26 14:29 . drwxr-xr-x 10 root root 4096 Apr 22 12:10 .. -rw-r--r-- 1 root root 34844777 Apr 26 14:29 asterisk-11-current.tar.gz -rw-r--r-- 1 root root 69129 May 9 2012 vpb-driver.tar.bz2 |
#tar xf asterisk-11-current.tar.gz
|
#lsl -al
l3script: lsl: command not found |
#ls -al
total 34112 drwxr-xr-x 3 root root 4096 Apr 26 14:30 . drwxr-xr-x 10 root root 4096 Apr 22 12:10 .. drwxr-xr-x 29 root root 4096 Apr 23 17:05 asterisk-11.9.0 -rw-r--r-- 1 root root 34844777 Apr 26 14:29 asterisk-11-current.tar.gz -rw-r--r-- 1 root root 69129 May 9 2012 vpb-driver.tar.bz2 |
#cd asterisk-11.9.0/
|
#ls -al
total 3160 drwxr-xr-x 29 root root 4096 Apr 23 17:05 . drwxr-xr-x 3 root root 4096 Apr 26 14:30 .. drwxr-xr-x 3 root root 4096 Apr 23 17:05 addons drwxr-xr-x 2 root root 4096 Apr 23 17:05 agi drwxr-xr-x 3 root root 4096 Apr 23 17:05 apps -rw-r--r-- 1 root root 48330 Apr 23 17:05 asterisk-11.9.0-summary.html -rw-r--r-- 1 root root 39731 Apr 23 17:05 asterisk-11.9.0-summary.txt drwxr-xr-x 2 root root 4096 Apr 23 17:05 autoconf -rwxr-xr-x 1 root root 1041 Jan 13 2012 bootstrap.sh ... drwxr-xr-x 2 root root 4096 Apr 23 17:05 tests -rw-r--r-- 1 root root 3871 Jul 16 2012 UPGRADE-10.txt -rw-r--r-- 1 root root 9318 Nov 21 2008 UPGRADE-1.2.txt -rw-r--r-- 1 root root 25890 Aug 18 2009 UPGRADE-1.4.txt -rw-r--r-- 1 root root 13965 May 7 2010 UPGRADE-1.6.txt -rw-r--r-- 1 root root 17779 Sep 6 2012 UPGRADE-1.8.txt -rw-r--r-- 1 root root 18625 Mar 28 17:43 UPGRADE.txt drwxr-xr-x 3 root root 4096 Apr 23 17:05 utils -rw-r--r-- 1 root root 7 Apr 23 16:37 .version -rw-r--r-- 1 root root 1723 Aug 14 2008 Zaptel-to-DAHDI.txt |
#ÑÑÑÑÑÐ./con
config.guess configs/ config.sub configure contrib/ |
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for initscr in -lcurses... no checking for initscr in -lncurses... no configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing) |
#apt-cache search rermcamp
|
#apt-cache search termcamp
|
#apt-cache search libncurses5-dev
libncurses5-dev - developer's libraries for ncurses |
#apt-get install libncurses5-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libtinfo-dev Suggested packages: ncurses-doc The following NEW packages will be installed: libncurses5-dev libtinfo-dev 0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded. ... Get:1 http://ftp.us.debian.org/debian/ wheezy/main libtinfo-dev amd64 5.9-10 [105 kB] Get:2 http://ftp.us.debian.org/debian/ wheezy/main libncurses5-dev amd64 5.9-10 [223 kB] Fetched 328 kB in 1s (186 kB/s) Selecting previously unselected package libtinfo-dev:amd64. (Reading database ... 137068 files and directories currently installed.) Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9-10_amd64.deb) ... Selecting previously unselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-10_amd64.deb) ... Setting up libtinfo-dev:amd64 (5.9-10) ... Setting up libncurses5-dev (5.9-10) ... |
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for xml2-config... no configure: *** XML documentation will not be available because the 'libxml2' development package is missing. configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option configure: *** or install the 'libxml2' development package. |
#./configure --disable-xml2
configure: WARNING: unrecognized options: --disable-xml2 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes ... checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for xml2-config... no configure: *** XML documentation will not be available because the 'libxml2' development package is missing. configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option configure: *** or install the 'libxml2' development package. |
#apt-get install libsqllite3-dev
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libsqllite3-dev |
#apt-get install libsqlite3-dev
Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: sqlite3-doc The following NEW packages will be installed: libsqlite3-dev 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Need to get 578 kB of archives. After this operation, 1,382 kB of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian/ wheezy/main libsqlite3-dev amd64 3.7.13-1+deb7u1 [578 kB] Fetched 578 kB in 2s (234 kB/s) Selecting previously unselected package libsqlite3-dev. (Reading database ... 137116 files and directories currently installed.) Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.7.13-1+deb7u1_amd64.deb) ... Setting up libsqlite3-dev (3.7.13-1+deb7u1) ... |
#./configure --disable-xml
configure: WARNING: unrecognized options: --disable-xml checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes ... checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for xml2-config... no configure: *** XML documentation will not be available because the 'libxml2' development package is missing. configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option configure: *** or install the 'libxml2' development package. |
#./configure --disable-xmldoc
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : x86_64 configure: build-cpu:vendor:os: x86_64 : unknown : linux-gnu : configure: host-cpu:vendor:os: x86_64 : unknown : linux-gnu : |
#make usage
make: *** No rule to make target `usage'. Stop. |
#make menuconfig
************************************************** Asterisk Module and Build Option Selection ************************************************** Press 'h' for help. --- core --- [*] app_authenticate [*] app_cdr [*] app_celgenuserevent [*] app_channelredirect [*] app_chanspy [*] app_confbridge [*] app_controlplayback [*] app_db [*] app_dial [*] app_directed_pickup [*] app_directory ... More ... Directed Call Pickup Application Depends on: chan_local(M) Support Level: core |
#make usage
make: *** No rule to make target `usage'. Stop. |
#make ?
make: *** No rule to make target `?'. Stop. |
#make /?
make: *** No rule to make target `/?'. Stop. |
#make
addons/ install-sh agi/ keys/ apps/ .lastclean asterisk-11.9.0-summary.html LICENSE asterisk-11.9.0-summary.txt main/ autoconf/ Makefile bootstrap.sh Makefile.moddir_rules bridges/ Makefile.rules BSDmakefile makeopts BUGS makeopts.in ... codecs/ README-addons.txt config.guess README-SERIOUSLY.bestpractices.txt config.log res/ configs/ sample.call config.status sounds/ config.sub static-http/ configure tests/ configure.ac UPGRADE-10.txt contrib/ UPGRADE-1.2.txt COPYING UPGRADE-1.4.txt |
#make menuconfig
************************************************** Asterisk Module and Build Option Selection ************************************************** Press 'h' for help. --- core --- [ ] DONT_OPTIMIZE [ ] DEBUG_THREADS [*] LOADABLE_MODULES [ ] DEBUG_FD_LEAKS XXX BETTER_BACKTRACES [ ] LOTS_OF_SPANS [ ] MALLOC_DEBUG [*] BUILD_NATIVE --- extended --- [ ] STATIC_BUILD XXX REBUILD_PARSERS ... More ... More than 32 DAHDI spans Depends on: BFD(E), DLADDR(E) Support Level: core |
#apt-get search openssl
E: Invalid operation search |
#apt-cache search openssl
libace-ssl-6.0.3 - ACE secure socket layer library aolserver4-nsopenssl - AOLserver 4 module: module for SSL mode cryptmount - Management of encrypted file systems libcurl3 - easy-to-use client-side URL transfer library (OpenSSL flavour) libcurl3-dbg - debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours) libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour) libengine-pkcs11-openssl - OpenSSL engine for PKCS#11 modules erlang-crypto - Erlang/OTP cryptographic modules fp-units-net - Free Pascal - networking units dependency package fp-units-net-2.6.0 - Free Pascal - networking units ... libruby1.9.1 - Libraries necessary to run Ruby 1.9.1 scrypt - File encryption utility using scrypt for key derivation ssl-cert - simple debconf wrapper for OpenSSL stone - TCP/IP packet repeater in the application layer libjs-strophe - Library for writing XMPP clients tcl-tls - TLS OpenSSL extension to Tcl tinyca - simple graphical program for certification authority management python-tlslite - a pure Python SSL/TLS library libtcnative-1 - Tomcat native library using the apache portable runtime libxmlsec1-openssl - Openssl engine for the XML security library |
#apt-cache search openssl dev
cryptmount - Management of encrypted file systems libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour) libengine-pkcs11-openssl - OpenSSL engine for PKCS#11 modules libglobus-common-dev - Globus Toolkit - Common Library Development Files globus-gsi-openssl-error-dbg - Globus Toolkit - Globus OpenSSL Error Handling Debug Symbols libglobus-gsi-openssl-error-dev - Globus Toolkit - Globus OpenSSL Error Handling Development Files libglobus-gsi-openssl-error-doc - Globus Toolkit - Globus OpenSSL Error Handling Documentation Files libglobus-gsi-openssl-error0 - Globus Toolkit - Globus OpenSSL Error Handling globus-openssl-module-dbg - Globus Toolkit - Globus OpenSSL Module Wrapper Debug Symbols globus-openssl-module-progs - Globus Toolkit - Globus OpenSSL Module Wrapper Programs ... libpathfinder-dev - Development files for pathfinder libapache2-mod-php5 - server-side, HTML-embedded scripting language (Apache 2 module) libapache2-mod-php5filter - server-side, HTML-embedded scripting language (apache 2 filter module) libphp5-embed - HTML-embedded scripting language (Embedded SAPI library) php5-cgi - server-side, HTML-embedded scripting language (CGI binary) php5-cli - command-line interpreter for the php5 scripting language php5-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) libpion-common-dev - lightweight HTTP interface library - common development files libpion-net-dev - lightweight HTTP interface library - development files r-cran-digest - GNU R package for 'hash digest' of R data structures |
#apt-cache search libssl
dcmtk - OFFIS DICOM toolkit command line utilities libdcmtk2 - OFFIS DICOM toolkit runtime libraries libdcmtk2-dev - OFFIS DICOM toolkit development libraries and headers libssl-ocaml - OCaml bindings for OpenSSL (runtime) libssl-ocaml-dev - OCaml bindings for OpenSSL libssl-dev - SSL development libraries, header files and documentation libssl-doc - SSL development documentation documentation libssl1.0.0 - SSL shared libraries libssl1.0.0-dbg - Symbol tables for libssl and libcrypto libsslcommon2 - enterprise messaging system - common SSL libraries libsslcommon2-dev - enterprise messaging system - common SSL development files |
#apt-cache search libssl-dev
libssl-dev - SSL development libraries, header files and documentation |
#apt-get install libssl-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libssl-doc zlib1g-dev The following NEW packages will be installed: libssl-dev libssl-doc zlib1g-dev 0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded. Need to get 3,162 kB of archives. After this operation, 8,314 kB of additional disk space will be used. ... (Reading database ... 137127 files and directories currently installed.) Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.7.dfsg-13_amd64.deb) ... Selecting previously unselected package libssl-dev. Unpacking libssl-dev (from .../libssl-dev_1.0.1e-2+deb7u7_amd64.deb) ... Selecting previously unselected package libssl-doc. Unpacking libssl-doc (from .../libssl-doc_1.0.1e-2+deb7u7_all.deb) ... Processing triggers for man-db ... Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ... Setting up libssl-dev (1.0.1e-2+deb7u7) ... Setting up libssl-doc (1.0.1e-2+deb7u7) ... |
#apt-get install librt
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package librt |
#apt-cache search librtp
|
#apt-cache search libr
libadminutil-data - Utility library for 389ds administration -- data files libadminutil-dev - Utility library for 389ds administration - development files libadminutil0 - Utility library for 389ds administration lib4store-dev - RDF database storage and query engine -- development files lib4store0 - RDF database storage and query engine -- shared library liba52-0.7.4 - library for decoding ATSC A/52 streams liba52-0.7.4-dev - library for decoding ATSC A/52 streams (development) libaac-tactics-coq - Coq tactics for reasoning modulo AC (theories) libaac-tactics-ocaml-dev - Coq tactics for reasoning modulo AC (devt files) libaa-bin - sample programs using aalib ... libzthread-2.3-2 - Object-oriented synchronization library for C++ libzthread-dev - Object-oriented synchronization library for C++ zvbi - Vertical Blanking Interval (VBI) utilities libzzip-0-13 - library providing read access on ZIP-archives - library libzzip-dev - library providing read access on ZIP-archives - development zziplib-bin - library providing read access on ZIP-archives - binaries libmozjs24d - Mozilla SpiderMonkey JavaScript library libmozjs24d-dbg - Development files for the Mozilla SpiderMonkey JavaScript library xulrunner-24.0 - XUL + XPCOM application runner xulrunner-24.0-dbg - Debugging symbols for the Gecko engine library |
#apt-cache search libsrtp0
libsrtp0 - Secure RTP (SRTP) and UST Reference Implementations - shared library libsrtp0-dev - Secure RTP (SRTP) and UST Reference Implementations - development files |
#apt-get install libsrtp0-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libsrtp0-dev 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Need to get 117 kB of archives. After this operation, 390 kB of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian/ wheezy/main libsrtp0-dev amd64 1.4.4+20100615~dfsg-2+deb7u1 [117 kB] Fetched 117 kB in 0s (155 kB/s) Selecting previously unselected package libsrtp0-dev. (Reading database ... 138565 files and directories currently installed.) Unpacking libsrtp0-dev (from .../libsrtp0-dev_1.4.4+20100615~dfsg-2+deb7u1_amd64.deb) ... Setting up libsrtp0-dev (1.4.4+20100615~dfsg-2+deb7u1) ... |
#./configure --disable-xmldoc
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : x86_64 configure: build-cpu:vendor:os: x86_64 : unknown : linux-gnu : configure: host-cpu:vendor:os: x86_64 : unknown : linux-gnu : |
#apt-cache search libda
libdacs-dev - Distributed Access Control System (DACS) - shared library libdacs1 - Distributed Access Control System (DACS) - shared library libdancer-xml0 - simplistic and non-comformant xml parser library libdancer-xml0-dev - simplistic and non-comformant xml parser library libdapl-dev - Development files for the DAPL libraries libdapl2 - The Direct Access Programming Library (DAPL) libdaq-dev - Data Acquisition library for packet I/O - development files libdaq0 - Data Acquisition library for packet I/O - shared library libdar-dev - Disk ARchive: Development files for shared library libdar64-5 - Disk ARchive: Shared library ... libdataobjects-mysql-ruby1.9.1 - Transitional package for ruby-dataobjects-mysql ruby-dataobjects-mysql - MySQL adapter for ruby-dataobjects libdataobjects-postgres-ruby - Transitional package for ruby-dataobjects-postgres libdataobjects-postgres-ruby1.8 - Transitional package for ruby-dataobjects-postgres libdataobjects-postgres-ruby1.9.1 - Transitional package for ruby-dataobjects-postgres ruby-dataobjects-postgres - PostgreSQL adapter for ruby-dataobjects libdataobjects-sqlite3-ruby - Transitional package for ruby-dataobjects-sqlite3 libdataobjects-sqlite3-ruby1.8 - Transitional package for ruby-dataobjects-sqlite3 libdataobjects-sqlite3-ruby1.9.1 - Transitional package for ruby-dataobjects-sqlite3 ruby-dataobjects-sqlite3 - SQLite adapter for ruby-dataobjects |
#apt-cache search libdahdi
|
#apt-cache search dahdi
asterisk-dahdi - DAHDI devices support for the Asterisk PBX dahdi-linux - DAHDI telephony interface - Linux userspace parts dahdi-source - DAHDI telephony interface - source code for kernel driver dahdi - utilities for using the DAHDI kernel modules libtonezone-dev - tonezone library (development) libtonezone2.0 - tonezone library (runtime) libopenr2-3 - MFC/R2 (telephony) call setup library libopenr2-bin - MFC/R2 (telephony) call setup library - test programs libopenr2-dev - MFC/R2 (telephony) call setup library - development headers yate-dahdi - Dahdi support for YATE |
#apt-cache search dahdi dev
asterisk-dahdi - DAHDI devices support for the Asterisk PBX dahdi-linux - DAHDI telephony interface - Linux userspace parts dahdi-source - DAHDI telephony interface - source code for kernel driver dahdi - utilities for using the DAHDI kernel modules libtonezone-dev - tonezone library (development) libopenr2-dev - MFC/R2 (telephony) call setup library - development headers |
#./configure /?
configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: /? checking build system type... Invalid configuration `/?': machine `/?' not recognized configure: error: /bin/bash ./config.sub /? failed |
chan_dahdi.conf chan_mobile.conf chan_ooh323.conf
; ; DAHDI Telephony Configuration file ; ; You need to restart Asterisk to re-configure the DAHDI channel ; CLI> module reload chan_dahdi.so ; will reload the configuration file, but not all configuration options ; are re-configured during a reload (signalling, as well as PRI and ; SS7-related settings cannot be changed on a reload). ; ; This file documents many configuration variables. Normally unless you know ; what a variable means or that it should be changed, there's no reason to ; un-comment those lines. ; ; Examples below that are commented out (those lines that begin with a ';' but ; no space afterwards) typically show a value that is not the default value, ; but would make sense under certain circumstances. The default values are ; usually sane. Thus you should typically not touch them unless you know what ; they mean or you know you should change them. [trunkgroups] ; ; Trunk groups are used for NFAS connections. ; ; Group: Defines a trunk group. ; trunkgroup => <trunkgroup>,<dchannel>[,<backup1>...] ; ; trunkgroup is the numerical trunk group to create ; dchannel is the DAHDI channel which will have the ; d-channel for the trunk. ; backup1 is an optional list of backup d-channels. ; ;trunkgroup => 1,24,48 ;trunkgroup => 1,24 ; ; Spanmap: Associates a span with a trunk group ; spanmap => <dahdispan>,<trunkgroup>[,<logicalspan>] ; ; dahdispan is the DAHDI span number to associate ; trunkgroup is the trunkgroup (specified above) for the mapping ; logicalspan is the logical span number within the trunk group to use. ; if unspecified, no logical span number is used. ; ;spanmap => 1,1,1 ;spanmap => 2,1,2 ;spanmap => 3,1,3 ;spanmap => 4,1,4 [channels] ; ; Default language ; ;language=en ; ; Context for calls. Defaults to 'default' ; ;context=incoming ; ; Switchtype: Only used for PRI. ; ; national: National ISDN 2 (default) ; dms100: Nortel DMS100 ; 4ess: AT&T 4ESS ; 5ess: Lucent 5ESS ; euroisdn: EuroISDN (common in Europe) ; ni1: Old National ISDN 1 ; qsig: Q.SIG ; ;switchtype=euroisdn ; ; MSNs for ISDN spans. Asterisk will listen for the listed numbers on ; incoming calls and ignore any calls not listed. ; Here you can give a comma separated list of numbers or dialplan extension ; patterns. An empty list disables MSN matching to allow any incoming call. ; Only set on PTMP CPE side of ISDN span if needed. ; The default is an empty list. ;msn= ; ; Some switches (AT&T especially) require network specific facility IE. ; Supported values are currently 'none', 'sdn', 'megacom', 'tollfreemegacom', 'accunet' ; ; nsf cannot be changed on a reload. ; ;nsf=none ; ;service_message_support=yes ; Enable service message support for channel. Must be set after switchtype. ; ; Dialing options for ISDN (i.e., Dial(DAHDI/g1/exten/options)): ; R Reverse Charge Indication ; Indicate to the called party that the call will be reverse charged. ; K(n) Keypad digits n ; Send out the specified digits as keypad digits. ; ; PRI Dialplan: The ISDN-level Type Of Number (TON) or numbering plan, used for ; the dialed number. For most installations, leaving this as 'unknown' (the ; default) works in the most cases. In some very unusual circumstances, you ; may need to set this to 'dynamic' or 'redundant'. Note that if you set one ; of the others, you will be unable to dial another class of numbers. For ; example, if you set 'national', you will be unable to dial local or ; international numbers. ; ; PRI Local Dialplan: Only RARELY used for PRI (sets the calling number's ; numbering plan). In North America, the typical use is sending the 10 digit ; callerID number and setting the prilocaldialplan to 'national' (the default). ; Only VERY rarely will you need to change this. ; ; Neither pridialplan nor prilocaldialplan can be changed on reload. ; ; unknown: Unknown ; private: Private ISDN ; local: Local ISDN ; national: National ISDN ; international: International ISDN ; dynamic: Dynamically selects the appropriate dialplan ; redundant: Same as dynamic, except that the underlying number is not ; changed (not common) ; ;pridialplan=unknown ;prilocaldialplan=national ; ; pridialplan may be also set at dialtime, by prefixing the dialled number with ; one of the following letters: ; U - Unknown ; I - International ; N - National ; L - Local (Net Specific) ; S - Subscriber ; V - Abbreviated ; R - Reserved (should probably never be used but is included for completeness) ; ; Additionally, you may also set the following NPI bits (also by prefixing the ; dialled string with one of the following letters): ; u - Unknown ; e - E.163/E.164 (ISDN/telephony) ; x - X.121 (Data) ; f - F.69 (Telex) ; n - National ; p - Private ; r - Reserved (should probably never be used but is included for completeness) ; ; You may also set the prilocaldialplan in the same way, but by prefixing the ; Caller*ID Number, rather than the dialled number. Please note that telcos ; which require this kind of additional manipulation of the TON/NPI are *rare*. ; Most telco PRIs will work fine simply by setting pridialplan to unknown or ; dynamic. ; ; ; PRI caller ID prefixes based on the given TON/NPI (dialplan) ; This is especially needed for EuroISDN E1-PRIs ; ; None of the prefix settings can be changed on reload. ; ; sample 1 for Germany ;internationalprefix = 00 ;nationalprefix = 0 ;localprefix = 0711 ;privateprefix = 07115678 ;unknownprefix = ; ; sample 2 for Germany ;internationalprefix = + ;nationalprefix = +49 ;localprefix = +49711 ;privateprefix = +497115678 ;unknownprefix = ; ; PRI resetinterval: sets the time in seconds between restart of unused ; B channels; defaults to 'never'. ; ;resetinterval = 3600 ; ; Overlap dialing mode (sending overlap digits) ; Cannot be changed on a reload. ; ; incoming: incoming direction only ; outgoing: outgoing direction only ; no: neither direction ; yes or both: both directions ; ;overlapdial=yes ; ; Allow inband audio (progress) when a call is DISCONNECTed by the far end of a PRI ; ;inbanddisconnect=yes ; ; Allow a held call to be transferred to the active call on disconnect. ; This is useful on BRI PTMP NT lines where an ISDN phone can simulate the ; transfer feature of an analog phone. ; The default is no. ;hold_disconnect_transfer=yes ; BRI PTMP layer 1 presence. ; You should normally not need to set this option. ; You may need to set this option if your telco brings layer 1 down when ; the line is idle. ; required: Layer 1 presence required for outgoing calls. (default) ; ignore: Ignore alarms from DAHDI about this span. ; (Layer 1 and 2 will be brought back up for an outgoing call.) ; NOTE: You will not be able to detect physical line problems ; until an outgoing call is attempted and fails. ; ;layer1_presence=ignore ; BRI PTMP layer 2 persistence. ; You should normally not need to set this option. ; You may need to set this option if your telco brings layer 1 down when ; the line is idle. ; <blank>: Use libpri default. ; keep_up: Bring layer 2 back up if peer takes it down. ; leave_down: Leave layer 2 down if peer takes it down. (Libpri default) ; (Layer 2 will be brought back up for an outgoing call.) ; ;layer2_persistence=leave_down ; PRI Out of band indications. ; Enable this to report Busy and Congestion on a PRI using out-of-band ; notification. Inband indication, as used by Asterisk doesn't seem to work ; with all telcos. ; ; outofband: Signal Busy/Congestion out of band with RELEASE/DISCONNECT ; inband: Signal Busy/Congestion using in-band tones (default) ; ; priindication cannot be changed on a reload. ; ;priindication = outofband ; ; If you need to override the existing channels selection routine and force all ; PRI channels to be marked as exclusively selected, set this to yes. ; ; priexclusive cannot be changed on a reload. ; ;priexclusive = yes ; ; ; If you need to use the logical channel mapping with your Q.SIG PRI instead ; of the physical mapping you must use the qsigchannelmapping option. ; ; logical: Use the logical channel mapping ; physical: Use physical channel mapping (default) ; ;qsigchannelmapping=logical ; ; If you wish to ignore remote hold indications (and use MOH that is supplied over ; the B channel) enable this option. ; ;discardremoteholdretrieval=yes ; ; ISDN Timers ; All of the ISDN timers and counters that are used are configurable. Specify ; the timer name, and its value (in ms for timers). ; K: Layer 2 max number of outstanding unacknowledged I frames (default 7) ; N200: Layer 2 max number of retransmissions of a frame (default 3) ; T200: Layer 2 max time before retransmission of a frame (default 1000 ms) ; T203: Layer 2 max time without frames being exchanged (default 10000 ms) ; T305: Wait for DISCONNECT acknowledge (default 30000 ms) ; T308: Wait for RELEASE acknowledge (default 4000 ms) ; T309: Maintain active calls on Layer 2 disconnection (default 6000 ms) ; EuroISDN: 6000 to 12000 ms, according to (N200 + 1) x T200 + 2s ; May vary in other ISDN standards (Q.931 1993 : 90000 ms) ; T313: Wait for CONNECT acknowledge, CPE side only (default 3000 ms) ; ; T-RESPONSE: Maximum time to wait for a typical APDU response. (default 4000 ms) ; This is an implementation timer when the standard does not specify one. ; T-ACTIVATE: Request supervision timeout. (default 10000 ms) ; T-RETENTION: Maximum time to wait for user A to activate call-completion. (default 30000 ms) ; Used by ETSI PTP, ETSI PTMP, and Q.SIG as the cc_offer_timer. ; T-CCBS1: T-STATUS timer equivalent for CC user A status. (default 4000 ms) ; T-CCBS2: Maximum time the CCBS service will be active (default 45 min in ms) ; T-CCBS3: Maximum time to wait for user A to respond to user B availability. (default 20000 ms) ; T-CCBS5: Network B CCBS supervision timeout. (default 60 min in ms) ; T-CCBS6: Network A CCBS supervision timeout. (default 60 min in ms) ; T-CCNR2: Maximum time the CCNR service will be active (default 180 min in ms) ; T-CCNR5: Network B CCNR supervision timeout. (default 195 min in ms) ; T-CCNR6: Network A CCNR supervision timeout. (default 195 min in ms) ; CC-T1: Q.SIG CC request supervision timeout. (default 30000 ms) ; CCBS-T2: Q.SIG CCBS supervision timeout. (default 60 min in ms) ; CCNR-T2: Q.SIG CCNR supervision timeout. (default 195 min in ms) ; CC-T3: Q.SIG CC Maximum time to wait for user A to respond to user B availability. (default 30000 ms) ; ;pritimer => t200,1000 ;pritimer => t313,4000 ; ; CC PTMP recall mode: ; specific - Only the CC original party A can participate in the CC callback ; global - Other compatible endpoints on the PTMP line can be party A in the CC callback ; ; cc_ptmp_recall_mode cannot be changed on a reload. ; ;cc_ptmp_recall_mode = specific ; ; CC Q.SIG Party A (requester) retain signaling link option ; retain Require that the signaling link be retained. ; release Request that the signaling link be released. ; do_not_care The responder is free to choose if the signaling link will be retained. ; ;cc_qsig_signaling_link_req = retain ; ; CC Q.SIG Party B (responder) retain signaling link option ; retain Prefer that the signaling link be retained. ; release Prefer that the signaling link be released. ; ;cc_qsig_signaling_link_rsp = retain ; ; See ccss.conf.sample for more options. The timers described by ccss.conf.sample ; are not used by ISDN for the native protocol since they are defined by the ; standards and set by pritimer above. ; ; To enable transmission of facility-based ISDN supplementary services (such ; as caller name from CPE over facility), enable this option. ; Cannot be changed on a reload. ; ;facilityenable = yes ; ; This option enables Advice of Charge pass-through between the ISDN PRI and ; Asterisk. This option can be set to any combination of 's', 'd', and 'e' which ; represent the different variants of Advice of Charge, AOC-S, AOC-D, and AOC-E. ; Advice of Charge pass-through is currently only supported for ETSI. Since most ; AOC messages are sent on facility messages, the 'facilityenable' option must ; also be enabled to fully support AOC pass-through. ; ;aoc_enable=s,d,e ; ; When this option is enabled, a hangup initiated by the ISDN PRI side of the ; asterisk channel will result in the channel delaying its hangup in an ; attempt to receive the final AOC-E message from its bridge. The delay ; period is configured as one half the T305 timer length. If the channel ; is not bridged the hangup will occur immediatly without delay. ; ;aoce_delayhangup=yes ; pritimer cannot be changed on a reload. ; ; Signalling method. The default is "auto". Valid values: ; auto: Use the current value from DAHDI. ; em: E & M ; em_e1: E & M E1 ; em_w: E & M Wink ; featd: Feature Group D (The fake, Adtran style, DTMF) ; featdmf: Feature Group D (The real thing, MF (domestic, US)) ; featdmf_ta: Feature Group D (The real thing, MF (domestic, US)) through ; a Tandem Access point ; featb: Feature Group B (MF (domestic, US)) ; fgccama: Feature Group C-CAMA (DP DNIS, MF ANI) ; fgccamamf: Feature Group C-CAMA MF (MF DNIS, MF ANI) ; fxs_ls: FXS (Loop Start) ; fxs_gs: FXS (Ground Start) ; fxs_ks: FXS (Kewl Start) ; fxo_ls: FXO (Loop Start) ; fxo_gs: FXO (Ground Start) ; fxo_ks: FXO (Kewl Start) ; pri_cpe: PRI signalling, CPE side ; pri_net: PRI signalling, Network side ; bri_cpe: BRI PTP signalling, CPE side ; bri_net: BRI PTP signalling, Network side ; bri_cpe_ptmp: BRI PTMP signalling, CPE side ; bri_net_ptmp: BRI PTMP signalling, Network side ; sf: SF (Inband Tone) Signalling ; sf_w: SF Wink ; sf_featd: SF Feature Group D (The fake, Adtran style, DTMF) ; sf_featdmf: SF Feature Group D (The real thing, MF (domestic, US)) ; sf_featb: SF Feature Group B (MF (domestic, US)) ; e911: E911 (MF) style signalling ; ss7: Signalling System 7 ; mfcr2: MFC/R2 Signalling. To specify the country variant see 'mfcr2_variant' ; ; The following are used for Radio interfaces: ; fxs_rx: Receive audio/COR on an FXS kewlstart interface (FXO at the ; channel bank) ; fxs_tx: Transmit audio/PTT on an FXS loopstart interface (FXO at the ; channel bank) ; fxo_rx: Receive audio/COR on an FXO loopstart interface (FXS at the ; channel bank) ; fxo_tx: Transmit audio/PTT on an FXO groundstart interface (FXS at ; the channel bank) ; em_rx: Receive audio/COR on an E&M interface (1-way) ; em_tx: Transmit audio/PTT on an E&M interface (1-way) ; em_txrx: Receive audio/COR AND Transmit audio/PTT on an E&M interface ; (2-way) ; em_rxtx: Same as em_txrx (for our dyslexic friends) ; sf_rx: Receive audio/COR on an SF interface (1-way) ; sf_tx: Transmit audio/PTT on an SF interface (1-way) ; sf_txrx: Receive audio/COR AND Transmit audio/PTT on an SF interface ; (2-way) ; sf_rxtx: Same as sf_txrx (for our dyslexic friends) ; ss7: Signalling System 7 ; ; signalling of a channel can not be changed on a reload. ; ;signalling=fxo_ls ; ; If you have an outbound signalling format that is different from format ; specified above (but compatible), you can specify outbound signalling format, ; (see below). The 'signalling' format specified will be the inbound signalling ; format. If you only specify 'signalling', then it will be the format for ; both inbound and outbound. ; ; outsignalling can only be one of: ; em, em_e1, em_w, sf, sf_w, sf_featd, sf_featdmf, sf_featb, featd, ; featdmf, featdmf_ta, e911, fgccama, fgccamamf ; ; outsignalling cannot be changed on a reload. ; ;signalling=featdmf ; ;outsignalling=featb ; ; For Feature Group D Tandem access, to set the default CIC and OZZ use these ; parameters (Will not be updated on reload): ; ;defaultozz=0000 ;defaultcic=303 ; ; A variety of timing parameters can be specified as well ; The default values for those are "-1", which is to use the ; compile-time defaults of the DAHDI kernel modules. The timing ; parameters, (with the standard default from DAHDI): ; ; prewink: Pre-wink time (default 50ms) ; preflash: Pre-flash time (default 50ms) ; wink: Wink time (default 150ms) ; flash: Flash time (default 750ms) ; start: Start time (default 1500ms) ; rxwink: Receiver wink time (default 300ms) ; rxflash: Receiver flashtime (default 1250ms) ; debounce: Debounce timing (default 600ms) ; ; None of them will update on a reload. ; ; How long generated tones (DTMF and MF) will be played on the channel ; (in milliseconds). ; ; This is a global, rather than a per-channel setting. It will not be ; updated on a reload. ; ;toneduration=100 ; ; Whether or not to do distinctive ring detection on FXO lines: ; ;usedistinctiveringdetection=yes ; ; enable dring detection after caller ID for those countries like Australia ; where the ring cadence is changed *after* the caller ID spill: ; ;distinctiveringaftercid=yes ; ; Whether or not to use caller ID: ; usecallerid=yes ; ; Type of caller ID signalling in use ; bell = bell202 as used in US (default) ; v23 = v23 as used in the UK ; v23_jp = v23 as used in Japan ; dtmf = DTMF as used in Denmark, Sweden and Netherlands ; smdi = Use SMDI for caller ID. Requires SMDI to be enabled (usesmdi). ; ;cidsignalling=v23 ; ; What signals the start of caller ID ; ring = a ring signals the start (default) ; polarity = polarity reversal signals the start ; polarity_IN = polarity reversal signals the start, for India, ; for dtmf dialtone detection; using DTMF. ; (see https://wiki.asterisk.org/wiki/display/AST/Caller+ID+in+India) ; dtmf = causes monitor loop to look for dtmf energy on the ; incoming channel to initate cid acquisition ; ;cidstart=polarity ; ; When cidstart=dtmf, the energy level on the line used to trigger dtmf cid ; acquisition. This number is compared to the average over a packet of audio ; of the absolute values of 16 bit signed linear samples. The default is set ; to 256. The choice of 256 is arbitrary. The value you should select should ; be high enough to prevent false detections while low enough to insure that ; no dtmf spills are missed. ; ;dtmfcidlevel=256 ; ; Whether or not to hide outgoing caller ID (Override with *67 or *82) ; (If your dialplan doesn't catch it) ; ;hidecallerid=yes ; ; Enable if you need to hide just the name and not the number for legacy PBX use. ; Only applies to PRI channels. ;hidecalleridname=yes ; ; On UK analog lines, the caller hanging up determines the end of calls. So ; Asterisk hanging up the line may or may not end a call (DAHDI could just as ; easily be re-attaching to a prior incoming call that was not yet hung up). ; This option changes the hangup to wait for a dialtone on the line, before ; marking the line as once again available for use with outgoing calls. ;waitfordialtone=yes ; ; The following option enables receiving MWI on FXO lines. The default ; value is no. ; The mwimonitor can take the following values ; no - No mwimonitoring occurs. (default) ; yes - The same as specifying fsk ; fsk - the FXO line is monitored for MWI FSK spills ; fsk,rpas - the FXO line is monitored for MWI FSK spills preceded ; by a ring pulse alert signal. ; neon - The fxo line is monitored for the presence of NEON pulses ; indicating MWI. ; When detected, an internal Asterisk MWI event is generated so that any other ; part of Asterisk that cares about MWI state changes is notified, just as if ; the state change came from app_voicemail. ; For FSK MWI Spills, the energy level that must be seen before starting the ; MWI detection process can be set with 'mwilevel'. ; ;mwimonitor=no ;mwilevel=512 ; ; This option is used in conjunction with mwimonitor. This will get executed ; when incoming MWI state changes. The script is passed 2 arguments. The ; first is the corresponding mailbox, and the second is 1 or 0, indicating if ; there are messages waiting or not. ; ;mwimonitornotify=/usr/local/bin/dahdinotify.sh ; ; The following keyword 'mwisendtype' enables various VMWI methods on FXS lines (if supported). ; The default is to send FSK only. ; The following options are available; ; 'rpas' Ring Pulse Alert Signal, alerts intelligent phones that a FSK message is about to be sent. ; 'lrev' Line reversed to indicate messages waiting. ; 'hvdc' 90Vdc OnHook DC voltage to indicate messages waiting. ; 'hvac' or 'neon' 90Vac OnHook AC voltage to light Neon bulb. ; 'nofsk' Disables FSK MWI spills from being sent out. ; It is feasible that multiple options can be enabled. ;mwisendtype=rpas,lrev ; ; Whether or not to enable call waiting on internal extensions ; With this set to 'yes', busy extensions will hear the call-waiting ; tone, and can use hook-flash to switch between callers. The Dial() ; app will not return the "BUSY" result for extensions. ; callwaiting=yes ; ; Configure the number of outstanding call waiting calls for internal ISDN ; endpoints before bouncing the calls as busy. This option is equivalent to ; the callwaiting option for analog ports. ; A call waiting call is a SETUP message with no B channel selected. ; The default is zero to disable call waiting for ISDN endpoints. ;max_call_waiting_calls=0 ; ; Allow incoming ISDN call waiting calls. ; A call waiting call is a SETUP message with no B channel selected. ;allow_call_waiting_calls=no ; ; Configure the ISDN span to indicate MWI for the list of mailboxes. ; You can give a comma separated list of up to 8 mailboxes per span. ; An empty list disables MWI. ; The default is an empty list. ;mwi_mailboxes=mailbox_number[@context]{,mailbox_number[@context]} ; ; Whether or not restrict outgoing caller ID (will be sent as ANI only, not ; available for the user) ; Mostly use with FXS ports ; Does nothing. Use hidecallerid instead. ; ;restrictcid=no ; ; Whether or not to use the caller ID presentation from the Asterisk channel ; for outgoing calls. ; See dialplan function CALLERID(pres) for more information. ; Only applies to PRI and SS7 channels. ; usecallingpres=yes ; ; Some countries (UK) have ring tones with different ring tones (ring-ring), ; which means the caller ID needs to be set later on, and not just after ; the first ring, as per the default (1). ; ;sendcalleridafter = 2 ; ; ; Support caller ID on Call Waiting ; callwaitingcallerid=yes ; ; Support three-way calling ; threewaycalling=yes ; ; For FXS ports (either direct analog or over T1/E1): ; Support flash-hook call transfer (requires three way calling) ; Also enables call parking (overrides the 'canpark' parameter) ; ; For digital ports using ISDN PRI protocols: ; Support switch-side transfer (called 2BCT, RLT or other names) ; This setting must be enabled on both ports involved, and the ; 'facilityenable' setting must also be enabled to allow sending ; the transfer to the ISDN switch, since it sent in a FACILITY ; message. ; NOTE: This should be disabled for NT PTMP mode. Phones cannot ; have tromboned calls pushed down to them. ; transfer=yes ; ; Allow call parking ; ('canpark=no' is overridden by 'transfer=yes') ; canpark=yes ; Sets the default parking lot for call parking. ; This is setable per channel. ; Parkinglots are configured in features.conf ; ;parkinglot=plaza ; ; Support call forward variable ; cancallforward=yes ; ; Whether or not to support Call Return (*69, if your dialplan doesn't ; catch this first) ; callreturn=yes ; ; Stutter dialtone support: If a mailbox is specified without a voicemail ; context, then when voicemail is received in a mailbox in the default ; voicemail context in voicemail.conf, taking the phone off hook will cause a ; stutter dialtone instead of a normal one. ; ; If a mailbox is specified *with* a voicemail context, the same will result ; if voicemail received in mailbox in the specified voicemail context. ; ; for default voicemail context, the example below is fine: ; ;mailbox=1234 ; ; for any other voicemail context, the following will produce the stutter tone: ; ;mailbox=1234@context ; ; Enable echo cancellation ; Use either "yes", "no", or a power of two from 32 to 256 if you wish to ; actually set the number of taps of cancellation. ; ; Note that when setting the number of taps, the number 256 does not translate ; to 256 ms of echo cancellation. echocancel=256 means 256 / 8 = 32 ms. ; ; Note that if any of your DAHDI cards have hardware echo cancellers, ; then this setting only turns them on and off; numeric settings will ; be treated as "yes". There are no special settings required for ; hardware echo cancellers; when present and enabled in their kernel ; modules, they take precedence over the software echo canceller compiled ; into DAHDI automatically. ; ; echocancel=yes ; ; Some DAHDI echo cancellers (software and hardware) support adjustable ; parameters; these parameters can be supplied as additional options to ; the 'echocancel' setting. Note that Asterisk does not attempt to ; validate the parameters or their values, so if you supply an invalid ; parameter you will not know the specific reason it failed without ; checking the kernel message log for the error(s) put there by DAHDI. ; ;echocancel=128,param1=32,param2=0,param3=14 ; ; Generally, it is not necessary (and in fact undesirable) to echo cancel when ; the circuit path is entirely TDM. You may, however, change this behavior ; by enabling the echo canceller during pure TDM bridging below. ; echocancelwhenbridged=yes ; ; In some cases, the echo canceller doesn't train quickly enough and there ; is echo at the beginning of the call. Enabling echo training will cause ; DAHDI to briefly mute the channel, send an impulse, and use the impulse ; response to pre-train the echo canceller so it can start out with a much ; closer idea of the actual echo. Value may be "yes", "no", or a number of ; milliseconds to delay before training (default = 400) ; ; WARNING: In some cases this option can make echo worse! If you are ; trying to debug an echo problem, it is worth checking to see if your echo ; is better with the option set to yes or no. Use whatever setting gives ; the best results. ; ; Note that these parameters do not apply to hardware echo cancellers. ; ;echotraining=yes ;echotraining=800 ; ; If you are having trouble with DTMF detection, you can relax the DTMF ; detection parameters. Relaxing them may make the DTMF detector more likely ; to have "talkoff" where DTMF is detected when it shouldn't be. ; ;relaxdtmf=yes ; ; You may also set the default receive and transmit gains (in dB) ; ; Gain Settings: increasing / decreasing the volume level on a channel. ; The values are in db (decibells). A positive number ; increases the volume level on a channel, and a ; negavive value decreases volume level. ; ; Dynamic Range Compression: you can also enable dynamic range compression ; on a channel. This will amplify quiet sounds while leaving ; louder sounds untouched. This is useful in situations where ; a linear gain setting would cause clipping. Acceptable values ; are in the range of 0.0 to around 6.0 with higher values ; causing more compression to be done. ; ; There are several independent gain settings: ; rxgain: gain for the rx (receive - into Asterisk) channel. Default: 0.0 ; txgain: gain for the tx (transmit - out of Asterisk Asterisk) channel. ; Default: 0.0 ; cid_rxgain: set the gain just for the caller ID sounds Asterisk ; emits. Default: 5.0 . ; rxdrc: dynamic range compression for the rx channel. Default: 0.0 ; txdrc: dynamic range compression for the tx channel. Default: 0.0 ;rxgain=2.0 ;txgain=3.0 ; ;rxdrc=1.0 ;txdrc=4.0 ; ; Logical groups can be assigned to allow outgoing roll-over. Groups range ; from 0 to 63, and multiple groups can be specified. By default the ; channel is not a member of any group. ; ; Note that an explicit empty value for 'group' is invalid, and will not ; override a previous non-empty one. The same applies to callgroup and ; pickupgroup as well. ; group=1 ; ; Ring groups (a.k.a. call groups) and pickup groups. If a phone is ringing ; and it is a member of a group which is one of your pickup groups, then ; you can answer it by picking up and dialing *8#. For simple offices, just ; make these both the same. Groups range from 0 to 63. ; callgroup=1 pickupgroup=1 ; Channel variable to be set for all calls from this channel ;setvar=CHANNEL=42 ;setvar=ATTENDED_TRANSFER_COMPLETE_SOUND=beep ; This channel variable will ; cause the given audio file to ; be played upon completion of ; an attended transfer. ; ; Specify whether the channel should be answered immediately or if the simple ; switch should provide dialtone, read digits, etc. ; Note: If immediate=yes the dialplan execution will always start at extension ; 's' priority 1 regardless of the dialed number! ; ;immediate=yes ; ; Specify whether flash-hook transfers to 'busy' channels should complete or ; return to the caller performing the transfer (default is yes). ; ;transfertobusy=no ; Calls will have the party id user tag set to this string value. ; ;cid_tag= ; With this set, you can automatically append the MSN of a party ; to the cid_tag. An '_' is used to separate the tag from the MSN. ; Applies to ISDN spans. ; Default is no. ; ; Table of what number is appended: ; outgoing incoming ; net dialed caller ; cpe caller dialed ; ;append_msn_to_cid_tag=no ; caller ID can be set to "asreceived" or a specific number if you want to ; override it. Note that "asreceived" only applies to trunk interfaces. ; fullname sets just the ; ; fullname: sets just the name part. ; cid_number: sets just the number part: ; ;callerid = 123456 ; ;callerid = My Name <2564286000> ; Which can also be written as: ;cid_number = 2564286000 ;fullname = My Name ; ;callerid = asreceived ; ; should we use the caller ID from incoming call on DAHDI transfer? ; ;useincomingcalleridondahditransfer = yes ; ; AMA flags affects the recording of Call Detail Records. If specified ; it may be 'default', 'omit', 'billing', or 'documentation'. ; ;amaflags=default ; ; Channels may be associated with an account code to ease ; billing ; ;accountcode=lss0101 ; ; ADSI (Analog Display Services Interface) can be enabled on a per-channel ; basis if you have (or may have) ADSI compatible CPE equipment ; ;adsi=yes ; ; SMDI (Simplified Message Desk Interface) can be enabled on a per-channel ; basis if you would like that channel to behave like an SMDI message desk. ; The SMDI port specified should have already been defined in smdi.conf. The ; default port is /dev/ttyS0. ; ;usesmdi=yes ;smdiport=/dev/ttyS0 ; ; On trunk interfaces (FXS) and E&M interfaces (E&M, Wink, Feature Group D ; etc, it can be useful to perform busy detection either in an effort to ; detect hangup or for detecting busies. This enables listening for ; the beep-beep busy pattern. ; ;busydetect=yes ; ; If busydetect is enabled, it is also possible to specify how many busy tones ; to wait for before hanging up. The default is 3, but it might be ; safer to set to 6 or even 8. Mind that the higher the number, the more ; time that will be needed to hangup a channel, but lowers the probability ; that you will get random hangups. ; ;busycount=6 ; ; If busydetect is enabled, it is also possible to specify the cadence of your ; busy signal. In many countries, it is 500msec on, 500msec off. Without ; busypattern specified, we'll accept any regular sound-silence pattern that ; repeats <busycount> times as a busy signal. If you specify busypattern, ; then we'll further check the length of the sound (tone) and silence, which ; will further reduce the chance of a false positive. ; ;busypattern=500,500 ; ; NOTE: In make menuselect, you'll find further options to tweak the busy ; detector. If your country has a busy tone with the same length tone and ; silence (as many countries do), consider enabling the ; BUSYDETECT_COMPARE_TONE_AND_SILENCE option. ; ; To further detect which hangup tone your telco provider is sending, it is ; useful to use the dahdi_monitor utility to record the audio that main/dsp.c ; is receiving after the caller hangs up. ; ; For FXS (FXO signalled) ports ; switch the line polarity to signal the connected PBX that an outgoing ; call was answered by the remote party. ; For FXO (FXS signalled) ports ; watch for a polarity reversal to mark when a outgoing call is ; answered by the remote party. ; ;answeronpolarityswitch=yes ; ; For FXS (FXO signalled) ports ; switch the line polarity to signal the connected PBX that the current ; call was "hung up" by the remote party ; For FXO (FXS signalled) ports ; In some countries, a polarity reversal is used to signal the disconnect of a ; phone line. If the hanguponpolarityswitch option is selected, the call will ; be considered "hung up" on a polarity reversal. ; ;hanguponpolarityswitch=yes ; ; polarityonanswerdelay: minimal time period (ms) between the answer ; polarity switch and hangup polarity switch. ; (default: 600ms) ; ; On trunk interfaces (FXS) it can be useful to attempt to follow the progress ; of a call through RINGING, BUSY, and ANSWERING. If turned on, call ; progress attempts to determine answer, busy, and ringing on phone lines. ; This feature is HIGHLY EXPERIMENTAL and can easily detect false answers, ; so don't count on it being very accurate. ; ; Few zones are supported at the time of this writing, but may be selected ; with "progzone". ; ; progzone also affects the pattern used for buzydetect (unless ; busypattern is set explicitly). The possible values are: ; us (default) ; ca (alias for 'us') ; cr (Costa Rica) ; br (Brazil, alias for 'cr') ; uk ; ; This feature can also easily detect false hangups. The symptoms of this is ; being disconnected in the middle of a call for no reason. ; ;callprogress=yes ;progzone=uk ; ; Set the tonezone. Equivalent of the defaultzone settings in ; /etc/dahdi/system.conf. This sets the tone zone by number. ; Note that you'd still need to load tonezones (loadzone in ; /etc/dahdi/system.conf). ; The default is -1: not to set anything. ;tonezone = 0 ; 0 is US ; ; FXO (FXS signalled) devices must have a timeout to determine if there was a ; hangup before the line was answered. This value can be tweaked to shorten ; how long it takes before DAHDI considers a non-ringing line to have hungup. ; ; ringtimeout will not update on a reload. ; ;ringtimeout=8000 ; ; For FXO (FXS signalled) devices, whether to use pulse dial instead of DTMF ; Pulse digits from phones (FXS devices, FXO signalling) are always ; detected. ; ;pulsedial=yes ; ; For fax detection, uncomment one of the following lines. The default is *OFF* ; ;faxdetect=both ;faxdetect=incoming ;faxdetect=outgoing ;faxdetect=no ; ; When 'faxdetect' is used, one could use 'faxbuffers' to configure the DAHDI ; transmit buffer policy. The default is *OFF*. When this configuration ; option is used, the faxbuffer policy will be used for the life of the call ; after a fax tone is detected. The faxbuffer policy is reverted after the ; call is torn down. The sample below will result in 6 buffers and a full ; buffer policy. ; ;faxbuffers=>6,full ; ; This option specifies a preference for which music on hold class this channel ; should listen to when put on hold if the music class has not been set on the ; channel with Set(CHANNEL(musicclass)=whatever) in the dialplan, and the peer ; channel putting this one on hold did not suggest a music class. ; ; If this option is set to "passthrough", then the hold message will always be ; passed through as signalling instead of generating hold music locally. This ; setting is only valid when used on a channel that uses digital signalling. ; ; This option may be set globally or on a per-channel basis. ; ;mohinterpret=default ; ; This option specifies which music on hold class to suggest to the peer channel ; when this channel places the peer on hold. This option may be set globally, ; or on a per-channel basis. ; ;mohsuggest=default ; ; PRI channels can have an idle extension and a minunused number. So long as ; at least "minunused" channels are idle, chan_dahdi will try to call "idledial" ; on them, and then dump them into the PBX in the "idleext" extension (which ; is of the form exten@context). When channels are needed the "idle" calls ; are disconnected (so long as there are at least "minidle" calls still ; running, of course) to make more channels available. The primary use of ; this is to create a dynamic service, where idle channels are bundled through ; multilink PPP, thus more efficiently utilizing combined voice/data services ; than conventional fixed mappings/muxings. ; ; Those settings cannot be changed on reload. ; ;idledial=6999 ;idleext=6999@dialout ;minunused=2 ;minidle=1 ; ; ; ignore_failed_channels: Continue even if some channels failed to configure. ; False by default, as if even a single channel failed to configure, it might ; mean other channels are misplaced and having them work may not be a good ; idea. If enabled (set to true), chan_dahdi will nevertheless attempt to ; configure other channels rather than giving up. This normally makes sense ; only if you use names (<subdir>!<number>) for DAHDI channels. ;ignore_failed_channels = true ; ; Configure jitter buffers in DAHDI (each one is 20ms, default is 4) ; This is set globally, rather than per-channel. ; ;jitterbuffers=4 ; ;------------------------------ JITTER BUFFER CONFIGURATION -------------------------- ; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a ; DAHDI channel. Defaults to "no". An enabled jitterbuffer will ; be used only if the sending side can create and the receiving ; side can not accept jitter. The DAHDI channel can't accept jitter, ; thus an enabled jitterbuffer on the receive DAHDI side will always ; be used if the sending side can create jitter. ; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds. ; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is ; resynchronized. Useful to improve the quality of the voice, with ; big jumps in/broken timestamps, usually sent from exotic devices ; and programs. Defaults to 1000. ; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a DAHDI ; channel. Two implementations are currently available - "fixed" ; (with size always equals to jbmax-size) and "adaptive" (with ; variable size, actually the new jb of IAX2). Defaults to fixed. ; jbtargetextra = 40 ; This option only affects the jb when 'jbimpl = adaptive' is set. ; The option represents the number of milliseconds by which the new ; jitter buffer will pad its size. the default is 40, so without ; modification, the new jitter buffer will set its size to the jitter ; value plus 40 milliseconds. increasing this value may help if your ; network normally has low jitter, but occasionally has spikes. ; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no". ;----------------------------------------------------------------------------------- ; ; You can define your own custom ring cadences here. You can define up to 8 ; pairs. If the silence is negative, it indicates where the caller ID spill is ; to be placed. Also, if you define any custom cadences, the default cadences ; will be turned off. ; ; This setting is global, rather than per-channel. It will not update on ; a reload. ; ; Syntax is: cadence=ring,silence[,ring,silence[...]] ; ; These are the default cadences: ; ;cadence=125,125,2000,-4000 ;cadence=250,250,500,1000,250,250,500,-4000 ;cadence=125,125,125,125,125,-4000 ;cadence=1000,500,2500,-5000 ; ; Each channel consists of the channel number or range. It inherits the ; parameters that were specified above its declaration. ; ; ;callerid="Green Phone"<(256) 428-6121> ;channel => 1 ;callerid="Black Phone"<(256) 428-6122> ;channel => 2 ;callerid="CallerID Phone" <(630) 372-1564> ;channel => 3 ;callerid="Pac Tel Phone" <(256) 428-6124> ;channel => 4 ;callerid="Uniden Dead" <(256) 428-6125> ;channel => 5 ;callerid="Cortelco 2500" <(256) 428-6126> ;channel => 6 ;callerid="Main TA 750" <(256) 428-6127> ;channel => 44 ; ; For example, maybe we have some other channels which start out in a ; different context and use E & M signalling instead. ; ;context=remote ;signaling=em ;channel => 15 ;channel => 16 ;signalling=em_w ; ; All those in group 0 I'll use for outgoing calls ; ; Strip most significant digit (9) before sending ; ;stripmsd=1 ;callerid=asreceived ;group=0 ;signalling=fxs_ls ;channel => 45 ;signalling=fxo_ls ;group=1 ;callerid="Joe Schmoe" <(256) 428-6131> ;channel => 25 ;callerid="Megan May" <(256) 428-6132> ;channel => 26 ;callerid="Suzy Queue" <(256) 428-6233> ;channel => 27 ;callerid="Larry Moe" <(256) 428-6234> ;channel => 28 ; ; Sample PRI (CPE) config: Specify the switchtype, the signalling as either ; pri_cpe or pri_net for CPE or Network termination, and generally you will ; want to create a single "group" for all channels of the PRI. ; ; switchtype cannot be changed on a reload. ; ; switchtype = national ; signalling = pri_cpe ; group = 2 ; channel => 1-23 ; ; Alternatively, the number of the channel may be replaced with a relative ; path to a device file under /dev/dahdi . The final element of that file ; must be a number, though. The directory separator is '!', as we can't ; use '/' in a dial string. So if we have ; ; /dev/dahdi/span-name/pstn/00/1 ; /dev/dahdi/span-name/pstn/00/2 ; /dev/dahdi/span-name/pstn/00/3 ; /dev/dahdi/span-name/pstn/00/4 ; ; we could use: ;channel => span-name!pstn!00!1-4 ; ; or: ;channel => span-name!pstn!00!1,2,3,4 ; ; See also ignore_failed_channels above. ; Used for distinctive ring support for x100p. ; You can see the dringX patterns is to set any one of the dringXcontext fields ; and they will be printed on the console when an inbound call comes in. ; ; dringXrange is used to change the acceptable ranges for "tone offsets". Defaults to 10. ; Note: a range of 0 is NOT what you might expect - it instead forces it to the default. ; A range of -1 will force it to always match. ; Anything lower than -1 would presumably cause it to never match. ; ;dring1=95,0,0 ;dring1context=internal1 ;dring1range=10 ;dring2=325,95,0 ;dring2context=internal2 ;dring2range=10 ; If no pattern is matched here is where we go. ;context=default ;channel => 1 ; AMI alarm event reporting ;reportalarms=channels ;Possible values are: ;channels - report each channel alarms (current behavior, default for backward compatibility) ;spans - report an "SpanAlarm" event when the span of any configured channel is alarmed ;all - report channel and span alarms (aggregated behavior) ;none - do not report any alarms. ; ---------------- Options for use with signalling=ss7 ----------------- ; None of them can be changed by a reload. ; ; Variant of SS7 signalling: ; Options are itu and ansi ;ss7type = itu ; SS7 Called Nature of Address Indicator ; ; unknown: Unknown ; subscriber: Subscriber ; national: National ; international: International ; dynamic: Dynamically selects the appropriate dialplan ; ;ss7_called_nai=dynamic ; ; SS7 Calling Nature of Address Indicator ; ; unknown: Unknown ; subscriber: Subscriber ; national: National ; international: International ; dynamic: Dynamically selects the appropriate dialplan ; ;ss7_calling_nai=dynamic ; ; ; sample 1 for Germany ;ss7_internationalprefix = 00 ;ss7_nationalprefix = 0 ;ss7_subscriberprefix = ;ss7_unknownprefix = ; ; This option is used to disable automatic sending of ACM when the call is started ; in the dialplan. If you do use this option, you will need to use the Proceeding() ; application in the dialplan to send ACM. ;ss7_explictacm=yes ; All settings apply to linkset 1 ;linkset = 1 ; Point code of the linkset. For ITU, this is the decimal number ; format of the point code. For ANSI, this can either be in decimal ; number format or in the xxx-xxx-xxx format ;pointcode = 1 ; Point code of node adjacent to this signalling link (Possibly the STP between you and ; your destination). Point code format follows the same rules as above. ;adjpointcode = 2 ; Default point code that you would like to assign to outgoing messages (in case of ; routing through STPs, or using A links). Point code format follows the same rules ; as above. ;defaultdpc = 3 ; Begin CIC (Circuit indication codes) count with this number ;cicbeginswith = 1 ; What the MTP3 network indicator bits should be set to. Choices are ; national, national_spare, international, international_spare ;networkindicator=international ; First signalling channel ;sigchan = 48 ; Additional signalling channel for this linkset (So you can have a linkset ; with two signalling links in it). It seems like a silly way to do it, but ; for linksets with multiple signalling links, you add an additional sigchan ; line for every additional signalling link on the linkset. ;sigchan = 96 ; Channels to associate with CICs on this linkset ;channel = 25-47 ; ; For more information on setting up SS7, see the README file in libss7 or ; https://wiki.asterisk.org/wiki/display/AST/Signaling+System+Number+7 ; ----------------- SS7 Options ---------------------------------------- ; ---------------- Options for use with signalling=mfcr2 -------------- ; MFC-R2 signaling has lots of variants from country to country and even sometimes ; minor variants inside the same country. The only mandatory parameters here are: ; mfcr2_variant, mfcr2_max_ani and mfcr2_max_dnis. ; IT IS RECOMMENDED that you leave the default values (leaving it commented) for the ; other parameters unless you have problems or you have been instructed to change some ; parameter. OpenR2 library uses the mfcr2_variant parameter to try to determine the ; best defaults for your country, also refer to the OpenR2 package directory ; doc/asterisk/ where you can find sample configurations for some countries. If you ; want to contribute your configs for a particular country send them to the e-mail ; of the primary OpenR2 developer that you can find in the AUTHORS file of the OpenR2 package ; MFC/R2 variant. This depends on the OpenR2 supported variants ; A list of values can be found by executing the openr2 command r2test -l ; some valid values are: ; ar (Argentina) ; br (Brazil) ; mx (Mexico) ; ph (Philippines) ; itu (per ITU spec) ; mfcr2_variant=mx ; Max amount of ANI to ask for ; mfcr2_max_ani=10 ; Max amount of DNIS to ask for ; mfcr2_max_dnis=4 ; whether or not to get the ANI before getting DNIS. ; some telcos require ANI first some others do not care ; if this go wrong, change this value ; mfcr2_get_ani_first=no ; Caller Category to send ; national_subscriber ; national_priority_subscriber ; international_subscriber ; international_priority_subscriber ; collect_call ; usually national_subscriber works just fine ; you can change this setting from the dialplan ; by setting the variable MFCR2_CATEGORY ; (remember to set _MFCR2_CATEGORY from originating channels) ; MFCR2_CATEGORY will also be a variable available in your context ; on incoming calls set to the value received from the far end ; mfcr2_category=national_subscriber ; Call logging is stored at the Asterisk ; logging directory specified in asterisk.conf ; plus mfcr2/<whatever you put here> ; if you specify 'span1' here and asterisk.conf has ; as logging directory /var/log/asterisk then the full ; path to your MFC/R2 call logs will be /var/log/asterisk/mfcr2/span1 ; (the directory will be automatically created if not present already) ; remember to set mfcr2_call_files=yes ; mfcr2_logdir=span1 ; whether or not to drop call files into mfcr2_logdir ; mfcr2_call_files=yes|no ; MFC/R2 valid logging values are: all,error,warning,debug,notice,cas,mf,stack,nothing ; error,warning,debug and notice are self-descriptive ; 'cas' is for logging ABCD CAS tx and rx ; 'mf' is for logging of the Multi Frequency tones ; 'stack' is for very verbose output of the channel and context call stack, only useful ; if you are debugging a crash or want to learn how the library works. The stack logging ; will be only enabled if the openr2 library was compiled with -DOR2_TRACE_STACKS ; You can mix up values, like: loglevel=error,debug,mf to log just error, debug and ; multi frequency messages ; 'all' is a special value to log all the activity ; 'nothing' is a clean-up value, in case you want to not log any activity for ; a channel or group of channels ; BE AWARE that the level of output logged will ALSO depend on ; the value you have in logger.conf, if you disable output in logger.conf ; then it does not matter you specify 'all' here, nothing will be logged ; so logger.conf has the last word on what is going to be logged ; mfcr2_logging=all ; MFC/R2 value in milliseconds for the MF timeout. Any negative value ; means 'default', smaller values than 500ms are not recommended ; and can cause malfunctioning. If you experience protocol error ; due to MF timeout try incrementing this value in 500ms steps ; mfcr2_mfback_timeout=-1 ; MFC/R2 value in milliseconds for the metering pulse timeout. ; Metering pulses are sent by some telcos for some R2 variants ; during a call presumably for billing purposes to indicate costs, ; however this pulses use the same signal that is used to indicate ; call hangup, therefore a timeout is sometimes required to distinguish ; between a *real* hangup and a billing pulse that should not ; last more than 500ms, If you experience call drops after some ; minutes of being stablished try setting a value of some ms here, ; values greater than 500ms are not recommended. ; BE AWARE that choosing the proper protocol mfcr2_variant parameter ; implicitly sets a good recommended value for this timer, use this ; parameter only when you *really* want to override the default, otherwise ; just comment out this value or put a -1 ; Any negative value means 'default'. ; mfcr2_metering_pulse_timeout=-1 ; Brazil uses a special calling party category for collect calls (llamadas por cobrar) ; instead of using the operator (as in Mexico). The R2 spec in Brazil says a special GB tone ; should be used to reject collect calls. If you want to ALLOW collect calls specify 'yes', ; if you want to BLOCK collect calls then say 'no'. Default is to block collect calls. ; (see also 'mfcr2_double_answer') ; mfcr2_allow_collect_calls=no ; This feature is related but independent of mfcr2_allow_collect_calls ; Some PBX's require a double-answer process to block collect calls, if ; you ever have problems blocking collect calls using Group B signals (mfcr2_allow_collect_calls=no) ; then you may want to try with mfcr2_double_answer=yes, this will cause that every answer signal ; is changed by answer->clear back->answer (sort of a flash) ; (see also 'mfcr2_allow_collect_calls') ; mfcr2_double_answer=no ; This feature allows to skip the use of Group B/II signals and go directly ; to the accepted state for incoming calls ; mfcr2_immediate_accept=no ; You most likely dont need this feature. Default is yes. ; When this is set to yes, all calls that are offered (incoming calls) which ; DNIS is valid (exists in extensions.conf) and pass collect call validation ; will be accepted with a Group B tone (either call with charge or not, depending on mfcr2_charge_calls) ; with this set to 'no' then the call will NOT be accepted on offered, and the call will start its ; execution in extensions.conf without being accepted until the channel is answered (either with Answer() or ; any other application resulting in the channel being answered). ; This can be set to 'no' if your telco or PBX needs the hangup cause to be set accurately ; when this option is set to no you must explicitly accept the call with DAHDIAcceptR2Call ; or implicitly through the Answer() application. ; mfcr2_accept_on_offer=yes ; Skip request of calling party category and ANI ; you need openr2 >= 1.2.0 to use this feature ; mfcr2_skip_category=no ; WARNING: advanced users only! I really mean it ; this parameter is commented by default because ; YOU DON'T NEED IT UNLESS YOU REALLY GROK MFC/R2 ; READ COMMENTS on doc/r2proto.conf in openr2 package ; for more info ; mfcr2_advanced_protocol_file=/path/to/r2proto.conf ; Brazil use a special signal to force the release of the line (hangup) from the ; backward perspective. When mfcr2_forced_release=no, the normal clear back signal ; will be sent on hangup, which is OK for all mfcr2 variants I know of, except for ; Brazilian variant, where the central will leave the line up for several seconds (30, 60) ; which sometimes is not what people really want. When mfcr2_forced_release=yes, a different ; signal will be sent to hangup the call indicating that the line should be released immediately ; mfcr2_forced_release=no ; Whether or not report to the other end 'accept call with charge' ; This setting has no effect with most telecos, usually is safe ; leave the default (yes), but once in a while when interconnecting with ; old PBXs this may be useful. ; Concretely this affects the Group B signal used to accept calls ; The application DAHDIAcceptR2Call can also be used to decide this ; in the dial plan in a per-call basis instead of doing it here for all calls ; mfcr2_charge_calls=yes ; ---------------- END of options to be used with signalling=mfcr2 ; Configuration Sections ; ~~~~~~~~~~~~~~~~~~~~~~ ; You can also configure channels in a separate chan_dahdi.conf section. In ; this case the keyword 'channel' is not used. Instead the keyword ; 'dahdichan' is used (as in users.conf) - configuration is only processed ; in a section where the keyword dahdichan is used. It will only be ; processed in the end of the section. Thus the following section: ; ;[phones] ;echocancel = 64 ;dahdichan = 1-8 ;group = 1 ; ; Is somewhat equivalent to the following snippet in the section ; [channels]: ; ;echocancel = 64 ;group = 1 ;channel => 1-8 ; ; When starting a new section almost all of the configuration values are ; copied from their values at the end of the section [channels] in ; chan_dahdi.conf and [general] in users.conf - one section's configuration ; does not affect another one's. ; ; Instead of letting common configuration values "slide through" you can ; use configuration templates to easily keep the common part in one ; place and override where needed. ; ;[phones](!) ;echocancel = yes ;group = 0,4 ;callgroup = 3 ;pickupgroup = 3 ;threewaycalling = yes ;transfer = yes ;context = phones ;faxdetect = incoming ; ;[phone-1](phones) ;dahdichan = 1 ;callerid = My Name <501> ;mailbox = 501@mailboxes ; ; ;[fax](phones) ;dahdichan = 2 ;faxdetect = no ;context = fax ; ;[phone-3](phones) ;dahdichan = 3 ;pickupgroup = 3,4
Время первой команды журнала | 10:12:46 2014- 4-26 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 13:50:30 2014- 4-26 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 22.77 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 1.98 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.75 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008