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

Содержание

Журнал

Среда (10/19/11)

/dev/pts/3
15:45:24
#modprobe dahdi
FATAL: Module dahdi not found.
/dev/pts/4
15:45:24
#modprobe dahdi
FATAL: Module dahdi not found.
/dev/pts/3
15:45:45
#m-a a-i dahdi
  │                                                                         │
  │                                                                         │
  │                                                                         │
  │                                                                         │
  │                                100%                                     │
  │                                                                         │
  └─────────────────────────────────────────────────────────────────────────┘
Завершено с /usr/src/dahdi-modules-2.6.32-5-686_2.3.0.1+dfsg-2+2.6.32-38_i386.deb .
dpkg -Ei /usr/src/dahdi-modules-2.6.32-5-686_2.3.0.1+dfsg-2+2.6.32-38_i386.deb
Выбор ранее не выбранного пакета dahdi-modules-2.6.32-5-686.
(Чтение базы данных ... на данный момент установлено 135418 файлов и каталогов.)
Распаковывается пакет dahdi-modules-2.6.32-5-686 (из файла .../dahdi-modules-2.6.32-5-686_2.3.0.1+dfsg-2+2.6.32-38_i386.deb)...
Настраивается пакет dahdi-modules-2.6.32-5-686 (1:2.3.0.1+dfsg-2+2.6.32-38) ...
/dev/pts/4
15:45:45
#m-a a-i dahdi
  linux-kbuild-2.6.32
Предлагаемые пакеты:
  gcc-4.3-locales gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc libgcc1-dbg
  libgomp1-dbg libmudflap0-dbg
НОВЫЕ пакеты, которые будут установлены:
  cpp-4.3 gcc-4.3 gcc-4.3-base linux-headers-2.6.32-5-686
  linux-headers-2.6.32-5-common linux-kbuild-2.6.32
обновлено 0, установлено 6 новых пакетов, для удаления отмечено 0 пакетов, и 1 пакетов не обновлено.
Необходимо скачать 10,6 MБ архивов.
После данной операции, объём занятого дискового пространства возрастёт на 40,9 MB.
...
  │                                                                         │
  │                                100%                                     │
  │                                                                         │
  └─────────────────────────────────────────────────────────────────────────┘
Завершено с /usr/src/dahdi-modules-2.6.32-5-686_2.3.0.1+dfsg-2+2.6.32-38_i386.deb .
dpkg -Ei /usr/src/dahdi-modules-2.6.32-5-686_2.3.0.1+dfsg-2+2.6.32-38_i386.deb
Выбор ранее не выбранного пакета dahdi-modules-2.6.32-5-686.
(Чтение базы данных ... на данный момент установлено 135418 файлов и каталогов.)
Распаковывается пакет dahdi-modules-2.6.32-5-686 (из файла .../dahdi-modules-2.6.32-5-686_2.3.0.1+dfsg-2+2.6.32-38_i386.deb)...
Настраивается пакет dahdi-modules-2.6.32-5-686 (1:2.3.0.1+dfsg-2+2.6.32-38) ...
/dev/pts/3
15:46:50
#modprobe dahdi

/dev/pts/4
15:46:50
#modprobe dahdi

15:46:52
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 2944)
Verbosity is at least 1
linux1*CLI> core restart now
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
15:46:52
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 2944)
Verbosity is at least 1
linux1*CLI> core restart now
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
15:46:57
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity was 0 and is now 1
linux1*CLI>
...
linux1*CLI>
linux1*CLI>
linux1*CLI> meetme list 1
User #: 03         1101 Kiev                 Channel: SIP/1101-00000009     (unmonitored) 00:00:11
1 users in that conference.
linux1*CLI>
[Oct 19 16:52:36] NOTICE[6476]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000000a of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
15:46:57
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity was 0 and is now 1
linux1*CLI>
...
linux1*CLI>
linux1*CLI>
linux1*CLI> meetme list 1
User #: 03         1101 Kiev                 Channel: SIP/1101-00000009     (unmonitored) 00:00:11
1 users in that conference.
linux1*CLI>
[Oct 19 16:52:36] NOTICE[6476]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000000a of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
15:54:03
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> ^C
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
15:54:03
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> ^C
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
15:54:15
#vi extensions.conf
/dev/pts/4
15:54:15
#vi extensions.conf
--- /tmp/l3-saved-2565.10073.18796	2011-10-19 16:54:22.000000000 +0300
+++ extensions.conf	2011-10-19 16:54:37.000000000 +0300
@@ -16,7 +16,7 @@
 exten => _1103,n,SetMusicOnHold(default)
 exten => _1103,n,Queue(queue1)
 
