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

Содержание

Журнал

Вторник (11/25/14)

/dev/pts/11
11:11:42
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
  == Using SIP RTP CoS mark 5
[Nov 25 12:11:51] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '8101' rejected because extension not found in context 'default'.
debian5*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/10
11:11:42
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
  == Using SIP RTP CoS mark 5
[Nov 25 12:11:51] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '8101' rejected because extension not found in context 'default'.
debian5*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/11
11:13:22
#[ ]
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> dialplan reload
...
    -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-canonical'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.001701 sec
    -- Time to restore hints and swap in new dialplan: 0.000005 sec
    -- Time to delete the old dialplan: 0.000076 sec
    -- Total time merge_contexts_delete: 0.001782 sec
  == Using SIP RTP CoS mark 5
[Nov 25 12:13:44] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '8101' rejected because extension not found in context 'default'.
debian5*CLI> exit
/dev/pts/10
11:13:22
#[ ]
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> dialplan reload
...
    -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-canonical'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.001701 sec
    -- Time to restore hints and swap in new dialplan: 0.000005 sec
    -- Time to delete the old dialplan: 0.000076 sec
    -- Total time merge_contexts_delete: 0.001782 sec
  == Using SIP RTP CoS mark 5
[Nov 25 12:13:44] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '8101' rejected because extension not found in context 'default'.
debian5*CLI> exit
/dev/pts/11
11:13:54
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
  == Using SIP RTP CoS mark 5
[Nov 25 12:14:01] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '8101' rejected because extension not found in context 'default'.
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
11:13:54
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
  == Using SIP RTP CoS mark 5
[Nov 25 12:14:01] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '8101' rejected because extension not found in context 'default'.
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/11
11:14:08
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> dialplan reload
...
    -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'local'
    -- Registered extension context 'demo'; registrar: pbx_lua
    -- merging incls/swits/igpats from old(demo) to new(demo) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'demo'
    -- Time to scan old dialplan and merge leftovers back into the new: 0.001554 sec
    -- Time to restore hints and swap in new dialplan: 0.000005 sec
    -- Time to delete the old dialplan: 0.000062 sec
    -- Total time merge_contexts_delete: 0.001621 sec
debian5*CLI> exit
/dev/pts/10
11:14:08
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> dialplan reload
...
    -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'local'
    -- Registered extension context 'demo'; registrar: pbx_lua
    -- merging incls/swits/igpats from old(demo) to new(demo) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'demo'
    -- Time to scan old dialplan and merge leftovers back into the new: 0.001554 sec
    -- Time to restore hints and swap in new dialplan: 0.000005 sec
    -- Time to delete the old dialplan: 0.000062 sec
    -- Total time merge_contexts_delete: 0.001621 sec
debian5*CLI> exit
/dev/pts/11
11:14:23
#vim /etc/asterisk/extension.conf
/dev/pts/10
11:14:23
#vim /etc/asterisk/extension.conf
/dev/pts/11
11:15:18
#[ ]

/dev/pts/10
11:15:18
#[ ]

