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

Содержание

Журнал

Среда (06/29/11)

/dev/pts/3
13:40:54
#;; can be easily used by attackers to gain access to your
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.81208
Duration tree extreme for aa 3.81208
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.42543
^[[B^[[B^[[D^[[D^[[A
EXEC Playback /var/lib/asterisk/sounds/tts/tts-c26a35d5b774b143a7833640ecc32f5d
/dev/pts/14
13:40:54
#;; can be easily used by attackers to gain access to your
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.81208
Duration tree extreme for aa 3.81208
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.42543
^[[B^[[B^[[D^[[D^[[A
EXEC Playback /var/lib/asterisk/sounds/tts/tts-c26a35d5b774b143a7833640ecc32f5d
/dev/pts/10
13:43:27
#perl /usr/local/bin/festival-script.pl /var/tmp/asterisk/ru-moskva.txt
EXEC Playback /var/lib/asterisk/sounds/tts/tts-c26a35d5b774b143a7833640ecc32f5d
/dev/pts/11
13:43:27
#perl /usr/local/bin/festival-script.pl /var/tmp/asterisk/ru-moskva.txt
EXEC Playback /var/lib/asterisk/sounds/tts/tts-c26a35d5b774b143a7833640ecc32f5d
/dev/pts/12
13:43:27
#perl /usr/local/bin/festival-script.pl /var/tmp/asterisk/ru-moskva.txt
EXEC Playback /var/lib/asterisk/sounds/tts/tts-c26a35d5b774b143a7833640ecc32f5d
/dev/pts/13
13:43:27
#perl /usr/local/bin/festival-script.pl /var/tmp/asterisk/ru-moskva.txt
EXEC Playback /var/lib/asterisk/sounds/tts/tts-c26a35d5b774b143a7833640ecc32f5d
/dev/pts/4
13:43:27
#perl /usr/local/bin/festival-script.pl /var/tmp/asterisk/ru-moskva.txt
EXEC Playback /var/lib/asterisk/sounds/tts/tts-c26a35d5b774b143a7833640ecc32f5d
/dev/pts/2
13:43:27
#perl /usr/local/bin/festival-script.pl /var/tmp/asterisk/ru-moskva.txt
EXEC Playback /var/lib/asterisk/sounds/tts/tts-c26a35d5b774b143a7833640ecc32f5d
/dev/pts/3
13:43:27
#perl /usr/local/bin/festival-script.pl /var/tmp/asterisk/ru-moskva.txt
EXEC Playback /var/lib/asterisk/sounds/tts/tts-c26a35d5b774b143a7833640ecc32f5d
/dev/pts/14
13:43:27
#perl /usr/local/bin/festival-script.pl /var/tmp/asterisk/ru-moskva.txt
EXEC Playback /var/lib/asterisk/sounds/tts/tts-c26a35d5b774b143a7833640ecc32f5d
/dev/pts/10
13:44:25
#ls /var/tmp/asterisk/ru-moskva.txt
/var/tmp/asterisk/ru-moskva.txt
/dev/pts/11
13:44:25
#ls /var/tmp/asterisk/ru-moskva.txt
/var/tmp/asterisk/ru-moskva.txt
/dev/pts/12
13:44:25
#ls /var/tmp/asterisk/ru-moskva.txt
/var/tmp/asterisk/ru-moskva.txt
/dev/pts/13
13:44:25
#ls /var/tmp/asterisk/ru-moskva.txt
/var/tmp/asterisk/ru-moskva.txt
/dev/pts/4
13:44:25
#ls /var/tmp/asterisk/ru-moskva.txt
/var/tmp/asterisk/ru-moskva.txt
/dev/pts/2
13:44:25
#ls /var/tmp/asterisk/ru-moskva.txt
/var/tmp/asterisk/ru-moskva.txt
/dev/pts/3
13:44:25
#ls /var/tmp/asterisk/ru-moskva.txt
/var/tmp/asterisk/ru-moskva.txt
/dev/pts/14
13:44:25
#ls /var/tmp/asterisk/ru-moskva.txt
/var/tmp/asterisk/ru-moskva.txt
/dev/pts/10
13:49:13
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 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.6.2.9-2+squeeze2 currently running on linux3 (pid = 7737)
...
    -- Executing [8002@gr3:1] AGI("SIP/2102-000000a3", "/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt") in new stack
    -- Launched AGI Script /usr/local/bin/festival-script.pl
    -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68)
[Jun 29 15:49:42] WARNING[17137]: file.c:650 ast_openstream_full: File /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 does not exist in any format
[Jun 29 15:49:42] WARNING[17137]: file.c:953 ast_streamfile: Unable to open /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 (format 0x4 (ulaw)): No such file or directory
[Jun 29 15:49:42] WARNING[17137]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/2102-000000a3 for /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68
    -- <SIP/2102-000000a3>AGI Script /usr/local/bin/festival-script.pl completed, returning 0
    -- Auto fallthrough, channel 'SIP/2102-000000a3' status is 'UNKNOWN'
linux3*CLI> quit
Executing last minute cleanups
/dev/pts/11
13:49:13
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 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.6.2.9-2+squeeze2 currently running on linux3 (pid = 7737)
...
    -- Executing [8002@gr3:1] AGI("SIP/2102-000000a3", "/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt") in new stack
    -- Launched AGI Script /usr/local/bin/festival-script.pl
    -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68)
[Jun 29 15:49:42] WARNING[17137]: file.c:650 ast_openstream_full: File /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 does not exist in any format
[Jun 29 15:49:42] WARNING[17137]: file.c:953 ast_streamfile: Unable to open /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 (format 0x4 (ulaw)): No such file or directory
[Jun 29 15:49:42] WARNING[17137]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/2102-000000a3 for /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68
    -- <SIP/2102-000000a3>AGI Script /usr/local/bin/festival-script.pl completed, returning 0
    -- Auto fallthrough, channel 'SIP/2102-000000a3' status is 'UNKNOWN'
linux3*CLI> quit
Executing last minute cleanups
/dev/pts/12
13:49:13
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 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.6.2.9-2+squeeze2 currently running on linux3 (pid = 7737)
...
    -- Executing [8002@gr3:1] AGI("SIP/2102-000000a3", "/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt") in new stack
    -- Launched AGI Script /usr/local/bin/festival-script.pl
    -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68)
[Jun 29 15:49:42] WARNING[17137]: file.c:650 ast_openstream_full: File /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 does not exist in any format
[Jun 29 15:49:42] WARNING[17137]: file.c:953 ast_streamfile: Unable to open /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 (format 0x4 (ulaw)): No such file or directory
[Jun 29 15:49:42] WARNING[17137]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/2102-000000a3 for /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68
    -- <SIP/2102-000000a3>AGI Script /usr/local/bin/festival-script.pl completed, returning 0
    -- Auto fallthrough, channel 'SIP/2102-000000a3' status is 'UNKNOWN'
linux3*CLI> quit
Executing last minute cleanups
/dev/pts/13
13:49:13
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 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.6.2.9-2+squeeze2 currently running on linux3 (pid = 7737)
...
    -- Executing [8002@gr3:1] AGI("SIP/2102-000000a3", "/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt") in new stack
    -- Launched AGI Script /usr/local/bin/festival-script.pl
    -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68)
[Jun 29 15:49:42] WARNING[17137]: file.c:650 ast_openstream_full: File /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 does not exist in any format
[Jun 29 15:49:42] WARNING[17137]: file.c:953 ast_streamfile: Unable to open /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 (format 0x4 (ulaw)): No such file or directory
[Jun 29 15:49:42] WARNING[17137]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/2102-000000a3 for /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68
    -- <SIP/2102-000000a3>AGI Script /usr/local/bin/festival-script.pl completed, returning 0
    -- Auto fallthrough, channel 'SIP/2102-000000a3' status is 'UNKNOWN'
linux3*CLI> quit
Executing last minute cleanups
/dev/pts/4
13:49:13
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 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.6.2.9-2+squeeze2 currently running on linux3 (pid = 7737)
...
    -- Executing [8002@gr3:1] AGI("SIP/2102-000000a3", "/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt") in new stack
    -- Launched AGI Script /usr/local/bin/festival-script.pl
    -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68)
[Jun 29 15:49:42] WARNING[17137]: file.c:650 ast_openstream_full: File /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 does not exist in any format
[Jun 29 15:49:42] WARNING[17137]: file.c:953 ast_streamfile: Unable to open /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 (format 0x4 (ulaw)): No such file or directory
[Jun 29 15:49:42] WARNING[17137]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/2102-000000a3 for /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68
    -- <SIP/2102-000000a3>AGI Script /usr/local/bin/festival-script.pl completed, returning 0
    -- Auto fallthrough, channel 'SIP/2102-000000a3' status is 'UNKNOWN'
linux3*CLI> quit
Executing last minute cleanups
/dev/pts/2
13:49:13
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 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.6.2.9-2+squeeze2 currently running on linux3 (pid = 7737)
...
    -- Executing [8002@gr3:1] AGI("SIP/2102-000000a3", "/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt") in new stack
    -- Launched AGI Script /usr/local/bin/festival-script.pl
    -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68)
[Jun 29 15:49:42] WARNING[17137]: file.c:650 ast_openstream_full: File /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 does not exist in any format
[Jun 29 15:49:42] WARNING[17137]: file.c:953 ast_streamfile: Unable to open /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 (format 0x4 (ulaw)): No such file or directory
[Jun 29 15:49:42] WARNING[17137]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/2102-000000a3 for /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68
    -- <SIP/2102-000000a3>AGI Script /usr/local/bin/festival-script.pl completed, returning 0
    -- Auto fallthrough, channel 'SIP/2102-000000a3' status is 'UNKNOWN'
linux3*CLI> quit
Executing last minute cleanups
/dev/pts/3
13:49:13
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 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.6.2.9-2+squeeze2 currently running on linux3 (pid = 7737)
...
    -- Executing [8002@gr3:1] AGI("SIP/2102-000000a3", "/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt") in new stack
    -- Launched AGI Script /usr/local/bin/festival-script.pl
    -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68)
[Jun 29 15:49:42] WARNING[17137]: file.c:650 ast_openstream_full: File /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 does not exist in any format
[Jun 29 15:49:42] WARNING[17137]: file.c:953 ast_streamfile: Unable to open /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 (format 0x4 (ulaw)): No such file or directory
[Jun 29 15:49:42] WARNING[17137]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/2102-000000a3 for /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68
    -- <SIP/2102-000000a3>AGI Script /usr/local/bin/festival-script.pl completed, returning 0
    -- Auto fallthrough, channel 'SIP/2102-000000a3' status is 'UNKNOWN'
linux3*CLI> quit
Executing last minute cleanups
/dev/pts/14
13:49:13
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 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.6.2.9-2+squeeze2 currently running on linux3 (pid = 7737)
...
    -- Executing [8002@gr3:1] AGI("SIP/2102-000000a3", "/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt") in new stack
    -- Launched AGI Script /usr/local/bin/festival-script.pl
    -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68)
[Jun 29 15:49:42] WARNING[17137]: file.c:650 ast_openstream_full: File /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 does not exist in any format
[Jun 29 15:49:42] WARNING[17137]: file.c:953 ast_streamfile: Unable to open /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68 (format 0x4 (ulaw)): No such file or directory
[Jun 29 15:49:42] WARNING[17137]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/2102-000000a3 for /var/lib/asterisk/sounds/tts/tts-5d947ab11881ba44dc12254f56faae68
    -- <SIP/2102-000000a3>AGI Script /usr/local/bin/festival-script.pl completed, returning 0
    -- Auto fallthrough, channel 'SIP/2102-000000a3' status is 'UNKNOWN'
linux3*CLI> quit
Executing last minute cleanups
/dev/pts/10
13:49:57
#ls -ld /var/lib/asterisk/sounds/tts/
drwxr-xr-x 2 root root 4096 Июн 29 15:41 /var/lib/asterisk/sounds/tts/
/dev/pts/11
13:49:57
#ls -ld /var/lib/asterisk/sounds/tts/
drwxr-xr-x 2 root root 4096 Июн 29 15:41 /var/lib/asterisk/sounds/tts/
/dev/pts/12
13:49:57
#ls -ld /var/lib/asterisk/sounds/tts/
drwxr-xr-x 2 root root 4096 Июн 29 15:41 /var/lib/asterisk/sounds/tts/
/dev/pts/13
13:49:57
#ls -ld /var/lib/asterisk/sounds/tts/
drwxr-xr-x 2 root root 4096 Июн 29 15:41 /var/lib/asterisk/sounds/tts/
/dev/pts/4
13:49:57
#ls -ld /var/lib/asterisk/sounds/tts/
drwxr-xr-x 2 root root 4096 Июн 29 15:41 /var/lib/asterisk/sounds/tts/
/dev/pts/2
13:49:57
#ls -ld /var/lib/asterisk/sounds/tts/
drwxr-xr-x 2 root root 4096 Июн 29 15:41 /var/lib/asterisk/sounds/tts/
/dev/pts/3
13:49:57
#ls -ld /var/lib/asterisk/sounds/tts/
drwxr-xr-x 2 root root 4096 Июн 29 15:41 /var/lib/asterisk/sounds/tts/
/dev/pts/14
13:49:57
#ls -ld /var/lib/asterisk/sounds/tts/
drwxr-xr-x 2 root root 4096 Июн 29 15:41 /var/lib/asterisk/sounds/tts/
/dev/pts/10
13:50:12
#chown asterisk:asterisk /var/lib/asterisk/sounds/tts/

/dev/pts/11
13:50:12
#chown asterisk:asterisk /var/lib/asterisk/sounds/tts/

/dev/pts/12
13:50:12
#chown asterisk:asterisk /var/lib/asterisk/sounds/tts/

/dev/pts/13
13:50:12
#chown asterisk:asterisk /var/lib/asterisk/sounds/tts/

/dev/pts/4
13:50:12
#chown asterisk:asterisk /var/lib/asterisk/sounds/tts/

/dev/pts/2
13:50:12
#chown asterisk:asterisk /var/lib/asterisk/sounds/tts/

/dev/pts/3
13:50:12
#chown asterisk:asterisk /var/lib/asterisk/sounds/tts/

/dev/pts/14
13:50:12
#chown asterisk:asterisk /var/lib/asterisk/sounds/tts/

прошло 46 минут
/dev/pts/10
14:36:38
#vim /etc/asterisk/extensions.conf
/dev/pts/11
14:36:38
#vim /etc/asterisk/extensions.conf
/dev/pts/12
14:36:38
#vim /etc/asterisk/extensions.conf
/dev/pts/13
14:36:38
#vim /etc/asterisk/extensions.conf
/dev/pts/4
14:36:38
#vim /etc/asterisk/extensions.conf
/dev/pts/2
14:36:38
#vim /etc/asterisk/extensions.conf
/dev/pts/3
14:36:38
#vim /etc/asterisk/extensions.conf
/dev/pts/14
14:36:38
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-12504.7288.10559	2011-06-29 16:36:49.000000000 +0400
+++ /etc/asterisk/extensions.conf	2011-06-29 16:38:14.000000000 +0400
@@ -19,7 +19,7 @@
 
 [menu]
 
-exten => s,1,Ansver
+exten => s,1,Answer
 exten => s,n,Background(/var/tmp/asterisk/message01)
 exten => s,n(start),Background(/var/tmp/asterisk/message02)
 exten => s,n,WaitExten(2)
/dev/pts/10
14:38:17
#[ ]
exten => s,n,Hangup
exten => 1,1,Goto(submenu,s,1)
exten => 9,1,Goto(menu,s,start)
[submenu]
[       ]
exten => s,1,Ansver
exten => s,n,Background(/var/tmp/asterisk/message03)
exten => 1,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
                                                                                                                                           40,1          19%
/dev/pts/11
14:38:17
#[ ]
exten => s,n,Hangup
exten => 1,1,Goto(submenu,s,1)
exten => 9,1,Goto(menu,s,start)
[submenu]
[       ]
exten => s,1,Ansver
exten => s,n,Background(/var/tmp/asterisk/message03)
exten => 1,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
                                                                                                                                           40,1          19%
/dev/pts/12
14:38:17
#[ ]
exten => s,n,Hangup
exten => 1,1,Goto(submenu,s,1)
exten => 9,1,Goto(menu,s,start)
[submenu]
[       ]
exten => s,1,Ansver
exten => s,n,Background(/var/tmp/asterisk/message03)
exten => 1,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
                                                                                                                                           40,1          19%
/dev/pts/13
14:38:17
#[ ]
exten => s,n,Hangup
exten => 1,1,Goto(submenu,s,1)
exten => 9,1,Goto(menu,s,start)
[submenu]
[       ]
exten => s,1,Ansver
exten => s,n,Background(/var/tmp/asterisk/message03)
exten => 1,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
                                                                                                                                           40,1          19%
/dev/pts/4
14:38:17
#[ ]
exten => s,n,Hangup
exten => 1,1,Goto(submenu,s,1)
exten => 9,1,Goto(menu,s,start)
[submenu]
[       ]
exten => s,1,Ansver
exten => s,n,Background(/var/tmp/asterisk/message03)
exten => 1,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
                                                                                                                                           40,1          19%
/dev/pts/2
14:38:17
#[ ]
exten => s,n,Hangup
exten => 1,1,Goto(submenu,s,1)
exten => 9,1,Goto(menu,s,start)
[submenu]
[       ]
exten => s,1,Ansver
exten => s,n,Background(/var/tmp/asterisk/message03)
exten => 1,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
                                                                                                                                           40,1          19%
/dev/pts/3
14:38:17
#[ ]
exten => s,n,Hangup
exten => 1,1,Goto(submenu,s,1)
exten => 9,1,Goto(menu,s,start)
[submenu]
[       ]
exten => s,1,Ansver
exten => s,n,Background(/var/tmp/asterisk/message03)
exten => 1,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
                                                                                                                                           40,1          19%
/dev/pts/14
14:38:17
#[ ]
[menu]
[menu]=> s,1,Answer
[    ]
exten => s,n,Background(/var/tmp/asterisk/message01)
exten => s,n(start),Background(/var/tmp/asterisk/message02)
exten => s,n,Background(/var/tmp/asterisk/message04)
exten => s,n,WaitExten(2)
exten => s,n,Background(/var/tmp/asterisk/message05)
exten => s,n,Hangup
                                                                                                                                           30,0-1         6%
exten => 1,1,Goto(submenu,s,1)
exten => 9,1,Goto(menu,s,start)
[submenu]
[       ]
exten => s,1,Ansver
exten => s,n,Background(/var/tmp/asterisk/message03)
exten => 1,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
                                                                                                                                           40,1          19%
/dev/pts/10
14:41:29
#vim /etc/asterisk/extensions.conf
/dev/pts/11
14:41:29
#vim /etc/asterisk/extensions.conf
/dev/pts/12
14:41:29
#vim /etc/asterisk/extensions.conf
/dev/pts/13
14:41:29
#vim /etc/asterisk/extensions.conf
/dev/pts/4
14:41:29
#vim /etc/asterisk/extensions.conf
/dev/pts/2
14:41:29
#vim /etc/asterisk/extensions.conf
/dev/pts/3
14:41:29
#vim /etc/asterisk/extensions.conf
/dev/pts/14
14:41:29
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-12504.18641.14086	2011-06-29 16:41:32.000000000 +0400
+++ /etc/asterisk/extensions.conf	2011-06-29 17:06:23.000000000 +0400
@@ -8,7 +8,7 @@
 exten => _81XX,1,VoicemailMain(21${EXTEN:2})
 
 exten => 8200,1,Record(/var/tmp/asterisk/message00:wav,2)
-exten => 8200,1,Playback(/var/tmp/asterisk/message00)
+exten => 8200,n,Playback(/var/tmp/asterisk/message00)
 
 exten => _82XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav,2)
 exten => _82XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
@@ -32,22 +32,35 @@
 
 exten => 9,1,Goto(menu,s,start)
 
+exten => 0,1,Playback(/var/tmp/asterisk/message00)
+exten => 0,n,Hangup
+
 [submenu]
 
 exten => s,1,Answer
 exten => s,n,Background(/var/tmp/asterisk/message03)
 
-exten => 1,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
-exten => 2,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-burunduk.txt)
-
+exten => 1,1,Goto(submenu-moskva,s,1)
+exten => 2,1,Goto(submenu-burunduk,s,1)
 exten => 9,1,Goto(submenu,s,1)
 exten => 0,1,Goto(menu,s,start)
 
+[submenu-moskva]
+
+exten => s,1,Background(/var/tmp/asterisk/ru-moskva)
+exten => 0,1,Goto(submenu,s,1)
+
+[submenu-burunduk]
+
+exten => s,1,Background(/var/tmp/asterisk/ru-burunduk)
+exten => 0,1,Goto(submenu,s,1)
+
+
+
 [local]
 
 exten => _21XX,1,Answer
-exten => _21XX,n,Set(CALLFILENAME=${EXTEN}-${STRFTIME(${EPOCH},Europe/Moscow,"%Y-
-%m-%d-%H-%M-%S")})
+exten => _21XX,n,Set(CALLFILENAME=${EXTEN}-${STRFTIME(${EPOCH},Europe/Moscow,"%Y-%m-%d-%H-%M-%S")})
 exten => _21XX,n,Monitor(wav,${CALLFILENAME},m)
 exten => _21XX,n,Dial(SIP/${EXTEN},10)
 exten => _21XX,n,Noop($[${DIALSTATUS}])
прошло 26 минут
/dev/pts/10
15:07:57
#cat /var/tmp/asterisk/ru-moskva.txt | text2wave -F 8000 >/var/tmp/asterisk/ru-moskva.wav
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.81208
Duration tree extreme for aa 3.81208
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.42543
/dev/pts/11
15:07:57
#cat /var/tmp/asterisk/ru-moskva.txt | text2wave -F 8000 >/var/tmp/asterisk/ru-moskva.wav
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.81208
Duration tree extreme for aa 3.81208
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.42543
/dev/pts/12
15:07:57
#cat /var/tmp/asterisk/ru-moskva.txt | text2wave -F 8000 >/var/tmp/asterisk/ru-moskva.wav
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.81208
Duration tree extreme for aa 3.81208
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.42543
/dev/pts/13
15:07:57
#cat /var/tmp/asterisk/ru-moskva.txt | text2wave -F 8000 >/var/tmp/asterisk/ru-moskva.wav
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.81208
Duration tree extreme for aa 3.81208
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.42543
/dev/pts/4
15:07:57
#cat /var/tmp/asterisk/ru-moskva.txt | text2wave -F 8000 >/var/tmp/asterisk/ru-moskva.wav
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.81208
Duration tree extreme for aa 3.81208
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.42543
/dev/pts/2
15:07:57
#cat /var/tmp/asterisk/ru-moskva.txt | text2wave -F 8000 >/var/tmp/asterisk/ru-moskva.wav
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.81208
Duration tree extreme for aa 3.81208
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.42543
/dev/pts/3
15:07:57
#cat /var/tmp/asterisk/ru-moskva.txt | text2wave -F 8000 >/var/tmp/asterisk/ru-moskva.wav
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.81208
Duration tree extreme for aa 3.81208
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.42543
/dev/pts/14
15:07:57
#cat /var/tmp/asterisk/ru-moskva.txt | text2wave -F 8000 >/var/tmp/asterisk/ru-moskva.wav
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.81208
Duration tree extreme for aa 3.81208
Duration tree extreme for ay 3.12924
Duration tree extreme for aa 3.42543
/dev/pts/10
15:14:04
#cat /etc/asterisk/extensions.conf
[default]
[internal]
exten => 8000,1,Playback(welcome)
exten => 8001,1,VoicemailMain()
exten => 8002,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
exten => _81XX,1,VoicemailMain(21${EXTEN:2})
exten => 8200,1,Record(/var/tmp/asterisk/message00:wav,2)
exten => 8200,n,Playback(/var/tmp/asterisk/message00)
exten => _82XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav,2)
exten => _82XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
...
include => national
[gr3]
include => internal
include => local
include => national
include => international
[gr4]
include => local
include => national
include => international
/dev/pts/11
15:14:04
#cat /etc/asterisk/extensions.conf
[default]
[internal]
exten => 8000,1,Playback(welcome)
exten => 8001,1,VoicemailMain()
exten => 8002,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
exten => _81XX,1,VoicemailMain(21${EXTEN:2})
exten => 8200,1,Record(/var/tmp/asterisk/message00:wav,2)
exten => 8200,n,Playback(/var/tmp/asterisk/message00)
exten => _82XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav,2)
exten => _82XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
...
include => national
[gr3]
include => internal
include => local
include => national
include => international
[gr4]
include => local
include => national
include => international
/dev/pts/12
15:14:04
#cat /etc/asterisk/extensions.conf
[default]
[internal]
exten => 8000,1,Playback(welcome)
exten => 8001,1,VoicemailMain()
exten => 8002,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
exten => _81XX,1,VoicemailMain(21${EXTEN:2})
exten => 8200,1,Record(/var/tmp/asterisk/message00:wav,2)
exten => 8200,n,Playback(/var/tmp/asterisk/message00)
exten => _82XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav,2)
exten => _82XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
...
include => national
[gr3]
include => internal
include => local
include => national
include => international
[gr4]
include => local
include => national
include => international
/dev/pts/13
15:14:04
#cat /etc/asterisk/extensions.conf
[default]
[internal]
exten => 8000,1,Playback(welcome)
exten => 8001,1,VoicemailMain()
exten => 8002,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
exten => _81XX,1,VoicemailMain(21${EXTEN:2})
exten => 8200,1,Record(/var/tmp/asterisk/message00:wav,2)
exten => 8200,n,Playback(/var/tmp/asterisk/message00)
exten => _82XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav,2)
exten => _82XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
...
include => national
[gr3]
include => internal
include => local
include => national
include => international
[gr4]
include => local
include => national
include => international
/dev/pts/4
15:14:04
#cat /etc/asterisk/extensions.conf
[default]
[internal]
exten => 8000,1,Playback(welcome)
exten => 8001,1,VoicemailMain()
exten => 8002,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
exten => _81XX,1,VoicemailMain(21${EXTEN:2})
exten => 8200,1,Record(/var/tmp/asterisk/message00:wav,2)
exten => 8200,n,Playback(/var/tmp/asterisk/message00)
exten => _82XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav,2)
exten => _82XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
...
include => national
[gr3]
include => internal
include => local
include => national
include => international
[gr4]
include => local
include => national
include => international
/dev/pts/2
15:14:04
#cat /etc/asterisk/extensions.conf
[default]
[internal]
exten => 8000,1,Playback(welcome)
exten => 8001,1,VoicemailMain()
exten => 8002,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
exten => _81XX,1,VoicemailMain(21${EXTEN:2})
exten => 8200,1,Record(/var/tmp/asterisk/message00:wav,2)
exten => 8200,n,Playback(/var/tmp/asterisk/message00)
exten => _82XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav,2)
exten => _82XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
...
include => national
[gr3]
include => internal
include => local
include => national
include => international
[gr4]
include => local
include => national
include => international
/dev/pts/3
15:14:04
#cat /etc/asterisk/extensions.conf
[default]
[internal]
exten => 8000,1,Playback(welcome)
exten => 8001,1,VoicemailMain()
exten => 8002,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
exten => _81XX,1,VoicemailMain(21${EXTEN:2})
exten => 8200,1,Record(/var/tmp/asterisk/message00:wav,2)
exten => 8200,n,Playback(/var/tmp/asterisk/message00)
exten => _82XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav,2)
exten => _82XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
...
include => national
[gr3]
include => internal
include => local
include => national
include => international
[gr4]
include => local
include => national
include => international
/dev/pts/14
15:14:04
#cat /etc/asterisk/extensions.conf
[default]
[internal]
exten => 8000,1,Playback(welcome)
exten => 8001,1,VoicemailMain()
exten => 8002,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
exten => _81XX,1,VoicemailMain(21${EXTEN:2})
exten => 8200,1,Record(/var/tmp/asterisk/message00:wav,2)
exten => 8200,n,Playback(/var/tmp/asterisk/message00)
exten => _82XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav,2)
exten => _82XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
...
include => national
[gr3]
include => internal
include => local
include => national
include => international
[gr4]
include => local
include => national
include => international

Четверг (06/30/11)

/dev/pts/13
08:28:01
#vim /etc/asterisk/sip
/dev/pts/4
08:28:01
#vim /etc/asterisk/sip
/dev/pts/2
08:28:01
#vim /etc/asterisk/sip
/dev/pts/3
08:28:01
#vim /etc/asterisk/sip
/dev/pts/14
08:28:01
#vim /etc/asterisk/sip
/dev/pts/10
08:28:01
#vim /etc/asterisk/sip
/dev/pts/11
08:28:01
#vim /etc/asterisk/sip
/dev/pts/12
08:28:01
#vim /etc/asterisk/sip
/dev/pts/13
08:28:01
#vim /etc/asterisk/sip.conf
/dev/pts/4
08:28:01
#vim /etc/asterisk/sip.conf
/dev/pts/2
08:28:01
#vim /etc/asterisk/sip.conf
/dev/pts/3
08:28:01
#vim /etc/asterisk/sip.conf
/dev/pts/14
08:28:01
#vim /etc/asterisk/sip.conf
/dev/pts/10
08:28:01
#vim /etc/asterisk/sip.conf
/dev/pts/11
08:28:01
#vim /etc/asterisk/sip.conf
/dev/pts/12
08:28:01
#vim /etc/asterisk/sip.conf
/dev/pts/10
08:33:00
#cd /etc/

/dev/pts/11
08:33:00
#cd /etc/

/dev/pts/12
08:33:00
#cd /etc/

Файлы

  • /etc/asterisk/extensions.conf
  • /etc/asterisk/extensions.conf
    >
    [default]
    [internal]
    exten => 8000,1,Playback(welcome)
    exten => 8001,1,VoicemailMain()
    exten => 8002,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/asterisk/ru-moskva.txt)
    exten => _81XX,1,VoicemailMain(21${EXTEN:2})
    exten => 8200,1,Record(/var/tmp/asterisk/message00:wav,2)
    exten => 8200,n,Playback(/var/tmp/asterisk/message00)
    exten => _82XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav,2)
    exten => _82XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
    exten => _83XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
    exten => 8400,1,Goto(menu,s,1)
    [menu]
    exten => s,1,Answer
    exten => s,n,Background(/var/tmp/asterisk/message01)
    exten => s,n(start),Background(/var/tmp/asterisk/message02)
    exten => s,n,WaitExten(2)
    exten => s,n,Background(/var/tmp/asterisk/message04)
    exten => s,n,WaitExten(2)
    exten => s,n,Background(/var/tmp/asterisk/message05)
    exten => s,n,Hangup
    exten => 1,1,Goto(submenu,s,1)
    exten => 2,1,Dial(SIP/2101)
    exten => 9,1,Goto(menu,s,start)
    exten => 0,1,Playback(/var/tmp/asterisk/message00)
    exten => 0,n,Hangup
    [submenu]
    exten => s,1,Answer
    exten => s,n,Background(/var/tmp/asterisk/message03)
    exten => 1,1,Goto(submenu-moskva,s,1)
    exten => 2,1,Goto(submenu-burunduk,s,1)
    exten => 9,1,Goto(submenu,s,1)
    exten => 0,1,Goto(menu,s,start)
    [submenu-moskva]
    exten => s,1,Background(/var/tmp/asterisk/ru-moskva)
    exten => 0,1,Goto(submenu,s,1)
    [submenu-burunduk]
    exten => s,1,Background(/var/tmp/asterisk/ru-burunduk)
    exten => 0,1,Goto(submenu,s,1)
    [local]
    exten => _21XX,1,Answer
    exten => _21XX,n,Set(CALLFILENAME=${EXTEN}-${STRFTIME(${EPOCH},Europe/Moscow,"%Y-%m-%d-%H-%M-%S")})
    exten => _21XX,n,Monitor(wav,${CALLFILENAME},m)
    exten => _21XX,n,Dial(SIP/${EXTEN},10)
    exten => _21XX,n,Noop($[${DIALSTATUS}])
    exten => _21XX,n,GotoIf($["${DIALSTATUS}" = "BUSY"])?voicemail)
    exten => _21XX,n,GotoIf($["${DIALSTATUS}" = "NOANSWER"])?voicemail)
    exten => _21XX,n,GotoIf($["${DIALSTATUS}" = "DONTCALL"])?voicemail)
    exten => _21XX,n,GotoIf($["${DIALSTATUS}" = "CONGESTION"])?voicemail)
    exten => _21XX,n,Hangup
    exten => _21XX,n(voicemail),Voicemail(${EXTEN}@default)
    exten => _21XX,n,Hangup
    [national]
    exten => _22XX,1,Dial(SIP/gr/${EXTEN})
    [international]
    exten => _11XX,1,Dial(SIP/msk/${EXTEN})
    exten => _12XX,1,Dial(SIP/msk/${EXTEN})
    exten => _32XX,1,Dial(SIP/ny/${EXTEN})
    exten => _31XX,1,Dial(SIP/ny/${EXTEN})
    [gr1]
    include => internal
    include => local
    [gr2]
    include => internal
    include => local
    include => national
    [gr3]
    include => internal
    include => local
    include => national
    include => international
    [gr4]
    include => local
    include => national
    include => international
    

    Статистика

    Время первой команды журнала13:40:54 2011- 6-29
    Время последней команды журнала08:33:00 2011- 6-30
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %31.68
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 0.86
    Количество командных строк в единицу времени, команда/мин 1.95
    Частота использования команд
    vim32|===========================| 27.35%
    cat16|=============| 13.68%
    ls16|=============| 13.68%
    asterisk8|======| 6.84%
    [8|======| 6.84%
    perl8|======| 6.84%
    chown8|======| 6.84%
    ru-moskva.wav8|======| 6.84%
    text2wave8|======| 6.84%
    cd3|==| 2.56%
    can2|=| 1.71%
    ____
    *) Интервалы неактивности длительностью 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$