-exten => _1111,1,MeetMe(1)
+exten => _1111,1,MeetMe(1,m)
 
 [national]
 exten => _12XX,1,Macro(monitor,SIP/lv/${EXTEN})
/dev/pts/3
15:54:37
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
Dialplan reloaded.
[Oct 19 16:54:45] NOTICE[6521]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000000b of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
15:54:37
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
Dialplan reloaded.
[Oct 19 16:54:45] NOTICE[6521]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000000b of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
15:54:56
#vi extensions.conf
/dev/pts/4
15:54:56
#vi extensions.conf
--- /tmp/l3-saved-2565.23138.1425	2011-10-19 16:54:57.000000000 +0300
+++ extensions.conf	2011-10-19 16:55:10.000000000 +0300
@@ -16,7 +16,7 @@
 exten => _1103,n,SetMusicOnHold(default)
 exten => _1103,n,Queue(queue1)
 
-exten => _1111,1,MeetMe(1,m)
+exten => _1111,1,MeetMe(1,M)
 
 [national]
 exten => _12XX,1,Macro(monitor,SIP/lv/${EXTEN})
/dev/pts/3
15:55:10
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
...
No active MeetMe conferences.
linux1*CLI> meetme list 1
No active MeetMe conferences.
[Oct 19 16:59:46] NOTICE[6461]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-00000016 of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI> meetme list 1
User #: 01         1102 Kiev                 Channel: SIP/1102-00000015     (unmonitored) 00:00:19
1 users in that conference.
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
15:55:10
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
...
No active MeetMe conferences.
linux1*CLI> meetme list 1
No active MeetMe conferences.
[Oct 19 16:59:46] NOTICE[6461]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-00000016 of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI> meetme list 1
User #: 01         1102 Kiev                 Channel: SIP/1102-00000015     (unmonitored) 00:00:19
1 users in that conference.
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
16:01:16
#vi extensions.conf
/dev/pts/4
16:01:16
#vi extensions.conf
--- /tmp/l3-saved-2565.278.26352	2011-10-19 17:01:18.000000000 +0300
+++ extensions.conf	2011-10-19 17:01:29.000000000 +0300
@@ -16,7 +16,7 @@
 exten => _1103,n,SetMusicOnHold(default)
 exten => _1103,n,Queue(queue1)
 
-exten => _1111,1,MeetMe(1,M)
+exten => _1111,1,MeetMe(1,Mc)
 
 [national]
 exten => _12XX,1,Macro(monitor,SIP/lv/${EXTEN})
/dev/pts/3
16:01:29
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
Dialplan reloaded.
[Oct 19 17:01:42] NOTICE[6610]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-00000017 of format ulaw since our native format has changed to 0x2 (gsm)
[Oct 19 17:02:10] NOTICE[6614]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000001a of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
16:01:29
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
Dialplan reloaded.
[Oct 19 17:01:42] NOTICE[6610]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-00000017 of format ulaw since our native format has changed to 0x2 (gsm)
[Oct 19 17:02:10] NOTICE[6614]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000001a of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
16:02:30
#vi extensions.conf
/dev/pts/4
16:02:30
#vi extensions.conf
--- /tmp/l3-saved-2565.14209.815	2011-10-19 17:02:31.000000000 +0300
+++ extensions.conf	2011-10-19 17:02:41.000000000 +0300
@@ -16,7 +16,7 @@
 exten => _1103,n,SetMusicOnHold(default)
 exten => _1103,n,Queue(queue1)
 
-exten => _1111,1,MeetMe(1,Mc)
+exten => _1111,1,MeetMe(1,McI)
 
 [national]
 exten => _12XX,1,Macro(monitor,SIP/lv/${EXTEN})
