Журнал лабораторных работ

Содержание

Журнал

Понедельник (03/28/16)

/dev/pts/1
15:44:34
#gedit ~/.bash_
.bash_history  .bash_profile
15:44:34
#gedit ~/.bash_
.bash_history  .bash_profile
15:44:34
#gedit ~/.bash_profile
** (gedit:11386): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
(gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
Error creating proxy: The connection is closed (g-io-error-quark, 18)
(gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
(gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
(gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
** (gedit:11386): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:11386): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed
** (gedit:11386): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported

Вторник (03/29/16)

/dev/pts/3
10:28:45
#sudo apt-get install is
isag                  isdnlog               isomaster
isatapd               isdnlog-data          isomd5sum
isc-dhcp-client       isdnutils-base        isoqlog
isc-dhcp-client-dbg   isdnutils-doc         isoquery
isc-dhcp-common       isdnutils-xtools      ispanish
isc-dhcp-dbg          isdnvbox              ispell
isc-dhcp-dev          isdnvboxclient        isrcsubmit
isc-dhcp-relay        isdnvboxserver        istanbul
isc-dhcp-relay-dbg    iselect               istgt
isc-dhcp-server       isenkram              iswedish
isc-dhcp-server-dbg   isenkram-cli          iswiss
isc-dhcp-server-ldap  islamic-menus         isync
iscsitarget           iso-codes
iscsitarget-dkms      isolinux
10:28:45
#apt-get install isc-dhcp-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
isc-dhcp-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/dev/pts/3
10:36:04
#l3-agent
Removing stale pidfile
прошло >3 часов
/dev/pts/6
14:32:59
#less /var/log/asterisk/messages
14:33:11
#ls -l /var/log/asterisk/messages
-rw-rw---- 1 asterisk asterisk 9710 Mar 29 15:29 /var/log/asterisk/messages
14:33:14
#ls -l /var/tmp/asterisk/
total 0
14:33:43
#[Mar 29 14:38:33] NOTICE[477] chan_sip.c: Registration from '"1401" <sip:1401@19
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 442)
asterisk4*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing [4001@default:1] Record("SIP/1401-00000012", "/var/tmp/asterisk/message01:wav") in new stack
       > 0x7f1ecc0535f0 -- Probation passed - setting RTP source address to 192.168.40.201:16416
    -- <SIP/1401-00000012> Playing 'beep.gsm' (language 'en')
       > 0x7f1ecc044da0 -- Probation passed - setting RTP source address to 192.168.40.201:16408
[Mar 29 15:33:59] NOTICE[477][C-00000013]: chan_sip.c:24446 attempt_transfer: SIP Transfer attempted with no appropriate bridged calls to transfer
[Mar 29 15:33:59] WARNING[6336][C-00000017]: file.c:532 filehelper: unlink(/var/tmp/asterisk/message01.wav) failed: No such file or directory
  == Spawn extension (default, 4001, 1) exited non-zero on 'SIP/1401-00000012'
  == Spawn extension (default, 4001, 1) exited non-zero on 'SIP/1401-0000000e'
asterisk4*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
14:34:28
#/etc/init.d/asterisk restart
Restarting asterisk (via systemctl): asterisk.service.

Среда (03/30/16)

/dev/pts/4
09:24:01
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 472)
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     OK (21 ms)
1402/1402                 192.168.40.202                           D  Auto (No)  No             5060     UNREACHABLE
minsk/vitebsk             192.168.40.1                             D  Auto (No)  No             5060     Unmonitored
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]
[Mar 30 10:24:47] NOTICE[503]: chan_sip.c:23561 handle_response_peerpoke: Peer '1402' is now Reachable. (37ms / 2000ms)
asterisk4*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
прошло >2 часов
/dev/pts/6
11:55:42
#asterisk -rvvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 472)
  == Using SIP RTP CoS mark 5
    -- Executing [1402@phone:1] Macro("SIP/1401-00000032", "call") in new stack
