/l3/users/oleglevitskiy/lab-nt-voip/aster-3/root :1 :2 :3 :4 :5 :6 :7 |
|
#nano extensions.conf
--- /tmp/l3-saved-4283.4182.452 2014-04-26 13:38:21.841210804 +0300 +++ extensions.conf 2014-04-26 13:39:46.613209667 +0300 @@ -12,6 +12,12 @@ #include "/etc/asterisk/extensions.conf.local" + +[ukraine-gateway] +exten => _380XXXXXXXXX,1,Dial(SIP/kiev/${EXTEN)) + + + [internal] include => parkedcalls exten => _80XX,1,Answer @@ -197,11 +203,13 @@ exten => _.,1,Playback(/var/tmp/asterisk/message) [gr_relay] + include => internal include => local include => national include => international include => failback +include=>ukraine-gateway [gr1] include => internal @@ -209,14 +217,17 @@ include => national include => international include => failback +include=>ukraine-gateway [gr2] include => internal include => local include => national include => failback +include=>ukraine-gateway [gr3] include => internal include => local include => failback +include=>ukraine-gateway |
#exten => s-BUSY,1,Busykground(/var/tmp/asterisk/message02)
Reloading Asterisk PBX configuration files. |
#service asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#nano extensions.conf
--- /tmp/l3-saved-4283.29762.11721 2014-04-26 13:41:57.609207913 +0300 +++ extensions.conf 2014-04-26 13:43:14.153206888 +0300 @@ -14,7 +14,7 @@ [ukraine-gateway] -exten => _380XXXXXXXXX,1,Dial(SIP/kiev/${EXTEN)) +exten => _380XXXXXXXXX,1,Dial(SIP/vienna/${EXTEN)) |
#{EPOCH})
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#cd /usr/src/
|
#ls
vpb-driver.tar.bz2 |
#wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
--2014-04-26 14:27:53-- http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz Resolving downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee Connecting to downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 34844777 (33M) [application/x-gzip] Saving to: `asterisk-11-current.tar.gz' 100%[======================================================================>] 34,844,777 1.55M/s in 17s 2014-04-26 14:28:10 (1.93 MB/s) - `asterisk-11-current.tar.gz' saved [34844777/34844777] |
#tar xvf asterisk-11-current.tar.gz
asterisk-11.9.0/ asterisk-11.9.0/Makefile.moddir_rules asterisk-11.9.0/missing asterisk-11.9.0/CREDITS asterisk-11.9.0/makeopts.in asterisk-11.9.0/config.guess asterisk-11.9.0/UPGRADE-10.txt asterisk-11.9.0/channels/ asterisk-11.9.0/channels/iax2-parser.h asterisk-11.9.0/channels/chan_mgcp.c ... asterisk-11.9.0/doc/Asterisk-Admin-Guide/Asterisk 11 AGICommand_database put.html asterisk-11.9.0/doc/Asterisk-Admin-Guide/Asterisk 11 ManagerEvent_AgentRingNoAnswer.html asterisk-11.9.0/doc/Asterisk-Admin-Guide/Asterisk 11 AGICommand_channel status.html asterisk-11.9.0/doc/Asterisk-Admin-Guide/Asterisk 11 ManagerAction_SKINNYlines.html asterisk-11.9.0/doc/Makefile asterisk-11.9.0/doc/astdb2bdb.8 asterisk-11.9.0/doc/asterisk.8 asterisk-11.9.0/doc/astdb2sqlite3.8 asterisk-11.9.0/doc/asterisk.sgml asterisk-11.9.0/doc/appdocsxml.dtd |
#ls
asterisk-11.9.0 asterisk-11-current.tar.gz vpb-driver.tar.bz2 |
#pwd
/usr/src |
#ls
asterisk-11.9.0 asterisk-11-current.tar.gz vpb-driver.tar.bz2 |
#cd asterisk-11
l3script: cd: asterisk-11: No such file or directory |
#cd asterisk-11.9.0/
|
#ls
addons channels include README-addons.txt agi codecs install-sh README-SERIOUSLY.bestpractices.txt apps config.guess keys res asterisk-11.9.0-summary.html configs LICENSE sample.call asterisk-11.9.0-summary.txt config.sub main sounds autoconf configure Makefile static-http bootstrap.sh configure.ac Makefile.moddir_rules tests bridges contrib Makefile.rules UPGRADE-10.txt BSDmakefile COPYING makeopts.in UPGRADE-1.2.txt BUGS CREDITS menuselect UPGRADE-1.4.txt build_tools default.exports missing UPGRADE-1.6.txt cdr doc mkinstalldirs UPGRADE-1.8.txt cel formats pbx UPGRADE.txt ChangeLog funcs phoneprov utils CHANGES images README Zaptel-to-DAHDI.txt |
#configure -help
l3script: configure: command not found |
#configure --help
l3script: configure: command not found |
#./configure --help
`configure' configures asterisk trunk to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit ... LIBEDIT_LIBS linker flags for LIBEDIT, overriding pkg-config GMIME_CFLAGS C compiler flags for GMIME, overriding pkg-config GMIME_LIBS linker flags for GMIME, overriding pkg-config GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config GTK2_LIBS linker flags for GTK2, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to <https://issues.asterisk.org>. |
#./configure --help|less
|
#./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 libtermcap-dev
|
#apt-cache search libncurses5-dev
libncurses5-dev - developer's libraries for ncurses |
#apt-cache search termcap
cmucl-source - CMUCL lisp sources colortest - utilities to test color capabilities of terminal ircii - Internet Relay Chat client joe - user friendly full screen text editor jupp - user friendly full screen text editor |
#apt-get install libxml2
Reading package lists... Done Building dependency tree Reading state information... Done libxml2 is already the newest version. libxml2 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
#apt-get install sqlite3
Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: sqlite3-doc The following NEW packages will be installed: sqlite3 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 118 kB of archives. After this operation, 147 kB of additional disk space will be used. Get:1 http://192.168.12.254/debian/ wheezy/main sqlite3 amd64 3.7.13-1+deb7u1 [118 kB] Fetched 118 kB in 0s (1,000 kB/s) Selecting previously unselected package sqlite3. (Reading database ... 141672 files and directories currently installed.) Unpacking sqlite3 (from .../sqlite3_3.7.13-1+deb7u1_amd64.deb) ... Processing triggers for man-db ... Setting up sqlite3 (3.7.13-1+deb7u1) ... |
#apt-cache search termcap
cmucl-source - CMUCL lisp sources colortest - utilities to test color capabilities of terminal ircii - Internet Relay Chat client joe - user friendly full screen text editor jupp - user friendly full screen text editor |
#apt-get install ircii
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: ircii 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 520 kB of archives. After this operation, 1,213 kB of additional disk space will be used. Get:1 http://192.168.12.254/debian/ wheezy/main ircii amd64 20060725-1 [520 kB] Fetched 520 kB in 0s (1,385 kB/s) Selecting previously unselected package ircii. (Reading database ... 141679 files and directories currently installed.) Unpacking ircii (from .../ircii_20060725-1_amd64.deb) ... Processing triggers for man-db ... Setting up ircii (20060725-1) ... update-alternatives: using /usr/bin/ircII to provide /usr/bin/irc (irc) in auto mode |
#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 0 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://192.168.12.254/debian/ wheezy/main libsqlite3-dev amd64 3.7.13-1+deb7u1 [578 kB] Fetched 578 kB in 0s (9,777 kB/s) Selecting previously unselected package libsqlite3-dev. (Reading database ... 142301 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) ... |
#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 0 not upgraded. ... Get:1 http://192.168.12.254/debian/ wheezy/main libtinfo-dev amd64 5.9-10 [105 kB] Get:2 http://192.168.12.254/debian/ wheezy/main libncurses5-dev amd64 5.9-10 [223 kB] Fetched 328 kB in 0s (8,374 kB/s) Selecting previously unselected package libtinfo-dev:amd64. (Reading database ... 142313 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. |
#apt-get install libxml2-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libxml2-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 902 kB of archives. After this operation, 2,864 kB of additional disk space will be used. Get:1 http://192.168.12.254/debian/ wheezy/main libxml2-dev amd64 2.8.0+dfsg1-7+nmu2 [902 kB] Fetched 902 kB in 0s (10.4 MB/s) Selecting previously unselected package libxml2-dev:amd64. (Reading database ... 142360 files and directories currently installed.) Unpacking libxml2-dev:amd64 (from .../libxml2-dev_2.8.0+dfsg1-7+nmu2_amd64.deb) ... Processing triggers for man-db ... Setting up libxml2-dev:amd64 (2.8.0+dfsg1-7+nmu2) ... |
#./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 ... $$$$$ $$$ $$$$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-get install libsqlite3-dev
Reading package lists... Done Building dependency tree Reading state information... Done libsqlite3-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
#make menuconfig
************************************************** Asterisk Module and Build Option Selection ************************************************** Press 'h' for help. --- extended --- XXX chan_mobile [ ] chan_ooh323 [ ] format_mp3 XXX res_config_mysql --- deprecated --- XXX app_mysql [ ] app_saycountpl XXX cdr_mysql Objective Systems H323 Channel Depends on: bluetooth(E) Support Level: extended |
#apt-get install libssl-dev
Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libssl-dev : Depends: libssl1.0.0 (= 1.0.1e-2+deb7u4) but 1.0.1e-2+deb7u7 is to be installed Recommends: libssl-doc but it is not going to be installed E: Unable to correct problems, you have held broken packages. |
#apt-get update -f
Get:1 http://192.168.12.254 wheezy Release.gpg [1,672 B] Get:2 http://192.168.12.254 wheezy Release [168 kB] Get:3 http://192.168.12.254 wheezy/main Translation-en [3,848 kB] Get:4 http://192.168.12.254 wheezy/main Sources [7,475 kB] Get:5 http://192.168.12.254 wheezy/main amd64 Packages [7,628 kB] Fetched 19.1 MB in 6s (3,083 kB/s) Reading package lists... Done |
#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 56 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 ... 142424 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 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 56 not upgraded. Need to get 117 kB of archives. After this operation, 390 kB of additional disk space will be used. Get:1 http://192.168.12.254/debian/ wheezy/main libsrtp0-dev amd64 1.4.4+20100615~dfsg-2+deb7u1 [117 kB] Fetched 117 kB in 0s (7,320 kB/s) Selecting previously unselected package libsrtp0-dev. (Reading database ... 143862 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) ... |
#ls
addons codecs include README agi config.guess install-sh README-addons.txt apps config.log keys README-SERIOUSLY.bestpractices.txt asterisk-11.9.0-summary.html configs LICENSE res asterisk-11.9.0-summary.txt config.status main sample.call autoconf config.sub Makefile sounds bootstrap.sh configure Makefile.moddir_rules static-http bridges configure.ac Makefile.rules tests BSDmakefile contrib makeopts UPGRADE-10.txt BUGS COPYING makeopts.in UPGRADE-1.2.txt build_tools CREDITS menuselect UPGRADE-1.4.txt cdr default.exports menuselect-tree UPGRADE-1.6.txt cel doc missing UPGRADE-1.8.txt ChangeLog formats mkinstalldirs UPGRADE.txt CHANGES funcs pbx utils channels images phoneprov Zaptel-to-DAHDI.txt |
#cd ../
|
#ls
asterisk-11.9.0 asterisk-11-current.tar.gz dahdi-linux-complete-current.tar.gz vpb-driver.tar.bz2 |
#tar xvf dahdi-linux-complete-current.tar.gz
dahdi-linux-complete-2.9.1.1+2.9.1/ dahdi-linux-complete-2.9.1.1+2.9.1/tools/ dahdi-linux-complete-2.9.1.1+2.9.1/tools/dahdi_tool.c dahdi-linux-complete-2.9.1.1+2.9.1/tools/sethdlc.c dahdi-linux-complete-2.9.1.1+2.9.1/tools/tonezone.h dahdi-linux-complete-2.9.1.1+2.9.1/tools/timertest.c dahdi-linux-complete-2.9.1.1+2.9.1/tools/UPGRADE.txt dahdi-linux-complete-2.9.1.1+2.9.1/tools/dahdi_pcap.c dahdi-linux-complete-2.9.1.1+2.9.1/tools/autoconfig.h.in dahdi-linux-complete-2.9.1.1+2.9.1/tools/configure.ac ... dahdi-linux-complete-2.9.1.1+2.9.1/linux/build_tools/uninstall-modules dahdi-linux-complete-2.9.1.1+2.9.1/linux/build_tools/make_version dahdi-linux-complete-2.9.1.1+2.9.1/linux/build_tools/make_version_h dahdi-linux-complete-2.9.1.1+2.9.1/linux/build_tools/builder dahdi-linux-complete-2.9.1.1+2.9.1/linux/build_tools/kernel-cp dahdi-linux-complete-2.9.1.1+2.9.1/linux/build_tools/install_firmware dahdi-linux-complete-2.9.1.1+2.9.1/linux/build_tools/make_static_devs dahdi-linux-complete-2.9.1.1+2.9.1/linux/LICENSE dahdi-linux-complete-2.9.1.1+2.9.1/linux/.gitignore dahdi-linux-complete-2.9.1.1+2.9.1/ChangeLog |
#ls
asterisk-11.9.0 dahdi-linux-complete-2.9.1.1+2.9.1 vpb-driver.tar.bz2 asterisk-11-current.tar.gz dahdi-linux-complete-current.tar.gz |
#cd dahdi-linux-complete-
l3script: cd: dahdi-linux-complete-: No such file or directory |
#cd dahdi-linux-complete-2.9.1.1+2.9.1/
|
#ls
ChangeLog linux Makefile README tools |
#./configure
l3script: ./configure: No such file or directory |
#make
make -C linux all make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/firmware' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 3.2.0-4-amd64 kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux' make: *** [all] Error 2 |
#make install
make -C linux all make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/firmware' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 3.2.0-4-amd64 kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.9.1.1+2.9.1/linux' make: *** [all] Error 2 |
#./configure
l3script: ./configure: No such file or directory |
#ls
ChangeLog linux Makefile README tools |
#cd ../
|
#cd asterisk-11.9.0/
|
#ls
addons codecs include README agi config.guess install-sh README-addons.txt apps config.log keys README-SERIOUSLY.bestpractices.txt asterisk-11.9.0-summary.html configs LICENSE res asterisk-11.9.0-summary.txt config.status main sample.call autoconf config.sub Makefile sounds bootstrap.sh configure Makefile.moddir_rules static-http bridges configure.ac Makefile.rules tests BSDmakefile contrib makeopts UPGRADE-10.txt BUGS COPYING makeopts.in UPGRADE-1.2.txt build_tools CREDITS menuselect UPGRADE-1.4.txt cdr default.exports menuselect-tree UPGRADE-1.6.txt cel doc missing UPGRADE-1.8.txt ChangeLog formats mkinstalldirs UPGRADE.txt CHANGES funcs pbx utils channels images phoneprov Zaptel-to-DAHDI.txt |
#./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 ... $$$$$ $$$ $$$$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 menuselect
Press 'h' for help. ---> Add-ons (See README-addons.txt) Applications Bridging Modules Call Detail Recording Channel Event Logging Channel Drivers Codec Translators Format Interpreters Dialplan Functions ... Compiler Flags Voicemail Build Options Utilities AGI Samples Module Embedding Core Sound Packages Music On Hold File Packages Extras Sound Packages menuselect changes NOT saved! make[1]: Leaving directory `/usr/src/asterisk-11.9.0' |
#make menuconfig
************************************************** Asterisk Module and Build Option Selection ************************************************** Press 'h' for help. --- extended --- XXX chan_mobile [ ] chan_ooh323 [ ] format_mp3 XXX res_config_mysql --- deprecated --- XXX app_mysql [ ] app_saycountpl XXX cdr_mysql Say polish counting words Depends on: mysqlclient(E) Support Level: deprecated, Replaced by: cdr_adaptive_odbc |
#make menuconfig
Press 'h' for help. Add-ons (See README-addons.txt) Applications Bridging Modules Call Detail Recording Channel Event Logging Channel Drivers Codec Translators Format Interpreters ---> Dialplan Functions ... Compiler Flags Voicemail Build Options Utilities AGI Samples Module Embedding Core Sound Packages Music On Hold File Packages Extras Sound Packages menuselect changes NOT saved! make[1]: Leaving directory `/usr/src/asterisk-11.9.0' |
#m-a a-i dahdi
┌────────────────────┤ Updating cached package data ├─────────────────────┐ │ Reading apt-cache output... │ │ │ │ │ │ 100% │ │ │ └─────────────────────────────────────────────────────────────────────────┘ Updated infos about 1 packages unpack The source tarball could not be found! Package dahdi not installed? Running "m-a -f get dahdi" may help. "/usr/share/modass/packages/default.sh" build KVERS=3.2.0-4-amd64 KSRC=/lib/modules/3.2.0-4-amd64/build KDREV=3.2.57-3 kdist_image find: `/usr/src/modules/dahdi*': No such file or directory |
Время первой команды журнала | 12:38:19 2014- 4-26 | ||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 14:54:24 2014- 4-26 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 59 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 13.56 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 6.78 | ||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.66 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.49 | ||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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