/dev/pts/3
16:02:41
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
...
[Oct 19 17:02:50] NOTICE[6640]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000001b of format ulaw since our native format has changed to 0x2 (gsm)
[Oct 19 17:03:46] NOTICE[6644]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000001d of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI> meetme list 1
User #: 03         1101 Kiev                 Channel: SIP/1101-0000001d     (unmonitored) 00:00:30
1 users in that conference.
linux1*CLI>
linux1*CLI>
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
16:02:41
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
...
[Oct 19 17:02:50] NOTICE[6640]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000001b of format ulaw since our native format has changed to 0x2 (gsm)
[Oct 19 17:03:46] NOTICE[6644]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000001d of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI> meetme list 1
User #: 03         1101 Kiev                 Channel: SIP/1101-0000001d     (unmonitored) 00:00:30
1 users in that conference.
linux1*CLI>
linux1*CLI>
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
16:05:03
#vi extensions.conf
/dev/pts/4
16:05:03
#vi extensions.conf
/dev/pts/3
16:05:15
#{EXTEN})
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI>
...
[Oct 19 17:08:58] WARNING[6448]: chan_sip.c:6798 sip_new: Unable to allocate AST channel structure for SIP channel
[Oct 19 17:08:58] NOTICE[6448]: chan_sip.c:20600 handle_request_invite: Unable to create/find SIP channel for this INVITE
linux1*CLI>
linux1*CLI> meetme list 1
No active MeetMe conferences.
linux1*CLI>
linux1*CLI>
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
16:05:15
#{EXTEN})
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI>
...
[Oct 19 17:08:58] WARNING[6448]: chan_sip.c:6798 sip_new: Unable to allocate AST channel structure for SIP channel
[Oct 19 17:08:58] NOTICE[6448]: chan_sip.c:20600 handle_request_invite: Unable to create/find SIP channel for this INVITE
linux1*CLI>
linux1*CLI> meetme list 1
No active MeetMe conferences.
linux1*CLI>
linux1*CLI>
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
16:09:42
#vi extensions.conf
/dev/pts/4
16:09:42
#vi extensions.conf
--- /tmp/l3-saved-2565.2766.26242	2011-10-19 17:09:50.000000000 +0300
+++ extensions.conf	2011-10-19 17:11:12.000000000 +0300
@@ -27,6 +27,11 @@
 exten => _31XX,1,Dial(SIP/msk/${EXTEN})
 
 [internal]
+exten => _99XX,1,Answer
+exten => _99XX,n,Set(FILENAME=/var/spool/asterisk/sounds/menu/${EXTEN:2})
+exten => _99XX,n,Record(${FILENAME})
+exten => _99XX,n,Playback(${FILENAME})
+
 exten => _117X,1,AgentLogin(${EXTEN:3})
 
 exten => _118X,1,GotoIf($[ "${CALLERID(num)}" != "110${EXTEN:3}" ]?password)
/dev/pts/3
16:11:12
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
Dialplan reloaded.
[Oct 19 17:11:23] WARNING[6800]: app_record.c:188 record_exec: No extension specified to filename!
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
16:11:12
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
Dialplan reloaded.
[Oct 19 17:11:23] WARNING[6800]: app_record.c:188 record_exec: No extension specified to filename!
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
16:11:33
#vi extensions.conf
/dev/pts/4
16:11:33
#vi extensions.conf
--- /tmp/l3-saved-2565.31554.26084	2011-10-19 17:11:34.000000000 +0300
+++ extensions.conf	2011-10-19 17:12:09.000000000 +0300
@@ -29,7 +29,7 @@
 [internal]
 exten => _99XX,1,Answer
 exten => _99XX,n,Set(FILENAME=/var/spool/asterisk/sounds/menu/${EXTEN:2})
-exten => _99XX,n,Record(${FILENAME})
+exten => _99XX,n,Record(${FILENAME}:gsm)
 exten => _99XX,n,Playback(${FILENAME})
 
 exten => _117X,1,AgentLogin(${EXTEN:3})
