/l3/users/maxim/ais-voip-2011-jun/linux2.unix.ais/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 |
|
#su - user
q d:Удалить u:Восстановить s:Сохранить m:Создать r:Ответить g:Всем 1 + Jun 28 root ( 0K) 2 + Jun 28 root ( 0K) test 3 + Jun 28 root ( 0K) test 4 + Jun 28 user ( 1) N +- 4/4: user -- (all) 3 + Jun 28 root ( 0K) test 4 + Jun 28 user ( 1) - 0]---(threads/date)----- Почтовый ящик не изменился. ... +OK user has 0 visible messages (0 hidden) in 0 octets. ? -ERR Unknown command: "?". q -ERR Unknown command: "q". ^C user@linux2:~$ echo privet | mutt user@linux2.unix.ais user@linux2:~$ su - Пароль: l3-agent is already running: pid=1877; pidfile=/root/.lilalo/l3-agent.pid |
#su - user
4 + Jun 28 user ( 1) - 0]---(threads/date)----- Почтовый ящик не изменился. user@linux2:~$ nc linux2.unix.ais 110 +OK Qpopper (version 4.0.9) at linux2.unix.ais starting. <7853.1309261796@linux2.unix.ais> user -ERR Too few arguments for the user command. user -ERR Too few arguments for the user command. USER user ... +OK user has 0 visible messages (0 hidden) in 0 octets. ? -ERR Unknown command: "?". q -ERR Unknown command: "q". ^C user@linux2:~$ echo privet | mutt user@linux2.unix.ais user@linux2:~$ su - Пароль: l3-agent is already running: pid=1877; pidfile=/root/.lilalo/l3-agent.pid |
#su - user
PASS password +OK user has 0 visible messages (0 hidden) in 0 octets. ? -ERR Unknown command: "?". q -ERR Unknown command: "q". ^C user@linux2:~$ echo privet | mutt user@linux2.unix.ais user@linux2:~$ su - Пароль: l3-agent is already running: pid=1877; pidfile=/root/.lilalo/l3-agent.pid |
#su - user
PASS password +OK user has 0 visible messages (0 hidden) in 0 octets. ? -ERR Unknown command: "?". q -ERR Unknown command: "q". ^C user@linux2:~$ echo privet | mutt user@linux2.unix.ais user@linux2:~$ su - Пароль: l3-agent is already running: pid=1877; pidfile=/root/.lilalo/l3-agent.pid |
#su - user
i:ÐÑÑ Ð-:Ðазад <Space>:ÐпеÑед v:ÐÐ»Ð¾Ð¶ÐµÐ½Ð¸Ñ d:УдалиÑÑ r:ÐÑвеÑиÑÑ j:СледÑÑÑийÐÑем ?:ÐомоÑÑ ( 0K) Date: Tue, 28 Jun 2011 15:43:21 +0400 3 + Jun 28 root ( 0K) test From: user <user@linux3.unix.ais> 4 N + Jun 28 user ( 1) To: user@linux2.unix.ais User-Agent: Mutt/1.5.20 (2009-06-14) hello ---Mutt: /var/mail/user [Msgs:4 New:1 3,1K]---(threads/date)------------------------------------------------------------(all)--- ... +OK user has 0 visible messages (0 hidden) in 0 octets. ? -ERR Unknown command: "?". q -ERR Unknown command: "q". ^C user@linux2:~$ echo privet | mutt user@linux2.unix.ais user@linux2:~$ su - ÐаÑолÑ: l3-agent is already running: pid=1877; pidfile=/root/.lilalo/l3-agent.pid |
#su - user
q d:Удалить u:Восстановить s:Сохранить m:Создать r:Ответить g:Всем 1 + Jun 28 root ( 0K) 2 + Jun 28 root ( 0K) test 3 + Jun 28 root ( 0K) test 4 + Jun 28 user ( 1) N +- 4/4: user -- (all) 3 + Jun 28 root ( 0K) test 4 + Jun 28 user ( 1) - 0]---(threads/date)----- Почтовый ящик не изменился. ... +OK user has 0 visible messages (0 hidden) in 0 octets. ? -ERR Unknown command: "?". q -ERR Unknown command: "q". ^C user@linux2:~$ echo privet | mutt user@linux2.unix.ais user@linux2:~$ su - Пароль: l3-agent is already running: pid=1877; pidfile=/root/.lilalo/l3-agent.pid |
#vim extensions.conf
--- /tmp/l3-saved-8119.1252.16599 2011-06-28 16:27:29.000000000 +0400 +++ extensions.conf 2011-06-28 16:28:32.000000000 +0400 @@ -8,6 +8,9 @@ [local] exten => _12XX,1,Answer exten => _12XX,n,Dial(SIP/${EXTEN}) +exten => _12XX,n,Voicemail(SIP/${EXTEN}@default) + + ;M/G [national] |
#~
; How many milliseconds to skip forward/back when rew/ff in message playback skipms=3000 ; How many seconds of silence before we end the recording maxsilence=10 ; Silence threshold (what we consider silence: the lower, the more sensitive) silencethreshold=128 ; Max number of failed login attempts maxlogins=3 ; ; Move heard messages to the 'Old' folder automagically. Defaults to on. ... ment to listen. ;1201 => password,Example,user@linux2.unix.ais 1202 => password,Example,user@linux2.unix.ais ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; "voicemail.conf" 368L, 18011C записано |
#~
; ; NOTE: Asterisk has to edit this file to change a user's password. This does ; not currently work with the "#include <file>" directive for Asterisk ; configuration files, nor when using realtime static configuration. ; Do not use them with this configuration file. ; [general] "voicemail.conf" 366L, 17961C ; Formats for writing Voicemail. Note that when using IMAP storage for ; voicemail, only the first format specified will be used. ... ment to listen. ;1201 => password,Example,user@linux2.unix.ais 1202 => password,Example,user@linux2.unix.ais ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; "voicemail.conf" 368L, 18011C записано |
#~
; User context is where entries from users.conf are registered. The ; default value is 'default' ; ;userscontext=default ; ; If you need to have an external program, i.e. /usr/bin/myapp ; called when a voicemail is left, delivered, or your voicemailbox ; is checked, uncomment this. ;externnotify=/usr/bin/myapp ; If you would also like to enable SMDI notification then set smdienable to yes. ... ment to listen. ;1201 => password,Example,user@linux2.unix.ais 1202 => password,Example,user@linux2.unix.ais ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; "voicemail.conf" 368L, 18011C записано |
#~
; when you have mailboxes that contain messages, you _MUST_ absolutely ; manually go through those mailboxes and convert/delete/add the ; the message files so that they appear to have been stored using ; things may happen to your users while they are retrieving and ; manipulating their voicemail. ; ; In other words: don't change the format list on a production system ; unless you are _VERY_ sure that you know what you are doing and are ; prepared for the consequences. ; ... eastern=America/New_York|'vm-received' Q 'digits/at' IMp 336,1 91% ;1201 => password,Example,user@linux2.unix.ais 1202 => password,Example,user@linux2.unix.ais ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; "voicemail.conf" 368L, 18011C записано |
#~
;forward_urgent_auto=no ; ; User context is where entries from users.conf are registered. The ; default value is 'default' ; ;userscontext=default ; ; If you need to have an external program, i.e. /usr/bin/myapp ; called when a voicemail is left, delivered, or your voicemailbox ; is checked, uncomment this. ... ment to listen. ;1201 => password,Example,user@linux2.unix.ais 1202 => password,Example,user@linux2.unix.ais ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; "voicemail.conf" 368L, 18011C записано |
#~
; ; Voicemail Configuration ; ; ; NOTE: Asterisk has to edit this file to change a user's password. This does ; not currently work with the "#include <file>" directive for Asterisk ; configuration files, nor when using realtime static configuration. ; Do not use them with this configuration file. ; "voicemail.conf" 366L, 17961C ... ment to listen. ;1201 => password,Example,user@linux2.unix.ais 1202 => password,Example,user@linux2.unix.ais ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; "voicemail.conf" 368L, 18011C записано |
#~
;maxsecs=180 ; Minimum length of a voicemail message in seconds for the message to be kept ; The default is no minimum. ;minsecs=3 ; Maximum length of greetings in seconds ;maxgreet=60 ; How many milliseconds to skip forward/back when rew/ff in message playback skipms=3000 ; How many seconds of silence before we end the recording maxsilence=10 ... ment to listen. ;1201 => password,Example,user@linux2.unix.ais 1202 => password,Example,user@linux2.unix.ais ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; "voicemail.conf" 368L, 18011C записано |
#~
; If you need to have an external program, i.e. /usr/bin/myapp ; called when a voicemail password is changed, uncomment this: ; Note: If this is set, the password will NOT be changed in voicemail.conf ; If you would like to also change the password in voicemail.conf, use ; the externpassnotify option below instead. ;externpass=/usr/bin/myapp ;externpassnotify=/usr/bin/myapp ; If you need to have an external program, i.e. /usr/bin/myapp ; called when a user changes her voicemail password, uncomment this: 87,1 18% ... ment to listen. ;1201 => password,Example,user@linux2.unix.ais 1202 => password,Example,user@linux2.unix.ais ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; "voicemail.conf" 368L, 18011C записано |
#~
; voicemail, only the first format specified will be used. ;format=g723sf|wav49|wav format=wav49|gsm|wav [ ] [ ] ; WARNING: ; If you change the list of formats that you record voicemail in ; when you have mailboxes that contain messages, you _MUST_ absolutely ; manually go through those mailboxes and convert/delete/add the ; the message files so that they appear to have been stored using ... ment to listen. ;1201 => password,Example,user@linux2.unix.ais 1202 => password,Example,user@linux2.unix.ais ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; "voicemail.conf" 368L, 18011C записано |
#~
; called when a user changes her voicemail password, uncomment this: ;externpasscheck=/usr/bin/myapp ; Arguments for this script are: ; mailbox context oldpass newpass ; For the directory, you can override the intro file if you want ;directoryintro=dir-intro ; The character set for voicemail messages can be specified here ;charset=ISO-8859-1 ; The ADSI feature descriptor number to download to ;adsifdn=0000000F ... ment to listen. ;1201 => password,Example,user@linux2.unix.ais 1202 => password,Example,user@linux2.unix.ais ;4110 => 3443,Rob Flynn,rflynn@blueridge.net ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting ; "voicemail.conf" 368L, 18011C записано |
#vim extensions.conf
|
#vim extensions.conf
--- /tmp/l3-saved-8119.24098.18568 2011-06-28 16:32:37.000000000 +0400 +++ extensions.conf 2011-06-28 16:34:21.000000000 +0400 @@ -7,11 +7,9 @@ ;Local [local] exten => _12XX,1,Answer -exten => _12XX,n,Dial(SIP/${EXTEN}) +exten => _12XX,n,Dial(SIP/${EXTEN},10) exten => _12XX,n,Voicemail(SIP/${EXTEN}@default) - - ;M/G [national] exten => _11XX,1,Dial(SIP/ast/${EXTEN}) |
#[local]
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) Verbosity is at least 3 linux2*CLI> voicemail reload Reloading voicemail configuration... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found linux2*CLI> exit Executing last minute cleanups |
#[local]
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) Verbosity is at least 3 linux2*CLI> voicemail reload Reloading voicemail configuration... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found linux2*CLI> exit Executing last minute cleanups |
#[local]
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) Verbosity is at least 3 linux2*CLI> voicemail reload Reloading voicemail configuration... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found linux2*CLI> exit Executing last minute cleanups |
#[local]
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) Verbosity is at least 3 linux2*CLI> voicemail reload Reloading voicemail configuration... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found linux2*CLI> exit Executing last minute cleanups |
#[local]
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) Verbosity is at least 3 linux2*CLI> voicemail reload Reloading voicemail configuration... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found linux2*CLI> exit Executing last minute cleanups |
#[local]
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) Verbosity is at least 3 linux2*CLI> voicemail reload Reloading voicemail configuration... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found linux2*CLI> exit Executing last minute cleanups |
#[local]
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) Verbosity is at least 3 linux2*CLI> voicemail reload Reloading voicemail configuration... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found linux2*CLI> exit Executing last minute cleanups |
#[local]
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) Verbosity is at least 3 linux2*CLI> voicemail reload Reloading voicemail configuration... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found linux2*CLI> exit Executing last minute cleanups |
#[local]
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) Verbosity is at least 3 linux2*CLI> voicemail reload Reloading voicemail configuration... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found linux2*CLI> exit Executing last minute cleanups |
#[local]
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) Verbosity is at least 3 linux2*CLI> voicemail reload Reloading voicemail configuration... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found linux2*CLI> exit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) ... -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x7f42744fe980) -- Registered extension context 'parkedcalls' (0x7f42744ff2f0) in local table 0x19d6a70; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config -- Added extension '700' priority 1 to parkedcalls (0x7f42744ff2f0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000335 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000038 sec -- Total time merge_contexts_delete: 0.000373 sec linux2*CLI> exit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) ... -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x7f42744fe980) -- Registered extension context 'parkedcalls' (0x7f42744ff2f0) in local table 0x19d6a70; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config -- Added extension '700' priority 1 to parkedcalls (0x7f42744ff2f0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000335 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000038 sec -- Total time merge_contexts_delete: 0.000373 sec linux2*CLI> exit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) ... -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x7f42744fe980) -- Registered extension context 'parkedcalls' (0x7f42744ff2f0) in local table 0x19d6a70; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config -- Added extension '700' priority 1 to parkedcalls (0x7f42744ff2f0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000335 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000038 sec -- Total time merge_contexts_delete: 0.000373 sec linux2*CLI> exit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) ... -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x7f42744fe980) -- Registered extension context 'parkedcalls' (0x7f42744ff2f0) in local table 0x19d6a70; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config -- Added extension '700' priority 1 to parkedcalls (0x7f42744ff2f0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000335 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000038 sec -- Total time merge_contexts_delete: 0.000373 sec linux2*CLI> exit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) ... -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x7f42744fe980) -- Registered extension context 'parkedcalls' (0x7f42744ff2f0) in local table 0x19d6a70; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config -- Added extension '700' priority 1 to parkedcalls (0x7f42744ff2f0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000335 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000038 sec -- Total time merge_contexts_delete: 0.000373 sec linux2*CLI> exit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) ... -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x7f42744fe980) -- Registered extension context 'parkedcalls' (0x7f42744ff2f0) in local table 0x19d6a70; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config -- Added extension '700' priority 1 to parkedcalls (0x7f42744ff2f0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000335 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000038 sec -- Total time merge_contexts_delete: 0.000373 sec linux2*CLI> exit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) ... -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x7f42744fe980) -- Registered extension context 'parkedcalls' (0x7f42744ff2f0) in local table 0x19d6a70; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config -- Added extension '700' priority 1 to parkedcalls (0x7f42744ff2f0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000335 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000038 sec -- Total time merge_contexts_delete: 0.000373 sec linux2*CLI> exit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) ... -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x7f42744fe980) -- Registered extension context 'parkedcalls' (0x7f42744ff2f0) in local table 0x19d6a70; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config -- Added extension '700' priority 1 to parkedcalls (0x7f42744ff2f0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000335 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000038 sec -- Total time merge_contexts_delete: 0.000373 sec linux2*CLI> exit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) ... -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x7f42744fe980) -- Registered extension context 'parkedcalls' (0x7f42744ff2f0) in local table 0x19d6a70; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config -- Added extension '700' priority 1 to parkedcalls (0x7f42744ff2f0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000335 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000038 sec -- Total time merge_contexts_delete: 0.000373 sec linux2*CLI> exit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux2 (pid = 1214) ... -- Added extension 's' priority 1 to app_queue_gosub_virtual_context (0x7f42744fe980) -- Registered extension context 'parkedcalls' (0x7f42744ff2f0) in local table 0x19d6a70; registrar: features -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config -- Added extension '700' priority 1 to parkedcalls (0x7f42744ff2f0) -- Time to scan old dialplan and merge leftovers back into the new: 0.000335 sec -- Time to restore hints and swap in new dialplan: 0.000000 sec -- Time to delete the old dialplan: 0.000038 sec -- Total time merge_contexts_delete: 0.000373 sec linux2*CLI> exit Executing last minute cleanups |
#{EXTEN}@default)
[ ] [ ] [ ] ;M/Gensions.conf" 44L, 653C [local]al] [local] exten => _11XX,1,Dial(SIP/ast/${EXTEN}) exten => _12XX,n,Voicemail(${EXTEN}@default) :M/N [international] exten => _21XX,1,Dial(SIP/mn/${EXTEN}) exten => _22XX,1,Dial(SIP/mn/${EXTEN}) exten => _31XX,1,Dial(SIP/ny/${EXTEN}) "extensions.conf" 44L, 649C записано |
#{EXTEN}@default)
[ ] [ ] [ ] ;M/Gensions.conf" 44L, 653C [local]al] [local] exten => _11XX,1,Dial(SIP/ast/${EXTEN}) exten => _12XX,n,Voicemail(${EXTEN}@default) :M/N [international] exten => _21XX,1,Dial(SIP/mn/${EXTEN}) exten => _22XX,1,Dial(SIP/mn/${EXTEN}) exten => _31XX,1,Dial(SIP/ny/${EXTEN}) "extensions.conf" 44L, 649C записано |
#{EXTEN}@default)
[ ] [ ] [ ] ;M/Gensions.conf" 44L, 653C [local]al] [local] exten => _11XX,1,Dial(SIP/ast/${EXTEN}) exten => _12XX,n,Voicemail(${EXTEN}@default) :M/N [international] exten => _21XX,1,Dial(SIP/mn/${EXTEN}) exten => _22XX,1,Dial(SIP/mn/${EXTEN}) exten => _31XX,1,Dial(SIP/ny/${EXTEN}) "extensions.conf" 44L, 649C записано |
#{EXTEN}@default)
[local] exten => _12XX,1,Answer exten => _12XX,n,Dial(SIP/${EXTEN},10) exten => _12XX,n,Voicemail(SIP/${EXTEN}@default) ;M/Gensions.conf" 44L, 653C [national] exten => _11XX,1,Dial(SIP/ast/${EXTEN}) :M/N [international] [xten =>]_22XX,1,Dial(SIP/mn/${EXTEN}) [ ] [xten => ]31XX,1,Dial(SIP/ny/${EXTEN}) exten => _32XX,1,Dial(SIP/ny/${EXTEN}) [local] [local] exten => _12XX,n,Voicemail(${EXTEN}@default) "extensions.conf" 44L, 649C записано |
#{EXTEN}@default)
[ ] [ ] [ ] ;M/Gensions.conf" 44L, 653C [local]al] [local] exten => _11XX,1,Dial(SIP/ast/${EXTEN}) exten => _12XX,n,Voicemail(${EXTEN}@default) :M/N [international] exten => _21XX,1,Dial(SIP/mn/${EXTEN}) exten => _22XX,1,Dial(SIP/mn/${EXTEN}) exten => _31XX,1,Dial(SIP/ny/${EXTEN}) "extensions.conf" 44L, 649C записано |
#{EXTEN}@default)
[ ] [ ] [ ] ;M/Gensions.conf" 44L, 653C [local]al] [local] exten => _11XX,1,Dial(SIP/ast/${EXTEN}) exten => _12XX,n,Voicemail(${EXTEN}@default) :M/N [international] exten => _21XX,1,Dial(SIP/mn/${EXTEN}) exten => _22XX,1,Dial(SIP/mn/${EXTEN}) exten => _31XX,1,Dial(SIP/ny/${EXTEN}) "extensions.conf" 44L, 649C записано |
#{EXTEN}@default)
[ ] [ ] [ ] ;M/Gensions.conf" 44L, 653C [local]al] [local] exten => _11XX,1,Dial(SIP/ast/${EXTEN}) exten => _12XX,n,Voicemail(${EXTEN}@default) :M/N [international] exten => _21XX,1,Dial(SIP/mn/${EXTEN}) exten => _22XX,1,Dial(SIP/mn/${EXTEN}) exten => _31XX,1,Dial(SIP/ny/${EXTEN}) "extensions.conf" 44L, 649C записано |
#{EXTEN}@default)
[default] [internal] exten => 8000,1,Playback(welcome) ;Local [local] exten => _12XX,1,Answer exten => _12XX,n,Dial(SIP/${EXTEN},10) "extensions.conf" 44L, 653C [ ] [ ] [M/G ] [national] [local] [local]> _11XX,1,Dial(SIP/ast/${EXTEN}) exten => _12XX,n,Voicemail(${EXTEN}@default) :M/N [international] exten => _21XX,1,Dial(SIP/mn/${EXTEN}) exten => _22XX,1,Dial(SIP/mn/${EXTEN}) exten => _31XX,1,Dial(SIP/ny/${EXTEN}) "extensions.conf" 44L, 649C записано |
#{EXTEN}@default)
[ ] [ ] [ ] ;M/Gensions.conf" 44L, 653C [local]al] [local] exten => _11XX,1,Dial(SIP/ast/${EXTEN}) exten => _12XX,n,Voicemail(${EXTEN}@default) :M/N [international] exten => _21XX,1,Dial(SIP/mn/${EXTEN}) exten => _22XX,1,Dial(SIP/mn/${EXTEN}) exten => _31XX,1,Dial(SIP/ny/${EXTEN}) "extensions.conf" 44L, 649C записано |
#{EXTEN}@default)
[ ] [ ] [ ] ;M/Gensions.conf" 44L, 653C [local]al] [local] exten => _11XX,1,Dial(SIP/ast/${EXTEN}) exten => _12XX,n,Voicemail(${EXTEN}@default) :M/N [international] exten => _21XX,1,Dial(SIP/mn/${EXTEN}) exten => _22XX,1,Dial(SIP/mn/${EXTEN}) exten => _31XX,1,Dial(SIP/ny/${EXTEN}) "extensions.conf" 44L, 649C записано |
#asterisk -rx 'dialplan reload'
Dialplan reloaded. |
Время первой команды журнала | 13:43:54 2011- 6-28 | ||||||||||||||||||
Время последней команды журнала | 14:40:08 2011- 6-28 | ||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 9.90 | ||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.21 | ||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 7.90 | ||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008