/dev/pts/4
11:15:50
#less /etc/asterisk/extensions.
11:15:50
#less /etc/asterisk/extensions.conf
11:16:01
#less /etc/asterisk/extensions
11:16:01
#less /etc/asterisk/extension
/dev/pts/11
11:16:27
#ls /etc/asterisk/
adsi.conf                codecs.conf             modules.conf
agents.conf              console.conf            musiconhold.conf
ais.conf                 dbsep.conf              muted.conf
alarmreceiver.conf       dnsmgr.conf             osp.conf
alsa.conf                dsp.conf                oss.conf
amd.conf                 dundi.conf              phone.conf
app_mysql.conf           enum.conf               phoneprov.conf
asterisk.adsi            extconfig.conf          queuerules.conf
asterisk.conf            extension.conf          queues.conf
calendar.conf            extensions.ael          res_config_mysql.conf
...
cel_odbc.conf            indications.conf        sip_notify.conf
cel_pgsql.conf           jabber.conf             skinny.conf
cel_sqlite3_custom.conf  jingle.conf             sla.conf
cel_tds.conf             logger.conf             smdi.conf
chan_dahdi.conf          manager.conf            telcordia-1.adsi
chan_mobile.conf         manager.d               udptl.conf
chan_ooh323.conf         meetme.conf             unistim.conf
cli_aliases.conf         mgcp.conf               users.conf
cli.conf                 minivm.conf             voicemail.conf
cli_permissions.conf     misdn.conf              vpb.conf
/dev/pts/10
11:16:27
#ls /etc/asterisk/
adsi.conf                codecs.conf             modules.conf
agents.conf              console.conf            musiconhold.conf
ais.conf                 dbsep.conf              muted.conf
alarmreceiver.conf       dnsmgr.conf             osp.conf
alsa.conf                dsp.conf                oss.conf
amd.conf                 dundi.conf              phone.conf
app_mysql.conf           enum.conf               phoneprov.conf
asterisk.adsi            extconfig.conf          queuerules.conf
asterisk.conf            extension.conf          queues.conf
calendar.conf            extensions.ael          res_config_mysql.conf
...
cel_odbc.conf            indications.conf        sip_notify.conf
cel_pgsql.conf           jabber.conf             skinny.conf
cel_sqlite3_custom.conf  jingle.conf             sla.conf
cel_tds.conf             logger.conf             smdi.conf
chan_dahdi.conf          manager.conf            telcordia-1.adsi
chan_mobile.conf         manager.d               udptl.conf
chan_ooh323.conf         meetme.conf             unistim.conf
cli_aliases.conf         mgcp.conf               users.conf
cli.conf                 minivm.conf             voicemail.conf
cli_permissions.conf     misdn.conf              vpb.conf
/dev/pts/11
11:17:21
#cd /etc/asterisk/

/dev/pts/10
11:17:21
#cd /etc/asterisk/