/dev/pts/3
16:12:09
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
Dialplan reloaded.
[Oct 19 17:12:16] NOTICE[6827]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-000000e7 of format ulaw since our native format has changed to 0x2 (gsm)
[Oct 19 17:12:37] NOTICE[6828]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-000000e8 of format ulaw since our native format has changed to 0x2 (gsm)
[Oct 19 17:13:11] NOTICE[6829]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-000000e9 of format ulaw since our native format has changed to 0x2 (gsm)
[Oct 19 17:13:28] NOTICE[6830]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-000000ea of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
16:12:09
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
Dialplan reloaded.
[Oct 19 17:12:16] NOTICE[6827]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-000000e7 of format ulaw since our native format has changed to 0x2 (gsm)
[Oct 19 17:12:37] NOTICE[6828]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-000000e8 of format ulaw since our native format has changed to 0x2 (gsm)
[Oct 19 17:13:11] NOTICE[6829]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-000000e9 of format ulaw since our native format has changed to 0x2 (gsm)
[Oct 19 17:13:28] NOTICE[6830]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-000000ea of format ulaw since our native format has changed to 0x2 (gsm)
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
16:13:39
#ls /var/spool/
anacron/       cron/          mail/          mqueue-client/ samba/
asterisk/      exim4/         mqueue/        pop/
/dev/pts/4
16:13:39
#ls /var/spool/
anacron/       cron/          mail/          mqueue-client/ samba/
asterisk/      exim4/         mqueue/        pop/
/dev/pts/3
16:13:39
#ls /var/spool/asterisk/sounds/menu/
00.gsm  01.gsm  10.gsm  20.gsm
/dev/pts/4
16:13:39
#ls /var/spool/asterisk/sounds/menu/
00.gsm  01.gsm  10.gsm  20.gsm
/dev/pts/3
16:20:43
#ls /tmp/
11                  keyring-dedniI    pbdirectory.txt  seahorse-nVmB48
convert.py          letters.txt       phonetic.txt     ssh-CMqiVV2122
dictate.txt         mc-root           ru               virtual-user.0dKPWm
digits.txt          orbit-Debian-gdm  ru.txt           virtual-user.oB6EHv
followme.txt        orbit-root        seahorse-Bg7ok8  virtual-user.uriTKy
gnash-cookies.2274  orbit-user        seahorse-bHgZEq
/dev/pts/4
16:20:43
#ls /tmp/
11                  keyring-dedniI    pbdirectory.txt  seahorse-nVmB48
convert.py          letters.txt       phonetic.txt     ssh-CMqiVV2122
dictate.txt         mc-root           ru               virtual-user.0dKPWm
digits.txt          orbit-Debian-gdm  ru.txt           virtual-user.oB6EHv
followme.txt        orbit-root        seahorse-Bg7ok8  virtual-user.uriTKy
gnash-cookies.2274  orbit-user        seahorse-bHgZEq
/dev/pts/3
16:20:46
#ls /tmp/
11                  keyring-dedniI    pbdirectory.txt  seahorse-nVmB48
convert.py          letters.txt       phonetic.txt     ssh-CMqiVV2122
dictate.txt         mc-root           ru               virtual-user.0dKPWm
digits.txt          orbit-Debian-gdm  ru.txt           virtual-user.oB6EHv
followme.txt        orbit-root        seahorse-Bg7ok8  virtual-user.uriTKy
gnash-cookies.2274  orbit-user        seahorse-bHgZEq
/dev/pts/4
16:20:46
#ls /tmp/
11                  keyring-dedniI    pbdirectory.txt  seahorse-nVmB48
convert.py          letters.txt       phonetic.txt     ssh-CMqiVV2122
dictate.txt         mc-root           ru               virtual-user.0dKPWm
digits.txt          orbit-Debian-gdm  ru.txt           virtual-user.oB6EHv
followme.txt        orbit-root        seahorse-Bg7ok8  virtual-user.uriTKy
gnash-cookies.2274  orbit-user        seahorse-bHgZEq
/dev/pts/3
16:20:55
#vi extensions.conf
/dev/pts/4
16:20:55
#vi extensions.conf
--- /tmp/l3-saved-2565.8044.7969	2011-10-19 17:21:04.000000000 +0300
+++ extensions.conf	2011-10-19 17:21:18.000000000 +0300
@@ -27,7 +27,7 @@
 exten => _31XX,1,Dial(SIP/msk/${EXTEN})
 
 [internal]
-exten => 9700,1,System(date >> /tmp/hello-from-asterisk)
+exten => _9700,1,System(date >> /tmp/hello-from-asterisk)
 
 exten => _99XX,1,Answer
 exten => _99XX,n,Set(FILENAME=/var/spool/asterisk/sounds/menu/${EXTEN:2})
