/l3/users/vadik/nt-voip/linux1.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 |
|
#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) ... |
#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) ... |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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}) |
#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 |
#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 |
#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}) |
#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 |
#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 |
#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}) |
#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 |
#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 |
#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}) |
#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 |
#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 |
#{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 |
#{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 |
#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) |
#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 |
#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 |
#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}) |
#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 |
#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 |
#ls /var/spool/
![]() anacron/ cron/ mail/ mqueue-client/ samba/ asterisk/ exim4/ mqueue/ pop/ |
#ls /var/spool/
![]() anacron/ cron/ mail/ mqueue-client/ samba/ asterisk/ exim4/ mqueue/ pop/ |
#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 |
#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 |
#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 |
#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 |
#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}) |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#Введите :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 |
#Введите :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 |
#ls -l /tmp/h*
![]() ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога |
#ls -l /tmp/h*
![]() ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога |
#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}) |
#ls -l /tmp/h*
![]() ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога |
#ls -l /tmp/h*
![]() ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога |
#ls -l /tmp/h*
![]() ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога |
#ls -l /tmp/h*
![]() ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога |
#ls -l /tmp/h*
![]() ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога |
#ls -l /tmp/h*
![]() ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога |
#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 |
#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 |
#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: |
#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: |
#ls -l /tmp/h*
![]() ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога |
#ls -l /tmp/h*
![]() ls: невозможно получить доступ к /tmp/h*: Нет такого файла или каталога |
#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) |
#/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 | |||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последне