/dev/pts/11
11:18:13
#vimdiff extension.conf extensions.conf
  exten => 2202,3,Dial(SIP/2202)          |
                                          |
  exten => _81XX,1,Record(/var/tmp/asteris|
                                          |
  exten => _82XX,1,Playback(/var/tmp/aster|
                                          |
  ; using ${EXTEN}                        |
                                          |
  ;exten => _22XX,1,NoOp(Starting call pro|
  ;exten => _22XX,n,NoOp(to extension {EXT|
...
  ~                                       |
  ~
  ~                                       |
  ~
  ~
  ~
  ~
  ~
  ~
  ~
/dev/pts/10
11:18:13
#vimdiff extension.conf extensions.conf
  exten => 2202,3,Dial(SIP/2202)          |
                                          |
  exten => _81XX,1,Record(/var/tmp/asteris|
                                          |
  exten => _82XX,1,Playback(/var/tmp/aster|
                                          |
  ; using ${EXTEN}                        |
                                          |
  ;exten => _22XX,1,NoOp(Starting call pro|
  ;exten => _22XX,n,NoOp(to extension {EXT|
...
  ~                                       |
  ~
  ~                                       |
  ~
  ~
  ~
  ~
  ~
  ~
  ~
/dev/pts/11
11:18:42
#extension.conf 1,1 All

/dev/pts/10
11:18:42
#extension.conf 1,1 All

/dev/pts/11
11:18:43
#mv extensions.conf extensions.conf.bak2

/dev/pts/10
11:18:43
#mv extensions.conf extensions.conf.bak2

/dev/pts/11
11:19:07
#mv extension.conf extensions.conf

/dev/pts/10
11:19:07
#mv extension.conf extensions.conf

/dev/pts/11
11:19:20
#ls /etc/asterisk/
adsi.conf                codecs.conf             modules.conf
agents.conf              console.conf            musiconhold.conf
ais.conf                 dbsep.conf              muted.conf
alarmreceiver.conf       dnsmgr.conf             osp.conf
alsa.conf                dsp.conf                oss.conf
amd.conf                 dundi.conf              phone.conf
app_mysql.conf           enum.conf               phoneprov.conf
asterisk.adsi            extconfig.conf          queuerules.conf
asterisk.conf            extensions.ael          queues.conf
calendar.conf            extensions.conf         res_config_mysql.conf
...
cel_odbc.conf            indications.conf        sip_notify.conf
cel_pgsql.conf           jabber.conf             skinny.conf
cel_sqlite3_custom.conf  jingle.conf             sla.conf
cel_tds.conf             logger.conf             smdi.conf
chan_dahdi.conf          manager.conf            telcordia-1.adsi
chan_mobile.conf         manager.d               udptl.conf
chan_ooh323.conf         meetme.conf             unistim.conf
cli_aliases.conf         mgcp.conf               users.conf
cli.conf                 minivm.conf             voicemail.conf
cli_permissions.conf     misdn.conf              vpb.conf
/dev/pts/10
11:19:20
#ls /etc/asterisk/
adsi.conf                codecs.conf             modules.conf
agents.conf              console.conf            musiconhold.conf
ais.conf                 dbsep.conf              muted.conf
alarmreceiver.conf       dnsmgr.conf             osp.conf
alsa.conf                dsp.conf                oss.conf
amd.conf                 dundi.conf              phone.conf
app_mysql.conf           enum.conf               phoneprov.conf
asterisk.adsi            extconfig.conf          queuerules.conf
asterisk.conf            extensions.ael          queues.conf
calendar.conf            extensions.conf         res_config_mysql.conf
...
cel_odbc.conf            indications.conf        sip_notify.conf
cel_pgsql.conf           jabber.conf             skinny.conf
cel_sqlite3_custom.conf  jingle.conf             sla.conf
cel_tds.conf             logger.conf             smdi.conf
chan_dahdi.conf          manager.conf            telcordia-1.adsi
chan_mobile.conf         manager.d               udptl.conf
chan_ooh323.conf         meetme.conf             unistim.conf
cli_aliases.conf         mgcp.conf               users.conf
cli.conf                 minivm.conf             voicemail.conf
cli_permissions.conf     misdn.conf              vpb.conf
/dev/pts/11
11:20:11
#rm extensions.conf.bak2

/dev/pts/10
11:20:11
#rm extensions.conf.bak2

/dev/pts/11
11:20:42
#ls /etc/asterisk/ | grep exten*
extensions.conf.bak:; load after the extensions.ael file (where the global vars are stored).
/dev/pts/10
11:20:42
#ls /etc/asterisk/ | grep exten*
extensions.conf.bak:; load after the extensions.ael file (where the global vars are stored).
/dev/pts/11
11:20:54
#ls /etc/asterisk/ | grep exten
extensions.ael
extensions.conf
extensions.conf.bak
extensions.lua
extensions_minivm.conf
/dev/pts/10
11:20:54
#ls /etc/asterisk/ | grep exten
extensions.ael
extensions.conf
extensions.conf.bak
extensions.lua
extensions_minivm.conf
прошло 59 минут
/dev/pts/11
12:20:17
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-15112.23412.9285	2014-11-25 13:20:28.551617439 +0200
+++ /etc/asterisk/sip.conf	2014-11-25 13:29:06.971623572 +0200
@@ -3,6 +3,28 @@
 context=default
 qualify=yes
 
+; должны добавить регитсрацию на нашем астериске
+
+register => atlanta:1234@192.168.40.1/NY
+
+[phone](!)
+type=friend
+host=dynamic
+qualify=yes
+secret=password
+
+; подключение к другому городу
+; подключаюсь к NY
+
+[NY](phones)
+; новая опция 
+directmedia=no
+; directmedia - запрет прямова соединения между пирами телефон-телефон
+; работать телефонам резрешено только через asterisk
+secret=1234
+
+
+
 ;#include "/etc/asterisk/sip.conf.kiev"
 ;#include "/etc/asterisk/sip.conf.kharkov"
 ;#include "/etc/asterisk/sip.conf.odessa"
@@ -22,12 +44,6 @@
 secret=1234
 host=dynamic
 
-[phone](!)
-type=friend
-host=dynamic
-qualify=yes
-secret=password
-
 
 ;[softphone](!)
 ;....
/dev/pts/10
12:20:17
#vim /etc/asterisk/sip.conf
/dev/pts/11
12:29:07
#asterisk -rx "sip reload"

/dev/pts/10
12:29:07
#asterisk -rx "sip reload"

/dev/pts/11
12:29:19
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> sip  reload
 Reloading SIP
debian5*CLI> exit
/dev/pts/10
12:29:19
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> sip  reload
 Reloading SIP
debian5*CLI> exit
/dev/pts/11
12:29:46
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
debian5*CLI> sip
notify      prune       qualify     reload      set         show        unregister
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (5 ms)
2203                       (Unspecified)                            D   N             0        UNKNOWN
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
12:29:46
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
debian5*CLI> sip
notify      prune       qualify     reload      set         show        unregister
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (5 ms)
2203                       (Unspecified)                            D   N             0        UNKNOWN
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/11
12:31:19
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-15112.26960.7669	2014-11-25 13:31:22.459625181 +0200
+++ /etc/asterisk/sip.conf	2014-11-25 13:32:57.495626297 +0200
@@ -19,7 +19,7 @@
 [NY](phones)
 ; новая опция 
 directmedia=no
-; directmedia - запрет прямова соединения между пирами телефон-телефон
+; directmedia - запрет прямого соединения между пирами (телефон-телефон)
 ; работать телефонам резрешено только через asterisk
 secret=1234
 
/dev/pts/10
12:31:19
#vim /etc/asterisk/sip.conf
/dev/pts/11
12:32:57
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
[Nov 25 13:33:59] WARNING[13555]: config.c:1192 process_text_line: Inheritance requested, but category 'phones' does not exist, line 19 of /etc/asterisk/sip.conf
[Nov 25 13:33:59] ERROR[13555]: chan_sip.c:28034 reload_config: Contents of sip.conf are invalid and cannot be parsed
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (104 ms)
2203                       (Unspecified)                            D   N             0        UNKNOWN
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
12:32:57
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
[Nov 25 13:33:59] WARNING[13555]: config.c:1192 process_text_line: Inheritance requested, but category 'phones' does not exist, line 19 of /etc/asterisk/sip.conf
[Nov 25 13:33:59] ERROR[13555]: chan_sip.c:28034 reload_config: Contents of sip.conf are invalid and cannot be parsed
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (104 ms)
2203                       (Unspecified)                            D   N             0        UNKNOWN
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/11
12:34:21
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-15112.32417.6930	2014-11-25 13:34:22.887627313 +0200
+++ /etc/asterisk/sip.conf	2014-11-25 13:35:29.547628101 +0200
@@ -5,7 +5,7 @@
 
 ; должны добавить регитсрацию на нашем астериске
 
-register => atlanta:1234@192.168.40.1/NY
+register => atlanta:1234@192.168.40.1/ny
 
 [phone](!)
 type=friend
@@ -16,7 +16,7 @@
 ; подключение к другому городу
 ; подключаюсь к NY
 
-[NY](phones)
+[NY](phone)
 ; новая опция 
 directmedia=no
 ; directmedia - запрет прямого соединения между пирами (телефон-телефон)
/dev/pts/10
12:34:21
#vim /etc/asterisk/sip.conf
/dev/pts/11
12:35:29
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
[Nov 25 13:35:35] WARNING[13555]: chan_sip.c:20720 handle_response_register: Forbidden - wrong password on authentication for REGISTER for 'atlanta' to '192.168.40.1'
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (104 ms)
2203                       (Unspecified)                            D   N             0        UNKNOWN
NY                         (Unspecified)                            D   N             0        UNKNOWN
4 sip peers [Monitored: 1 online, 2 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
12:35:29
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
[Nov 25 13:35:35] WARNING[13555]: chan_sip.c:20720 handle_response_register: Forbidden - wrong password on authentication for REGISTER for 'atlanta' to '192.168.40.1'
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (104 ms)
2203                       (Unspecified)                            D   N             0        UNKNOWN
NY                         (Unspecified)                            D   N             0        UNKNOWN
4 sip peers [Monitored: 1 online, 2 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/11
12:36:09
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (103 ms)
2203                       (Unspecified)                            D   N             0        UNKNOWN
NY                         (Unspecified)                            D   N             0        UNKNOWN
4 sip peers [Monitored: 1 online, 2 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
12:36:09
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (103 ms)
2203                       (Unspecified)                            D   N             0        UNKNOWN
NY                         (Unspecified)                            D   N             0        UNKNOWN
4 sip peers [Monitored: 1 online, 2 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/11
12:40:47
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-15112.28108.31973	2014-11-25 13:40:48.847631883 +0200
+++ /etc/asterisk/sip.conf	2014-11-25 13:41:42.627632518 +0200
@@ -16,7 +16,7 @@
 ; подключение к другому городу
 ; подключаюсь к NY
 
-[NY](phone)
+[ny](phone)
 ; новая опция 
 directmedia=no
 ; directmedia - запрет прямого соединения между пирами (телефон-телефон)
@@ -53,4 +53,3 @@
 ;....
 ;quialify=yes
 
-[2203](phone)
/dev/pts/10
12:40:47
#vim /etc/asterisk/sip.conf
/dev/pts/11
12:41:42
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
  == Using SIP CoS mark 4
  == Parsing '/etc/asterisk/sip_notify.conf':   == Found
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (107 ms)
ny                         (Unspecified)                            D   N             0        UNKNOWN
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
12:41:42
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
  == Using SIP CoS mark 4
  == Parsing '/etc/asterisk/sip_notify.conf':   == Found
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (107 ms)
ny                         (Unspecified)                            D   N             0        UNKNOWN
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/11
12:42:09
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (107 ms)
ny                         (Unspecified)                            D   N             0        UNKNOWN
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
12:42:09
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (107 ms)
ny                         (Unspecified)                            D   N             0        UNKNOWN
3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline]
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/11
12:42:46
#vim /etc/asterisk/sip.conf
/dev/pts/10
12:42:46
#vim /etc/asterisk/sip.conf
/dev/pts/11
12:44:42
#[2202]
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (104 ms)
ny/atlanta                 192.168.40.1                             D   N             5060     OK (1 ms)
3 sip peers [Monitored: 2 online, 0 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
12:44:42
#[2202]
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
debian5*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (104 ms)
ny/atlanta                 192.168.40.1                             D   N             5060     OK (1 ms)
3 sip peers [Monitored: 2 online, 0 offline Unmonitored: 1 online, 0 offline]
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/4
12:46:28
#asterisk -rvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
    -- Stopped music on hold on SIP/2201-000000da
  == Spawn extension (gr1, 2202, 4) exited non-zero on 'SIP/2201-000000da'
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
Executing last minute cleanups
  == Destroying musiconhold processes
debian5*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/11
12:48:09
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data.
64 bytes from 192.168.40.1: icmp_req=1 ttl=63 time=0.296 ms
64 bytes from 192.168.40.1: icmp_req=2 ttl=63 time=0.245 ms
^C
--- 192.168.40.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.245/0.270/0.296/0.030 ms
/dev/pts/10
12:48:09
#ping 192.168.40.1
PING 192.168.40.1 (192.168.40.1) 56(84) bytes of data.
64 bytes from 192.168.40.1: icmp_req=1 ttl=63 time=0.296 ms
64 bytes from 192.168.40.1: icmp_req=2 ttl=63 time=0.245 ms
^C
--- 192.168.40.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.245/0.270/0.296/0.030 ms
/dev/pts/11
12:48:18
#vim /etc/asterisk/sip.conf
/dev/pts/10
12:48:18
#vim /etc/asterisk/sip.conf
/dev/pts/11
12:49:54
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
  == Using SIP RTP CoS mark 5
[Nov 25 13:50:30] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '2101' rejected because extension not found in context 'default'.
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
12:49:54
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
  == Using SIP RTP CoS mark 5
[Nov 25 13:50:30] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '2101' rejected because extension not found in context 'default'.
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/11
12:51:02
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-15112.9460.15307	2014-11-25 13:52:06.655639900 +0200
+++ /etc/asterisk/extensions.conf	2014-11-25 13:55:41.243642443 +0200
@@ -7,8 +7,8 @@
 ;
 ;
 
-
-;exten => 
+; звонки на ny начинаються на 
+exten => _2[21]XX,1,Dial(SIP/ny/${EXTEN})
 
                                                                   
 exten => 2201,1,NoOp(Starting call processing)
/dev/pts/10
12:51:02
#vim /etc/asterisk/extensions.conf
/dev/pts/11
12:55:41
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> dialplan reload
...
    -- merging incls/swits/igpats from old(ael-dundi-e164-via-pstn) to new(ael-dundi-e164-via-pstn) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-customers'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-canonical'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.001658 sec
    -- Time to restore hints and swap in new dialplan: 0.000006 sec
    -- Time to delete the old dialplan: 0.000072 sec
    -- Total time merge_contexts_delete: 0.001736 sec
debian5*CLI> exit
/dev/pts/10
12:55:41
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> dialplan reload
...
    -- merging incls/swits/igpats from old(ael-dundi-e164-via-pstn) to new(ael-dundi-e164-via-pstn) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-customers'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-canonical'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.001658 sec
    -- Time to restore hints and swap in new dialplan: 0.000006 sec
    -- Time to delete the old dialplan: 0.000072 sec
    -- Total time merge_contexts_delete: 0.001736 sec
debian5*CLI> exit
/dev/pts/11
12:55:55
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-15112.8650.21892	2014-11-25 13:56:15.539642848 +0200
+++ /etc/asterisk/extensions.conf	2014-11-25 13:57:08.863643480 +0200
@@ -8,7 +8,7 @@
 ;
 
 ; звонки на ny начинаються на 
-exten => _2[21]XX,1,Dial(SIP/ny/${EXTEN})
+exten => _21XX,1,Dial(SIP/ny/${EXTEN})
 
                                                                   
 exten => 2201,1,NoOp(Starting call processing)
/dev/pts/10
12:55:55
#vim /etc/asterisk/extensions.conf
/dev/pts/11
12:57:08
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> dialplan reload
...
    -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'local'
    -- Registered extension context 'demo'; registrar: pbx_lua
    -- merging incls/swits/igpats from old(demo) to new(demo) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'demo'
    -- Time to scan old dialplan and merge leftovers back into the new: 0.001233 sec
    -- Time to restore hints and swap in new dialplan: 0.000005 sec
    -- Time to delete the old dialplan: 0.000123 sec
    -- Total time merge_contexts_delete: 0.001361 sec
debian5*CLI> exit
/dev/pts/10
12:57:08
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> dialplan reload
...
    -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'local'
    -- Registered extension context 'demo'; registrar: pbx_lua
    -- merging incls/swits/igpats from old(demo) to new(demo) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'demo'
    -- Time to scan old dialplan and merge leftovers back into the new: 0.001233 sec
    -- Time to restore hints and swap in new dialplan: 0.000005 sec
    -- Time to delete the old dialplan: 0.000123 sec
    -- Total time merge_contexts_delete: 0.001361 sec
debian5*CLI> exit
/dev/pts/11
12:57:21
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-15112.25738.18976	2014-11-25 13:57:29.719643725 +0200
+++ /etc/asterisk/extensions.conf	2014-11-25 14:01:25.051646504 +0200
@@ -2,14 +2,10 @@
 
 ; входящий вызов по сипу на 1101
 ; Dial приложение (позвонить)
-; SIP/ название канала, куда его нужно перенаправить
-; 
-;
-;
+; SIP/ название канала, куда его нужно перенаправить 
 
 ; звонки на ny начинаються на 
 exten => _21XX,1,Dial(SIP/ny/${EXTEN})
-
                                                                   
 exten => 2201,1,NoOp(Starting call processing)
 exten => 2201,2,NoOp(to extension 2201)
/dev/pts/10
12:57:21
#vim /etc/asterisk/extensions.conf
/dev/pts/11
13:05:28
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-15112.11540.1058	2014-11-25 14:05:37.959649504 +0200
+++ /etc/asterisk/extensions.conf	2014-11-25 14:06:44.475650303 +0200
@@ -6,6 +6,7 @@
 
 ; звонки на ny начинаються на 
 exten => _21XX,1,Dial(SIP/ny/${EXTEN})
+exten => _32XX,1,Dial(SIP/london/${EXTEN})
                                                                   
 exten => 2201,1,NoOp(Starting call processing)
 exten => 2201,2,NoOp(to extension 2201)
/dev/pts/10
13:05:28
#vim /etc/asterisk/extensions.conf
/dev/pts/11
13:07:21
#vim /etc/asterisk/extensions.conf
/dev/pts/10
13:07:21
#vim /etc/asterisk/extensions.conf
/dev/pts/11
13:08:19
#[ ]
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (104 ms)
london/atlanta             192.168.80.1                             D   N             5060     OK (1 ms)
ny/atlanta                 192.168.40.1                             D   N             5060     OK (1 ms)
4 sip peers [Monitored: 3 online, 0 offline Unmonitored: 1 online, 0 offline]
  == Using SIP RTP CoS mark 5
[Nov 25 14:08:45] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '3101' rejected because extension not found in context 'default'.
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
13:08:19
#[ ]
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2201/2201                  192.168.50.100                           D   N             5060     Unmonitored
2202/2202                  192.168.50.101                           D   N             61523    OK (104 ms)
london/atlanta             192.168.80.1                             D   N             5060     OK (1 ms)
ny/atlanta                 192.168.40.1                             D   N             5060     OK (1 ms)
4 sip peers [Monitored: 3 online, 0 offline Unmonitored: 1 online, 0 offline]
  == Using SIP RTP CoS mark 5
[Nov 25 14:08:45] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '3101' rejected because extension not found in context 'default'.
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/11
13:09:57
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-15112.30468.16286	2014-11-25 14:09:59.671652601 +0200
+++ /etc/asterisk/sip.conf	2014-11-25 14:10:11.263652739 +0200
@@ -6,7 +6,7 @@
 ; должны добавить регитсрацию на нашем астериске
 
 register => atlanta:1234@192.168.40.1/ny
-register => atlanta:1234@192.168.70.1/london
+register => atlanta:1234@192.168.80.1/london
 
 [phone](!)
 type=friend
/dev/pts/10
13:09:57
#vim /etc/asterisk/sip.conf
/dev/pts/11
13:10:11
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
  == Using SIP RTP CoS mark 5
    -- Executing [3201@default:1] Dial("SIP/2201-00000018", "SIP/london/3201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/london/3201
    -- SIP/london-00000019 is ringing
  == Spawn extension (default, 3201, 1) exited non-zero on 'SIP/2201-00000018'
  == Using SIP RTP CoS mark 5
[Nov 25 14:11:06] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '3101' rejected because extension not found in context 'default'.
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/10
13:10:11
#asterisk -rvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
...
  == Using SIP RTP CoS mark 5
    -- Executing [3201@default:1] Dial("SIP/2201-00000018", "SIP/london/3201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/london/3201
    -- SIP/london-00000019 is ringing
  == Spawn extension (default, 3201, 1) exited non-zero on 'SIP/2201-00000018'
  == Using SIP RTP CoS mark 5
[Nov 25 14:11:06] NOTICE[13555]: chan_sip.c:22753 handle_request_invite: Call from '2201' (192.168.50.100:5060) to extension '3101' rejected because extension not found in context 'default'.
debian5*CLI> exit
Executing last minute cleanups
/dev/pts/11
13:11:16
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-15112.23482.6376	2014-11-25 14:11:37.223653760 +0200
+++ /etc/asterisk/extensions.conf	2014-11-25 14:14:01.751655508 +0200
@@ -6,7 +6,8 @@
 
 ; звонки на ny начинаються на 
 exten => _21XX,1,Dial(SIP/ny/${EXTEN})
-exten => _32XX,1,Dial(SIP/london/${EXTEN})
+;exten => _32XX,1,Dial(SIP/london/${EXTEN})
+exten => _3XXX,1,Dial(SIP/london/${EXTEN})
                                                                   
 exten => 2201,1,NoOp(Starting call processing)
 exten => 2201,2,NoOp(to extension 2201)
/dev/pts/10
13:11:16
#vim /etc/asterisk/extensions.conf
/dev/pts/11
13:14:01
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> dialplan reload
...
    -- Time to restore hints and swap in new dialplan: 0.000005 sec
    -- Time to delete the old dialplan: 0.000101 sec
    -- Total time merge_contexts_delete: 0.001550 sec
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Dial("SIP/2201-0000001a", "SIP/london/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/london/3101
    -- SIP/london-0000001b is ringing
  == Spawn extension (default, 3101, 1) exited non-zero on 'SIP/2201-0000001a'
debian5*CLI> exit
/dev/pts/10
13:14:01
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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 1.8.13.1~dfsg1-3+deb7u3 currently running on debian5 (pid = 13517)
Verbosity is at least 3
debian5*CLI> dialplan reload
...
    -- Time to restore hints and swap in new dialplan: 0.000005 sec
    -- Time to delete the old dialplan: 0.000101 sec
    -- Total time merge_contexts_delete: 0.001550 sec
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Dial("SIP/2201-0000001a", "SIP/london/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/london/3101
    -- SIP/london-0000001b is ringing
  == Spawn extension (default, 3101, 1) exited non-zero on 'SIP/2201-0000001a'
debian5*CLI> exit
/dev/pts/11
13:14:53
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-15112.25553.14893	2014-11-25 14:14:55.267656100 +0200
+++ /etc/asterisk/extensions.conf	2014-11-25 14:17:40.715658060 +0200
@@ -8,6 +8,7 @@
 exten => _21XX,1,Dial(SIP/ny/${EXTEN})
 ;exten => _32XX,1,Dial(SIP/london/${EXTEN})
 exten => _3XXX,1,Dial(SIP/london/${EXTEN})
+exten => _1XXX,1,Dial(SIP/ny/${EXTEN})
                                                                   
 exten => 2201,1,NoOp(Starting call processing)
 exten => 2201,2,NoOp(to extension 2201)
/dev/pts/10
13:14:53
#vim /etc/asterisk/extensions.conf
/dev/pts/11
13:17:40
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-15112.32498.29015	2014-11-25 14:18:00.759658293 +0200
+++ /etc/asterisk/extensions.conf	2014-11-25 14:18:34.535658689 +0200
@@ -9,6 +9,7 @@
 ;exten => _32XX,1,Dial(SIP/london/${EXTEN})
 exten => _3XXX,1,Dial(SIP/london/${EXTEN})
 exten => _1XXX,1,Dial(SIP/ny/${EXTEN})
+exten => _23XX,1,Dial(SIP/ny/${EXTEN})
                                                                   
 exten => 2201,1,NoOp(Starting call processing)
 exten => 2201,2,NoOp(to extension 2201)
/dev/pts/10
13:17:40
#vim /etc/asterisk/extensions.conf
/dev/pts/11
13:18:34
#asterisk -rx "dialplan reload"
Dialplan reloaded.
/dev/pts/10
13:18:34
#asterisk -rx "dialplan reload"
Dialplan reloaded.

Статистика

Время первой команды журнала11:11:42 2014-11-25
Время последней команды журнала13:18:34 2014-11-25
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, % 0.00
Процент синтаксически неверно набранных команд, % 0.99
Суммарное время работы с терминалом *, час 1.12
Количество командных строк в единицу времени, команда/мин 1.50
Частота использования команд
asterisk35|=================================| 33.33%
vim32|==============================| 30.48%
ls8|=======| 7.62%
[6|=====| 5.71%
less4|===| 3.81%
grep4|===| 3.81%
mv4|===| 3.81%
[2202]2|=| 1.90%
vimdiff2|=| 1.90%
ping2|=| 1.90%
extension.conf2|=| 1.90%
rm2|=| 1.90%
cd2|=| 1.90%
____
*) Интервалы неактивности длительностью 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$