/dev/pts/3
16:21:18
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
Dialplan reloaded.
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
16:21:18
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan reload
Dialplan reloaded.
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
16:21:29
#ls /tmp/
11                  keyring-dedniI    pbdirectory.txt  seahorse-nVmB48
convert.py          letters.txt       phonetic.txt     ssh-CMqiVV2122
dictate.txt         mc-root           ru               virtual-user.0dKPWm
digits.txt          orbit-Debian-gdm  ru.txt           virtual-user.oB6EHv
followme.txt        orbit-root        seahorse-Bg7ok8  virtual-user.uriTKy
gnash-cookies.2274  orbit-user        seahorse-bHgZEq
/dev/pts/4
16:21:29
#ls /tmp/
11                  keyring-dedniI    pbdirectory.txt  seahorse-nVmB48
convert.py          letters.txt       phonetic.txt     ssh-CMqiVV2122
dictate.txt         mc-root           ru               virtual-user.0dKPWm
digits.txt          orbit-Debian-gdm  ru.txt           virtual-user.oB6EHv
followme.txt        orbit-root        seahorse-Bg7ok8  virtual-user.uriTKy
gnash-cookies.2274  orbit-user        seahorse-bHgZEq
/dev/pts/3
16:21:30
#ls /tmp/
11                  keyring-dedniI    pbdirectory.txt  seahorse-nVmB48
convert.py          letters.txt       phonetic.txt     ssh-CMqiVV2122
dictate.txt         mc-root           ru               virtual-user.0dKPWm
digits.txt          orbit-Debian-gdm  ru.txt           virtual-user.oB6EHv
followme.txt        orbit-root        seahorse-Bg7ok8  virtual-user.uriTKy
gnash-cookies.2274  orbit-user        seahorse-bHgZEq
/dev/pts/4
16:21:30
#ls /tmp/
11                  keyring-dedniI    pbdirectory.txt  seahorse-nVmB48
convert.py          letters.txt       phonetic.txt     ssh-CMqiVV2122
dictate.txt         mc-root           ru               virtual-user.0dKPWm
digits.txt          orbit-Debian-gdm  ru.txt           virtual-user.oB6EHv
followme.txt        orbit-root        seahorse-Bg7ok8  virtual-user.uriTKy
gnash-cookies.2274  orbit-user        seahorse-bHgZEq
/dev/pts/3
16:21:42
#vi extensions.conf
/dev/pts/4
16:21:42
#vi extensions.conf
/dev/pts/3
16:22:57
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan show i
...
 +       9:Y:-:1:
 +       +       X:Y:-:2560:
 +       +       +       X:Y:-:2560:EXTEN:_99XX(0x9ceaf60)
 +       7:Y:-:1:
 +       +       0:Y:-:1:
 +       +       +       0:Y:-:1:EXTEN:_9700(0x9b89da8)
-= 1 context. =-
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
16:22:57
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI> dialplan show i
...
 +       9:Y:-:1:
 +       +       X:Y:-:2560:
 +       +       +       X:Y:-:2560:EXTEN:_99XX(0x9ceaf60)
 +       7:Y:-:1:
 +       +       0:Y:-:1:
 +       +       +       0:Y:-:1:EXTEN:_9700(0x9b89da8)
-= 1 context. =-
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
16:24:30
#vi extensions.conf
/dev/pts/4
16:24:30
#vi extensions.conf
/dev/pts/3
16:26:58
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/4
16:26:58
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 6418)
Verbosity is at least 1
linux1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
16:27:09
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/4
16:27:09
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/3
16:27:21
#^C

/dev/pts/4
16:27:21
#^C