...
    -- Called SIP/1402
    -- SIP/1402-00000033 is ringing
    -- Nobody picked up in 10000 ms
    -- Executing [s@macro-call:3] GotoIf("SIP/1401-00000032", "0?label1") in new stack
    -- Executing [s@macro-call:4] Hangup("SIP/1401-00000032", "") in new stack
  == Spawn extension (macro-call, s, 4) exited non-zero on 'SIP/1401-00000032' in macro 'call'
  == Spawn extension (phone, 1402, 1) exited non-zero on 'SIP/1401-00000032'
asterisk4*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
11:56:35
#less /etc/asterisk/extensions.conf
/dev/pts/6
12:01:04
#less /etc/asterisk/extensions.conf
/dev/pts/6
12:03:43
#vim /etc/asterisk/voicemail.conf
прошло >3 часов
/dev/pts/5
15:04:55
#ls
acl.conf                 config_test.conf        muted.conf
adsi.conf                console.conf            ooh323.conf
agents.conf              dbsep.conf              osp.conf
alarmreceiver.conf       dnsmgr.conf             oss.conf
alsa.conf                dsp.conf                phone.conf
amd.conf                 dundi.conf              phoneprov.conf
app_mysql.conf           enum.conf               queuerules.conf
app_skel.conf            extconfig.conf          queues.conf
asterisk.adsi            extensions.ael          res_config_mysql.conf
asterisk.conf            ~extensions.conf        res_config_sqlite3.conf
...
cel_pgsql.conf           logger.conf             skinny.conf
cel_sqlite3_custom.conf  manager.conf            sla.conf
cel_tds.conf             manager.d               smdi.conf
chan_dahdi.conf          meetme.conf             telcordia-1.adsi
chan_mobile.conf         mgcp.conf               udptl.conf
cli_aliases.conf         minivm.conf             unistim.conf
cli.conf                 misdn.conf              users.conf
cli_permissions.conf     modules.conf            voicemail.conf
codecs.conf              motif.conf              vpb.conf
confbridge.conf          musiconhold.conf        xmpp.conf
15:04:56
#pwd
/etc/asterisk
15:05:06
#cd /var/spool/asterisk/monitor/

15:05:19
#ls

15:05:20
#ls

15:06:49
#ls
1401-s-2016-03-30-16:09.wav
/dev/pts/9
15:09:06
#vim /etc/asterisk/extensions.conf
/dev/pts/5
15:10:03
#apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  attr libaio1 libhdb9-heimdal libkdc2-heimdal python-crypto
  python-dnspython python-ldb python-ntdb python-samba python-tdb
  samba-common samba-common-bin samba-dsdb-modules samba-vfs-modules
  tdb-tools
Suggested packages:
  python-crypto-dbg python-crypto-doc bind9 bind9utils ctdb ldb-tools ntp