/dev/pts/3
16:31:30
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/4
16:31:30
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/3
16:31:33
#ls -l /tmp/
итого 2536
-rw-r--r-- 1 root       root       2452777 Апр 28  2010 11
-rwxr-xr-x 1 user       user           786 Фев 17  2010 convert.py
-rw------- 1 user       user          1229 Апр 28  2010 dictate.txt
-rw------- 1 user       user          2643 Апр 28  2010 digits.txt
-rw------- 1 user       user           782 Апр 28  2010 followme.txt
-rw-r--r-- 1 user       user            43 Окт 18 11:51 gnash-cookies.2274
drwx------ 2 user       user          4096 Окт 19 16:30 keyring-dedniI
-rw------- 1 user       user           528 Апр 28  2010 letters.txt
drwx------ 2 root       root          4096 Окт 18 16:00 mc-root
...
-rw------- 1 user       user           482 Апр 28  2010 phonetic.txt
drwxr-xr-x 9 user       user         20480 Апр 28  2010 ru
-rw------- 1 user       user         34946 Апр 28  2010 ru.txt
drwx------ 2 user       user          4096 Окт 19 09:35 seahorse-Bg7ok8
drwx------ 2 user       user          4096 Окт 19 16:30 seahorse-bHgZEq
drwx------ 2 user       user          4096 Окт 18 09:38 seahorse-nVmB48
drwx------ 2 user       user          4096 Окт 19 16:30 ssh-CMqiVV2122
drwx------ 2 user       user          4096 Окт 18 09:38 virtual-user.0dKPWm
drwx------ 2 user       user          4096 Окт 19 09:35 virtual-user.oB6EHv
drwx------ 2 user       user          4096 Окт 19 16:30 virtual-user.uriTKy
/dev/pts/4
16:31:33
#ls -l /tmp/
итого 2536
-rw-r--r-- 1 root       root       2452777 Апр 28  2010 11
-rwxr-xr-x 1 user       user           786 Фев 17  2010 convert.py
-rw------- 1 user       user          1229 Апр 28  2010 dictate.txt
-rw------- 1 user       user          2643 Апр 28  2010 digits.txt
-rw------- 1 user       user           782 Апр 28  2010 followme.txt
-rw-r--r-- 1 user       user            43 Окт 18 11:51 gnash-cookies.2274
drwx------ 2 user       user          4096 Окт 19 16:30 keyring-dedniI
-rw------- 1 user       user           528 Апр 28  2010 letters.txt
drwx------ 2 root       root          4096 Окт 18 16:00 mc-root
...
-rw------- 1 user       user           482 Апр 28  2010 phonetic.txt
drwxr-xr-x 9 user       user         20480 Апр 28  2010 ru
-rw------- 1 user       user         34946 Апр 28  2010 ru.txt
drwx------ 2 user       user          4096 Окт 19 09:35 seahorse-Bg7ok8
drwx------ 2 user       user          4096 Окт 19 16:30 seahorse-bHgZEq
drwx------ 2 user       user          4096 Окт 18 09:38 seahorse-nVmB48
drwx------ 2 user       user          4096 Окт 19 16:30 ssh-CMqiVV2122
drwx------ 2 user       user          4096 Окт 18 09:38 virtual-user.0dKPWm
drwx------ 2 user       user          4096 Окт 19 09:35 virtual-user.oB6EHv
drwx------ 2 user       user          4096 Окт 19 16:30 virtual-user.uriTKy
/dev/pts/3
16:31:51
#ls -l /tmp^C

/dev/pts/4
16:31:51
#ls -l /tmp^C

/dev/pts/3
16:32:00
#vi extensions.conf
/dev/pts/4
16:32:00
#vi extensions.conf
/dev/pts/3
16:32:21
#Введите :quit<Enter> для выхода из Vim
итого 2536
-rw-r--r-- 1 root       root       2452777 Апр 28  2010 11
-rwxr-xr-x 1 user       user           786 Фев 17  2010 convert.py
-rw------- 1 user       user          1229 Апр 28  2010 dictate.txt
-rw------- 1 user       user          2643 Апр 28  2010 digits.txt
-rw------- 1 user       user           782 Апр 28  2010 followme.txt
-rw-r--r-- 1 user       user            43 Окт 18 11:51 gnash-cookies.2274
drwx------ 2 user       user          4096 Окт 19 16:30 keyring-dedniI
-rw------- 1 user       user           528 Апр 28  2010 letters.txt
drwx------ 2 root       root          4096 Окт 18 16:00 mc-root
...
-rw------- 1 user       user           482 Апр 28  2010 phonetic.txt
drwxr-xr-x 9 user       user         20480 Апр 28  2010 ru
-rw------- 1 user       user         34946 Апр 28  2010 ru.txt
drwx------ 2 user       user          4096 Окт 19 09:35 seahorse-Bg7ok8
drwx------ 2 user       user          4096 Окт 19 16:30 seahorse-bHgZEq
drwx------ 2 user       user          4096 Окт 18 09:38 seahorse-nVmB48
drwx------ 2 user       user          4096 Окт 19 16:30 ssh-CMqiVV2122
drwx------ 2 user       user          4096 Окт 18 09:38 virtual-user.0dKPWm
drwx------ 2 user       user          4096 Окт 19 09:35 virtual-user.oB6EHv
drwx------ 2 user       user          4096 Окт 19 16:30 virtual-user.uriTKy
/dev/pts/4
16:32:21
#Введите :quit<Enter> для выхода из Vim
итого 2536
-rw-r--r-- 1 root       root       2452777 Апр 28  2010 11
-rwxr-xr-x 1 user       user           786 Фев 17  2010 convert.py
-rw------- 1 user       user          1229 Апр 28  2010 dictate.txt
-rw------- 1 user       user          2643 Апр 28  2010 digits.txt
-rw------- 1 user       user           782 Апр 28  2010 followme.txt
-rw-r--r-- 1 user       user            43 Окт 18 11:51 gnash-cookies.2274
drwx------ 2 user       user          4096 Окт 19 16:30 keyring-dedniI
-rw------- 1 user       user           528 Апр 28  2010 letters.txt
drwx------ 2 root       root          4096 Окт 18 16:00 mc-root
...
-rw------- 1 user       user           482 Апр 28  2010 phonetic.txt
drwxr-xr-x 9 user       user         20480 Апр 28  2010 ru
-rw------- 1 user       user         34946 Апр 28  2010 ru.txt
drwx------ 2 user       user          4096 Окт 19 09:35 seahorse-Bg7ok8
drwx------ 2 user       user          4096 Окт 19 16:30 seahorse-bHgZEq
drwx------ 2 user       user          4096 Окт 18 09:38 seahorse-nVmB48
drwx------ 2 user       user          4096 Окт 19 16:30 ssh-CMqiVV2122
drwx------ 2 user       user          4096 Окт 18 09:38 virtual-user.0dKPWm
drwx------ 2 user       user          4096 Окт 19 09:35 virtual-user.oB6EHv
drwx------ 2 user       user          4096 Окт 19 16:30 virtual-user.uriTKy
/dev/pts/3
16:32:25
#ls -l /tmp/h*
ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога
/dev/pts/4
16:32:25
#ls -l /tmp/h*
ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога
/dev/pts/3
16:32:28
#vi extensions.conf
/dev/pts/4
16:32:28
#vi extensions.conf
--- /tmp/l3-saved-2565.18822.32630	2011-10-19 17:32:34.000000000 +0300
+++ extensions.conf	2011-10-19 17:32:43.000000000 +0300
@@ -29,7 +29,7 @@
 [internal]
 exten => _9700,1,Answer
 exten => _9700,n,Authenticate(12345) 
-exten => _9700,1,System(date >> /tmp/hello-from-asterisk)
+exten => _9700,n,System(date >> /tmp/hello-from-asterisk)
 
 exten => _99XX,1,Answer
 exten => _99XX,n,Set(FILENAME=/var/spool/asterisk/sounds/menu/${EXTEN:2})
/dev/pts/3
16:32:43
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/4
16:32:43
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/3
16:32:49
#ls -l /tmp/h*
ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога
/dev/pts/4
16:32:49
#ls -l /tmp/h*
ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога
/dev/pts/3
16:32:59
#ls -l /tmp/h*
ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога
/dev/pts/4
16:32:59
#ls -l /tmp/h*
ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога
/dev/pts/3
16:34:09
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/4
16:34:09
#/etc/init.d/asterisk reload
Reloading Asterisk PBX configuration files.
/dev/pts/3
16:34:13
#ls -l /tmp/h*
ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога
/dev/pts/4
16:34:13
#ls -l /tmp/h*
ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога
/dev/pts/3
16:35:31
#ls -l /tmp/*
-rw-r--r-- 1 root       root       2452777 Апр 28  2010 /tmp/11
-rwxr-xr-x 1 user       user           786 Фев 17  2010 /tmp/convert.py
-rw------- 1 user       user          1229 Апр 28  2010 /tmp/dictate.txt
-rw------- 1 user       user          2643 Апр 28  2010 /tmp/digits.txt
-rw------- 1 user       user           782 Апр 28  2010 /tmp/followme.txt
-rw-r--r-- 1 user       user            43 Окт 18 11:51 /tmp/gnash-cookies.2274
-rw------- 1 user       user           528 Апр 28  2010 /tmp/letters.txt
-rw------- 1 user       user           207 Апр 28  2010 /tmp/pbdirectory.txt
-rw------- 1 user       user           482 Апр 28  2010 /tmp/phonetic.txt
-rw------- 1 user       user         34946 Апр 28  2010 /tmp/ru.txt
...
srw------- 1 user user 0 Окт 18 09:38 S.gpg-agent
/tmp/ssh-CMqiVV2122:
итого 0
srw------- 1 user user 0 Окт 19 16:30 agent.2122
/tmp/virtual-user.0dKPWm:
итого 0
/tmp/virtual-user.oB6EHv:
итого 0
/tmp/virtual-user.uriTKy:
итого 0
/dev/pts/4
16:35:31
#ls -l /tmp/*
-rw-r--r-- 1 root       root       2452777 Апр 28  2010 /tmp/11
-rwxr-xr-x 1 user       user           786 Фев 17  2010 /tmp/convert.py
-rw------- 1 user       user          1229 Апр 28  2010 /tmp/dictate.txt
-rw------- 1 user       user          2643 Апр 28  2010 /tmp/digits.txt
-rw------- 1 user       user           782 Апр 28  2010 /tmp/followme.txt
-rw-r--r-- 1 user       user            43 Окт 18 11:51 /tmp/gnash-cookies.2274
-rw------- 1 user       user           528 Апр 28  2010 /tmp/letters.txt
-rw------- 1 user       user           207 Апр 28  2010 /tmp/pbdirectory.txt
-rw------- 1 user       user           482 Апр 28  2010 /tmp/phonetic.txt
-rw------- 1 user       user         34946 Апр 28  2010 /tmp/ru.txt
...
srw------- 1 user user 0 Окт 18 09:38 S.gpg-agent
/tmp/ssh-CMqiVV2122:
итого 0
srw------- 1 user user 0 Окт 19 16:30 agent.2122
/tmp/virtual-user.0dKPWm:
итого 0
/tmp/virtual-user.oB6EHv:
итого 0
/tmp/virtual-user.uriTKy:
итого 0
16:35:56
#ls /tmp/*
/tmp/11           /tmp/digits.txt          /tmp/letters.txt      /tmp/ru.txt
/tmp/convert.py   /tmp/followme.txt        /tmp/pbdirectory.txt
/tmp/dictate.txt  /tmp/gnash-cookies.2274  /tmp/phonetic.txt
/tmp/keyring-dedniI:
control  pkcs11  ssh
/tmp/mc-root:
/tmp/orbit-Debian-gdm:
linc-7f6-0-6ec5ca50751af
/tmp/orbit-root:
/tmp/orbit-user:
...
S.gpg-agent
/tmp/seahorse-bHgZEq:
S.gpg-agent
/tmp/seahorse-nVmB48:
S.gpg-agent
/tmp/ssh-CMqiVV2122:
agent.2122
/tmp/virtual-user.0dKPWm:
/tmp/virtual-user.oB6EHv:
/tmp/virtual-user.uriTKy:
/dev/pts/3
16:35:56
#ls /tmp/*
/tmp/11           /tmp/digits.txt          /tmp/letters.txt      /tmp/ru.txt
/tmp/convert.py   /tmp/followme.txt        /tmp/pbdirectory.txt
/tmp/dictate.txt  /tmp/gnash-cookies.2274  /tmp/phonetic.txt
/tmp/keyring-dedniI:
control  pkcs11  ssh
/tmp/mc-root:
/tmp/orbit-Debian-gdm:
linc-7f6-0-6ec5ca50751af
/tmp/orbit-root:
/tmp/orbit-user:
...
S.gpg-agent
/tmp/seahorse-bHgZEq:
S.gpg-agent
/tmp/seahorse-nVmB48:
S.gpg-agent
/tmp/ssh-CMqiVV2122:
agent.2122
/tmp/virtual-user.0dKPWm:
/tmp/virtual-user.oB6EHv:
/tmp/virtual-user.uriTKy:
16:35:58
#ls -l /tmp/h*
ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога
/dev/pts/4
16:35:58
#ls -l /tmp/h*
ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога
/dev/pts/3
16:36:02
#vi extensions.conf
/dev/pts/4
16:36:02
#vi extensions.conf
--- /tmp/l3-saved-2565.2614.26763	2011-10-19 17:36:09.000000000 +0300
+++ extensions.conf	2011-10-19 17:36:28.000000000 +0300
@@ -27,7 +27,8 @@
 exten => _31XX,1,Dial(SIP/msk/${EXTEN})
 
 [internal]
-exten => 9700,1,System(date >> /tmp/hello-from-asterisk)
+exten => 9700,1,Answer
+exten => 9700,n,System(date >> /tmp/hello-from-asterisk)
 
 exten => 9701,1,Answer
 exten => 9701,n,Authenticate(12345) 
/dev/pts/3
16:36:34
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk.
Asterisk PBX is already running. Use restart.

Статистика

Время первой команды журнала15:45:24 2011-10-19
Время последней команды журнала16:36:34 2011-10-19
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %11.88
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 0.85
Количество командных строк в единицу времени, команда/мин 1.97
Частота использования команд
ls30|============================| 28.57%
vi26|========================| 24.76%
asterisk24|======================| 22.86%
/etc/init.d/asterisk9|========| 8.57%
modprobe4|===| 3.81%
Введите2|=| 1.90%
для2|=| 1.90%
{EXTEN})2|=| 1.90%
m-a2|=| 1.90%
Enter>2|=| 1.90%
^C2|=| 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$