...
Setting up tdb-tools (1.3.1-1) ...
update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode
Setting up libkdc2-heimdal:amd64 (1.6~rc2+dfsg-9) ...
Setting up samba (2:4.1.17+dfsg-2+deb8u2) ...
Adding group `sambashare' (GID 122) ...
Done.
Setting up attr (1:2.4.47-2) ...
Setting up samba-vfs-modules (2:4.1.17+dfsg-2+deb8u2) ...
Processing triggers for libc-bin (2.19-18+deb8u3) ...
Processing triggers for systemd (215-17+deb8u3) ...
15:10:38
#cd /var/tmp/asterisk/

прошло 29 минут
15:39:38
#ls
message000.wav  message01.wav  message05.gsm  message10.gsm
15:39:39
#ls
message000.wav  message001.wav  message01.wav  message05.gsm  message10.gsm
/dev/pts/9
15:40:39
#asterisk -rvvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 472)
asterisk4*CLI>
asterisk4*CLI>
  == Using SIP RTP CoS mark 5
[Mar 30 16:40:47] NOTICE[503][C-00000049]: chan_sip.c:25628 handle_request_invite: Call from '1401' (192.168.40.201:5060) to extension '4200' rejected because extension not found in context 'phone'.
asterisk4*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
15:40:52
#less /etc/asterisk/extensions.conf
/dev/pts/5
15:50:09
#ls
message000.wav  message001.wav  message01.wav  message05.gsm  message10.gsm
15:51:05
#ls
message000.wav  message001.wav  message01.wav  message05.gsm  message10.gsm
15:51:08
#ls
message000.wav  message002.wav  message004.wav  message01.wav  message10.gsm
message001.wav  message003.wav  message005.wav  message05.gsm
15:52:14
#ls
message000.wav  message002.wav  message004.wav  message01.wav  message10.gsm
message001.wav  message003.wav  message005.wav  message05.gsm
15:53:13
#ls -la
total 1044
drwxr-xr-x 2 asterisk asterisk   4096 Mar 30 16:52 .
drwxrwxrwt 5 root     root       4096 Mar 30 14:41 ..
-rw-rw---- 1 asterisk asterisk  26764 Mar 30 16:37 message000.wav
-rw-rw---- 1 asterisk asterisk  19404 Mar 30 16:53 message001.wav
-rw-rw---- 1 asterisk asterisk  23564 Mar 30 16:51 message002.wav
-rw-rw---- 1 asterisk asterisk  19724 Mar 30 16:51 message003.wav
-rw-rw---- 1 asterisk asterisk  17164 Mar 30 16:52 message004.wav
-rw-rw---- 1 asterisk asterisk  17804 Mar 30 16:52 message005.wav
-rw-rw---- 1 asterisk asterisk  48524 Mar 29 15:47 message01.wav
-rw-r--r-- 1 root     root     437448 Mar 30 15:00 message05.gsm
-rw-r--r-- 1 root     root     437448 Mar 30 15:00 message10.gsm
15:53:16
#ls -la
total 1044
drwxr-xr-x 2 asterisk asterisk   4096 Mar 30 16:52 .
drwxrwxrwt 5 root     root       4096 Mar 30 14:41 ..
-rw-rw---- 1 asterisk asterisk  26764 Mar 30 16:37 message000.wav
-rw-rw---- 1 asterisk asterisk  19404 Mar 30 16:53 message001.wav
-rw-rw---- 1 asterisk asterisk  23564 Mar 30 16:51 message002.wav
-rw-rw---- 1 asterisk asterisk  19724 Mar 30 16:51 message003.wav
-rw-rw---- 1 asterisk asterisk  17164 Mar 30 16:52 message004.wav
-rw-rw---- 1 asterisk asterisk  17804 Mar 30 16:52 message005.wav
-rw-rw---- 1 asterisk asterisk  48524 Mar 29 15:47 message01.wav
-rw-r--r-- 1 root     root     437448 Mar 30 15:00 message05.gsm
-rw-r--r-- 1 root     root     437448 Mar 30 15:00 message10.gsm
/dev/pts/9
15:55:00
#less /etc/asterisk/extensions.conf
15:56:02
#ls /var/tmp/asterisk/
message000.wav  message002.wav  message004.wav  message01.wav  message10.gsm
message001.wav  message003.wav  message005.wav  message05.gsm
15:56:05
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-13291.18755.31106	2016-03-30 16:56:24.464770823 +0300
+++ /etc/asterisk/extensions.conf	2016-03-30 16:56:43.376771024 +0300
@@ -40,7 +40,7 @@
 exten => 4204,1,Read(ORDER,/var/tmp/asterisk/message000)
 exten => 4204,n,Playback(/var/tmp/asterisk/message001)
 exten => 4204,n,SayDigits(${ORDER})
-exten => 4204,n,Playback(/var/tmp/asterisk/message0${DB(order/${ORDER})}
+exten => 4204,n,Playback(/var/tmp/asterisk/message00${DB(order/${ORDER})}
 
 
 exten => 4200,1,Playback(/var/tmp/asterisk/message000)
15:57:38
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-13291.28263.16644	2016-03-30 16:57:39.332771619 +0300
+++ /etc/asterisk/extensions.conf	2016-03-30 16:57:57.060771807 +0300
@@ -40,7 +40,7 @@
 exten => 4204,1,Read(ORDER,/var/tmp/asterisk/message000)
 exten => 4204,n,Playback(/var/tmp/asterisk/message001)
 exten => 4204,n,SayDigits(${ORDER})
-exten => 4204,n,Playback(/var/tmp/asterisk/message00${DB(order/${ORDER})}
+exten => 4204,n,Playback(/var/tmp/asterisk/message00${DB(order/${ORDER})})
 
 
 exten => 4200,1,Playback(/var/tmp/asterisk/message000)

Четверг (03/31/16)

/dev/pts/3
09:35:07
#clear

09:35:10
#cd /etc/asterisk/

09:40:31
#gedit extensions.conf
** (gedit:2314): WARNING **: Could not open X display
Unable to init server: Could not connect: Connection refused
(gedit:2314): Gtk-WARNING **: cannot open display: localhost:11.0
/dev/pts/2
09:41:50
#cd /etc/asterisk/

09:41:56
#ls
acl.conf                 cel_tds.conf            http.conf                res_corosync.conf
adsi.conf                chan_dahdi.conf         iax.conf                 res_curl.conf
agents.conf              chan_mobile.conf        iaxprov.conf             res_fax.conf
alarmreceiver.conf       cli_aliases.conf        indications.conf         res_ldap.conf
alsa.conf                cli.conf                jabber.conf              res_odbc.conf
amd.conf                 cli_permissions.conf    jingle.conf              res_pgsql.conf
app_mysql.conf           codecs.conf             logger.conf              res_pktccops.conf
app_skel.conf            confbridge.conf         manager.conf             res_snmp.conf
asterisk.adsi            config_test.conf        manager.d                res_stun_monitor.conf
asterisk.conf            console.conf            meetme.conf              rtp.conf
...
cdr_odbc.conf            ~extensions.conf        ooh323.conf              telcordia-1.adsi
cdr_pgsql.conf           extensions.conf         osp.conf                 udptl.conf
cdr_sqlite3_custom.conf  extensions.lua          oss.conf                 unistim.conf
cdr_syslog.conf          extensions_minivm.conf  phone.conf               users.conf
cdr_tds.conf             features.conf           phoneprov.conf           voicemail.conf
cel.conf                 festival.conf           queuerules.conf          vpb.conf
cel_custom.conf          followme.conf           queues.conf              xmpp.conf
cel_odbc.conf            func_odbc.conf          res_config_mysql.conf
cel_pgsql.conf           gtalk.conf              res_config_sqlite3.conf
cel_sqlite3_custom.conf  h323.conf               res_config_sqlite.conf
09:41:57
#gedit extensions.conf
** (gedit:2484): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:2484): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-language not supported
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
...
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:2484): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
прошло 32 минуты
10:14:39
#man bash | head -30 | sed '1,14d;23,$d' | text2wave > /tmp/1

10:22:44
#man bash | head -30 | sed '1,14d;23,$d' | text2wave > /tmp/1.wav

10:22:57
#ls
acl.conf                 cel_tds.conf            http.conf                res_corosync.conf
adsi.conf                chan_dahdi.conf         iax.conf                 res_curl.conf
agents.conf              chan_mobile.conf        iaxprov.conf             res_fax.conf
alarmreceiver.conf       cli_aliases.conf        indications.conf         res_ldap.conf
alsa.conf                cli.conf                jabber.conf              res_odbc.conf
amd.conf                 cli_permissions.conf    jingle.conf              res_pgsql.conf
app_mysql.conf           codecs.conf             logger.conf              res_pktccops.conf
app_skel.conf            confbridge.conf         manager.conf             res_snmp.conf
asterisk.adsi            config_test.conf        manager.d                res_stun_monitor.conf
asterisk.conf            console.conf            meetme.conf              rtp.conf
...
cdr_odbc.conf            ~extensions.conf        ooh323.conf              telcordia-1.adsi
cdr_pgsql.conf           extensions.conf         osp.conf                 udptl.conf
cdr_sqlite3_custom.conf  extensions.lua          oss.conf                 unistim.conf
cdr_syslog.conf          extensions_minivm.conf  phone.conf               users.conf
cdr_tds.conf             features.conf           phoneprov.conf           voicemail.conf
cel.conf                 festival.conf           queuerules.conf          vpb.conf
cel_custom.conf          followme.conf           queues.conf              xmpp.conf
cel_odbc.conf            func_odbc.conf          res_config_mysql.conf
cel_pgsql.conf           gtalk.conf              res_config_sqlite3.conf
cel_sqlite3_custom.conf  h323.conf               res_config_sqlite.conf
10:23:35
#cd /etc/asterisk/

прошло 36 минут
10:59:43
#gedit extensions.conf
** (gedit:4235): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:4235): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:4235): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:4235): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:4235): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:4235): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:4235): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
11:01:40
#gedit extensions.conf
** (gedit:5605): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:5605): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
** (gedit:5605): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-language not supported
/dev/pts/4
11:02:30
#ls -l /var/lib/asterisk/
astdb.sqlite3  moh/           sounds/        sqlite.db
11:02:55
#chown asterisk:asterisk /var/lib/asterisk/sounds/tts

/dev/pts/2
11:05:09
#gedit /usr/local/
bin/     etc/     games/   include/ lib/     man/     sbin/    share/   src/
11:05:09
#gedit /usr/local/bin/
asterisk-festival.pl  l3-agent              l3-config             l3script
11:05:09
#gedit /usr/local/bin/asterisk-festival.pl
** (gedit:5639): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:5639): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
прошло 30 минут
11:36:05
#gedit extensions.conf
** (gedit:5748): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:5748): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
...
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-language not supported
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:5748): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
прошло 86 минут
/dev/pts/4
13:02:22
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-5976.13301.6968	2016-03-31 14:02:28.463955060 +0300
+++ /etc/asterisk/extensions.conf	2016-03-31 14:03:23.539955645 +0300
@@ -15,7 +15,9 @@
 exten => s,n,Hangup
 
 [submenu]
-exten => s,1(start),Background(/var/tmp/asterisk/message111)
+exten => s,1,Answer
+exten => s,n(start),Background(/var/tmp/asterisk/message111)
+
 exten => 9,1,Goto(s,start)
 exten => 0,1,Goto(menu,s,start)
 
13:03:42
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-5976.4145.5474	2016-03-31 14:03:44.443955867 +0300
+++ /etc/asterisk/extensions.conf	2016-03-31 14:04:09.819956136 +0300
@@ -32,7 +32,7 @@
 exten => s,n,Background(/var/tmp/asterisk/message109)
 exten => s,n,Hangup
 
-exten => 1,1,Goto(submenu,1,start)
+exten => 1,1,Goto(submenu,s,start)
 exten => 9,1,Goto(s,start)
 exten => 0,1,Hangup
 
/dev/pts/2
13:04:56
#gedit extensions.conf
** (gedit:6107): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:6107): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
...
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6107): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
/dev/pts/4
13:06:30
#asterisk -rvvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 499)
asterisk4*CLI>
  == Using SIP RTP CoS mark 5
...
       > 0x7ff3f801bcb0 -- Probation passed - setting RTP source address to 192.168.40.201:16460
    -- Executing [s@menu:2] BackGround("SIP/1401-00000043", "/var/tmp/asterisk/message106") in new stack
    -- <SIP/1401-00000043> Playing '/var/tmp/asterisk/message106.slin' (language 'ja')
    -- Executing [s@menu:3] WaitExten("SIP/1401-00000043", "2") in new stack
  == CDR updated on SIP/1401-00000043
    -- Executing [0@menu:1] Hangup("SIP/1401-00000043", "") in new stack
  == Spawn extension (menu, 0, 1) exited non-zero on 'SIP/1401-00000043'
asterisk4*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
прошло 11 минут
/dev/pts/4
13:18:28
#asterisk -rvvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 499)
asterisk4*CLI>
asterisk4*CLI>
...
    -- <SIP/1401-00000050> Playing '/var/tmp/asterisk/message000.slin' (language 'ja')
    -- User entered '2'
    -- Executing [2@menu:2] Playback("SIP/1401-00000050", "/var/tmp/asterisk/message001") in new stack
    -- <SIP/1401-00000050> Playing '/var/tmp/asterisk/message001.slin' (language 'ja')
    -- Executing [2@menu:3] SayDigits("SIP/1401-00000050", "2") in new stack
    -- <SIP/1401-00000050> Playing 'digits/2.gsm' (language 'ja')
    -- Auto fallthrough, channel 'SIP/1401-00000050' status is 'UNKNOWN'
asterisk4*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
13:19:06
#vim /etc/asterisk/extensions.conf
/dev/pts/2
13:26:01
#gedit extensions.conf
** (gedit:6377): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:6377): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
13:26:33
#cd /usr/local/bin

13:26:47
#gedit asterisk-festival.pl
** (gedit:6415): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:6415): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6415): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6415): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6415): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6415): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6415): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
13:27:07
#cd /etc/asterisk/

13:27:43
#ls
acl.conf                 cel_tds.conf            http.conf                res_corosync.conf
adsi.conf                chan_dahdi.conf         iax.conf                 res_curl.conf
agents.conf              chan_mobile.conf        iaxprov.conf             res_fax.conf
alarmreceiver.conf       cli_aliases.conf        indications.conf         res_ldap.conf
alsa.conf                cli.conf                jabber.conf              res_odbc.conf
amd.conf                 cli_permissions.conf    jingle.conf              res_pgsql.conf
app_mysql.conf           codecs.conf             logger.conf              res_pktccops.conf
app_skel.conf            confbridge.conf         manager.conf             res_snmp.conf
asterisk.adsi            config_test.conf        manager.d                res_stun_monitor.conf
asterisk.conf            console.conf            meetme.conf              rtp.conf
...
cdr_odbc.conf            ~extensions.conf        ooh323.conf              telcordia-1.adsi
cdr_pgsql.conf           extensions.conf         osp.conf                 udptl.conf
cdr_sqlite3_custom.conf  extensions.lua          oss.conf                 unistim.conf
cdr_syslog.conf          extensions_minivm.conf  phone.conf               users.conf
cdr_tds.conf             features.conf           phoneprov.conf           voicemail.conf
cel.conf                 festival.conf           queuerules.conf          vpb.conf
cel_custom.conf          followme.conf           queues.conf              xmpp.conf
cel_odbc.conf            func_odbc.conf          res_config_mysql.conf
cel_pgsql.conf           gtalk.conf              res_config_sqlite3.conf
cel_sqlite3_custom.conf  h323.conf               res_config_sqlite.conf
13:27:44
#gedit extensions.conf
** (gedit:6450): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:6450): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6450): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
/dev/pts/4
13:30:23
#vim /usr/local/bin/
13:30:23
#vim /usr/local/bin/asterisk-festival.pl
--- /tmp/l3-saved-6505.24267.5677	2016-03-31 14:30:32.259972943 +0300
+++ /usr/local/bin/asterisk-festival.pl	2016-03-31 14:32:45.043974354 +0300
@@ -29,5 +29,6 @@
 }
 $wavefile =~ s/.wav$//;
 
-$AGI->exec('Background', $wavefile);
+#$AGI->exec('Background', $wavefile);
+$AGI->set_variable('FILENAME', $wavefile);
 
13:32:45
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-6505.2491.23251	2016-03-31 14:32:56.959974480 +0300
+++ /etc/asterisk/extensions.conf	2016-03-31 14:33:28.507974815 +0300
@@ -18,7 +18,9 @@
 exten => s,1,Answer
 exten => s,n(start),Background(/var/tmp/asterisk/message111)
 exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt)
+exten => 1,n,Background(${FILENAME})
 exten => 2,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/burunduki.txt)
+exten => 2,n,Background(${FILENAME})
 exten => 9,1,Goto(s,start)
 exten => 0,1,Goto(menu,s,start)
 
/dev/pts/4
13:35:13
#vim /etc/asterisk/extensions.conf
13:36:56
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-6702.933.30250	2016-03-31 14:36:57.635977036 +0300
+++ /etc/asterisk/extensions.conf	2016-03-31 14:37:36.795977452 +0300
@@ -17,10 +17,13 @@
 [submenu]
 exten => s,1,Answer
 exten => s,n(start),Background(/var/tmp/asterisk/message111)
+
 exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt)
 exten => 1,n,Background(${FILENAME})
+
 exten => 2,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/burunduki.txt)
 exten => 2,n,Background(${FILENAME})
+
 exten => 9,1,Goto(s,start)
 exten => 0,1,Goto(menu,s,start)
 
13:37:44
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-6702.27785.15175	2016-03-31 14:37:56.939977666 +0300
+++ /etc/asterisk/extensions.conf	2016-03-31 14:38:14.995977858 +0300
@@ -18,8 +18,8 @@
 exten => s,1,Answer
 exten => s,n(start),Background(/var/tmp/asterisk/message111)
 
-exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt)
-exten => 1,n,Background(${FILENAME})
+;exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt)
+exten => 1,1,Background(/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70)
 
 exten => 2,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/burunduki.txt)
 exten => 2,n,Background(${FILENAME})
13:38:15
#vim /etc/asterisk/extensions.conf
13:38:43
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-6702.17192.32477	2016-03-31 14:38:45.987978187 +0300
+++ /etc/asterisk/extensions.conf	2016-03-31 14:39:23.267978583 +0300
@@ -18,8 +18,8 @@
 exten => s,1,Answer
 exten => s,n(start),Background(/var/tmp/asterisk/message111)
 
-;exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt)
-exten => 1,1,Background(/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70)
+exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt)
+exten => 2,n,Background(${FILENAME})
 
 exten => 2,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/burunduki.txt)
 exten => 2,n,Background(${FILENAME})
/dev/pts/2
13:39:47
#gedit extensions.conf
** (gedit:6838): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:6838): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6838): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6838): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6838): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6838): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
13:41:31
#gedit queues.conf
** (gedit:6860): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:6860): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6860): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6860): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6860): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6860): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6860): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6860): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6860): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6860): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6860): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6860): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
/dev/pts/4
13:44:25
#asterisk -rvvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 499)
asterisk4*CLI>
asterisk4*CLI> queue
...
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI> queue show queue1
queue1 has 0 calls (max unlimited) in 'ringall' strategy (1s holdtime, 5s talktime), W:0, C:1, A:0, SL:0.0% within 0s
   Members:
      SIP/1402 (ringinuse enabled) (Not in use) has taken 1 calls (last was 2 secs ago)
   No Callers
asterisk4*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/2
13:53:51
#gedit agents.conf
** (gedit:6986): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:6986): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6986): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6986): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6986): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6986): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6986): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
13:55:15
#gedit extensions.conf
** (gedit:7008): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7008): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
...
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7008): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
/dev/pts/4
13:57:16
#asterisk -rvvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 499)
asterisk4*CLI>
asterisk4*CLI>
  == Using SIP RTP CoS mark 5
[Mar 31 14:57:24] NOTICE[801][C-0000005d]: chan_sip.c:25628 handle_request_invite: Call from '1401' (192.168.40.201:5060) to extension '4411' rejected because extension not found in context 'phone'.
asterisk4*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
13:57:37
#vim /etc/asterisk/extensions.conf
/dev/pts/2
14:04:01
#gedit agents.conf
** (gedit:7164): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7164): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
14:04:24
#gedit extensions.conf
** (gedit:7180): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7180): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
14:04:51
#gedit queues.conf
** (gedit:7196): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7196): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
14:05:40
#gedit extensions.conf
** (gedit:7212): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7212): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7212): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7212): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7212): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7212): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7212): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
14:08:08
#gedit queues.conf
** (gedit:7239): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7239): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7239): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7239): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7239): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7239): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7239): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
14:13:18
#gedit queues.conf
** (gedit:7260): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7260): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7260): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7260): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7260): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7260): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7260): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
14:15:04
#gedit queues.conf
** (gedit:7276): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7276): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7276): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7276): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7276): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7276): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7276): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
14:15:43
#gedit extensions.conf
** (gedit:7293): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7293): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
14:22:02
#gedit extensions.conf
** (gedit:7374): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7374): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7374): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7374): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7374): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7374): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7374): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
прошло 25 минут
14:47:08
#gedit extensions
** (gedit:7397): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7397): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
** (gedit:7397): WARNING **: Error when getting information for file '/etc/asterisk/extensions': No such file or directory
14:48:20
#gedit extensions.conf
** (gedit:7413): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7413): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
прошло 16 минут
15:05:00
#gedit features.conf
** (gedit:7467): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7467): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7467): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7467): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7467): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7467): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7467): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
15:06:21
#gedit extensions.conf
** (gedit:7486): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7486): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7486): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7486): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7486): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7486): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7486): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:7486): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7486): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7486): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
прошло 14 минут
15:20:46
#gedit features.conf
** (gedit:7556): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7556): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7556): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7556): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7556): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7556): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7556): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
15:21:19
#gedit sip.conf
** (gedit:7574): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7574): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7574): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7574): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:7574): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:7574): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:7574): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
15:22:08
#gedit confbridge.conf
** (gedit:7605): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused
** (gedit:7605): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:7605): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed
(gedit:7605): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(gedit:7605): GLib-GObject-CRITICAL **: g_object_freeze_notify: assertion 'G_IS_OBJECT (object)' failed
(gedit:7605): Gtk-CRITICAL **: gtk_widget_has_default: assertion 'GTK_IS_WIDGET (widget)' failed
(gedit:7605): Gtk-CRITICAL **: gtk_widget_get_receives_default: assertion 'GTK_IS_WIDGET (widget)' failed
(gedit:7605): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(gedit:7605): Gtk-CRITICAL **: gtk_widget_get_display: assertion 'GTK_IS_WIDGET (widget)' failed
(gedit:7605): Gdk-CRITICAL **: gdk_display_get_device_manager: assertion 'GDK_IS_DISPLAY (display)' failed
(gedit:7605): Gdk-CRITICAL **: gdk_device_manager_list_devices: assertion 'GDK_IS_DEVICE_MANAGER (device_manager)' failed
(gedit:7605): Gdk-CRITICAL **: gdk_device_manager_list_devices: assertion 'GDK_IS_DEVICE_MANAGER (device_manager)' failed
(gedit:7605): Gdk-CRITICAL **: gdk_device_manager_list_devices: assertion 'GDK_IS_DEVICE_MANAGER (device_manager)' failed
(gedit:7605): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(gedit:7605): GLib-GObject-CRITICAL **: g_object_notify: assertion 'G_IS_OBJECT (object)' failed
(gedit:7605): Gtk-CRITICAL **: gtk_widget_has_default: assertion 'GTK_IS_WIDGET (widget)' failed
(gedit:7605): GLib-GObject-CRITICAL **: g_object_thaw_notify: assertion 'G_IS_OBJECT (object)' failed
(gedit:7605): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Статистика

Время первой команды журнала15:44:34 2016- 3-28
Время последней команды журнала15:22:08 2016- 3-31
Количество командных строк в журнале100
Процент команд с ненулевым кодом завершения, % 1.00
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 3.84
Количество командных строк в единицу времени, команда/мин 0.43
Частота использования команд
gedit35|===============================| 31.25%
ls19|================| 16.96%
vim16|==============| 14.29%
asterisk7|======| 6.25%
cd7|======| 6.25%
less5|====| 4.46%
apt-get3|==| 2.68%
man2|=| 1.79%
head2|=| 1.79%
23,$d'2|=| 1.79%
sed2|=| 1.79%
text2wave2|=| 1.79%
sudo1|| 0.89%
l3-agent1|| 0.89%
pwd1|| 0.89%
chown1|| 0.89%
/etc/init.d/asterisk1|| 0.89%
[Mar1|| 0.89%
11|| 0.89%
1.wav1|| 0.89%
clear1|| 0.89%
sip:1401@191|| 0.89%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ 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
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$