/l3/users/goddan/nt-voip/linux4.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 |
|
#apt-get install sensible-mta
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package sensible-mta |
#apt-get install sensible-mta
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package sensible-mta |
#apt-get install sensible-mda
Reading package lists... Done Building dependency tree Reading state information... Done sensible-mda is already the newest version. sensible-mda set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded. |
#apt-get install sensible-mda
Reading package lists... Done Building dependency tree Reading state information... Done sensible-mda is already the newest version. sensible-mda set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded. |
#tail /var/log/mail.log
Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12l006721: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12l006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12m006721: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12m006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12n006721: ruleset=check_rcpt, arg1=<user@linux5.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux5.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:04 linux4 sm-mta[6721]: r39CH12n006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:18:03 linux4 sm-mta[6733]: r39CI1G1006733: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:18:05 linux4 sm-mta[6733]: r39CI1G1006733: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:19:41 linux4 sm-mta[6744]: r39CJeWG006744: ruleset=check_rcpt, arg1=<user@linux3.unix.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.unix.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:19:44 linux4 sm-mta[6744]: r39CJeWG006744: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] |
#tail /var/log/mail.log
Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12l006721: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12l006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12m006721: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12m006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12n006721: ruleset=check_rcpt, arg1=<user@linux5.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux5.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:04 linux4 sm-mta[6721]: r39CH12n006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:18:03 linux4 sm-mta[6733]: r39CI1G1006733: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:18:05 linux4 sm-mta[6733]: r39CI1G1006733: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:19:41 linux4 sm-mta[6744]: r39CJeWG006744: ruleset=check_rcpt, arg1=<user@linux3.unix.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.unix.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:19:44 linux4 sm-mta[6744]: r39CJeWG006744: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] |
#tail /var/log/mail.log cat /etc/hosts
==> /var/log/mail.log <== Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12l006721: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12l006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12m006721: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12m006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12n006721: ruleset=check_rcpt, arg1=<user@linux5.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux5.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:04 linux4 sm-mta[6721]: r39CH12n006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:18:03 linux4 sm-mta[6733]: r39CI1G1006733: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:18:05 linux4 sm-mta[6733]: r39CI1G1006733: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:19:41 linux4 sm-mta[6744]: r39CJeWG006744: ruleset=check_rcpt, arg1=<user@linux3.unix.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.unix.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:19:44 linux4 sm-mta[6744]: r39CJeWG006744: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] tail: cannot open `cat' for reading: No such file or directory ==> /etc/hosts <== 127.0.0.1 localhost 192.168.40.1 linux4.unix.nt linux4 # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters |
#tail /var/log/mail.log cat /etc/hosts
==> /var/log/mail.log <== Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12l006721: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12l006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12m006721: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12m006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:17:02 linux4 sm-mta[6721]: r39CH12n006721: ruleset=check_rcpt, arg1=<user@linux5.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux5.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:17:04 linux4 sm-mta[6721]: r39CH12n006721: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:18:03 linux4 sm-mta[6733]: r39CI1G1006733: ruleset=check_rcpt, arg1=<user@linux3.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:18:05 linux4 sm-mta[6733]: r39CI1G1006733: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] Apr 9 15:19:41 linux4 sm-mta[6744]: r39CJeWG006744: ruleset=check_rcpt, arg1=<user@linux3.unix.nt>, relay=[192.168.40.100], reject=553 5.1.8 <user@linux3.unix.nt>... Domain of sender address user@linux.nt does not exist Apr 9 15:19:44 linux4 sm-mta[6744]: r39CJeWG006744: from=<user@linux.nt>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=[192.168.40.100] tail: cannot open `cat' for reading: No such file or directory ==> /etc/hosts <== 127.0.0.1 localhost 192.168.40.1 linux4.unix.nt linux4 # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters |
#ls
access helpfile sendmail.cf submit.cf access.db local-host-names sendmail.conf submit.mc address.resolve m4 sendmail.mc tls aliases Makefile service.switch trusted-users aliases.db peers service.switch-nodns databases sasl smrsh |
#ls
access helpfile sendmail.cf submit.cf access.db local-host-names sendmail.conf submit.mc address.resolve m4 sendmail.mc tls aliases Makefile service.switch trusted-users aliases.db peers service.switch-nodns databases sasl smrsh |
#nano /etc/asterisk/extensions.conf
--- /tmp/l3-saved-1821.5095.16133 2013-04-09 15:27:53.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-09 15:28:49.000000000 +0300 @@ -14,7 +14,7 @@ ;exten=>_14XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH}) ;exten=>_14XX,n,Monitor(wav,${CALLFILENAME},m) exten=>_14XX,n,Dial(SIP/${EXTEN},30,wW) - +exten=>_14XX,n,Voicemail(${EXTEN}@default) ;exten=>1401,1,Dial(SIP/1401) |
#nano /etc/asterisk/voicemail.conf
--- /tmp/l3-saved-1821.13929.22238 2013-04-09 15:29:25.000000000 +0300 +++ /etc/asterisk/voicemail.conf 2013-04-09 15:32:18.000000000 +0300 @@ -328,7 +328,7 @@ [default] -1234 => 4242,Example Mailbox,root@localhost +;1234 => 4242,Example Mailbox,root@localhost ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10 ;4300 => 3456,Ben Rigas,ben@american-computer.net ;4310 => -5432,Sales,sales@marko.net @@ -338,6 +338,10 @@ ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european +1401=>1234,Mailbox 1401,user@linux4.unix.nt +1402=>1234,MAilbox 1402,user@linux4.unix.net + + ; ; Mailboxes may be organized into multiple contexts for ; voicemail virtualhosting @@ -346,7 +350,7 @@ [other] ;The intro can be customized on a per-context basis ;directoryintro=dir-company2 -1234 => 5678,Company2 User,root@localhost +;1234 => 5678,Company2 User,root@localhost ; example for our acme compartmentalized company ; @@ -364,3 +368,6 @@ ;[imapvm] ;4324 => 7764,Ellis Redding,red@buxton.us,,imapuser=eredding|imappassword=g3tbusy ;4325 => 2392,Andrew Dufresne,andy@dufresne.info,,imapuser=adufresne|imappassword=rockh@mmer + + + |
#[default]
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 linux4*CLI> dialplan reload ... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found == Using SIP RTP CoS mark 5 -- Executing [1402@gr_country:1] Answer("SIP/1401-000000a9", "") in new stack -- Executing [1402@gr_country:2] Dial("SIP/1401-000000a9", "SIP/1402,30,wW") in new stack == Using SIP RTP CoS mark 5 -- Called 1402 -- SIP/1402-000000aa is ringing [Apr 9 15:34:13] NOTICE[6944]: rtp.c:1143 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 192.168.40.101 linux4*CLI> quit |
#[default]
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 linux4*CLI> dialplan reload ... == Parsing '/etc/asterisk/voicemail.conf': == Found == Parsing '/etc/asterisk/users.conf': == Found == Using SIP RTP CoS mark 5 -- Executing [1402@gr_country:1] Answer("SIP/1401-000000a9", "") in new stack -- Executing [1402@gr_country:2] Dial("SIP/1401-000000a9", "SIP/1402,30,wW") in new stack == Using SIP RTP CoS mark 5 -- Called 1402 -- SIP/1402-000000aa is ringing [Apr 9 15:34:13] NOTICE[6944]: rtp.c:1143 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 192.168.40.101 linux4*CLI> quit |
#nano /etc/asterisk/extensions.conf
--- /tmp/l3-saved-1821.14967.5460 2013-04-09 15:34:19.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-09 15:34:26.000000000 +0300 @@ -13,7 +13,7 @@ exten=>_14XX,1,Answer ;exten=>_14XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH}) ;exten=>_14XX,n,Monitor(wav,${CALLFILENAME},m) -exten=>_14XX,n,Dial(SIP/${EXTEN},30,wW) +exten=>_14XX,n,Dial(SIP/${EXTEN},10,wW) exten=>_14XX,n,Voicemail(${EXTEN}@default) |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 -- User hung up == Spawn extension (gr_country, 1402, 3) exited non-zero on 'SIP/1401-000000ad' linux4*CLI> quit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 -- User hung up == Spawn extension (gr_country, 1402, 3) exited non-zero on 'SIP/1401-000000ad' linux4*CLI> quit Executing last minute cleanups |
#apt-get install sendmail-bin
Reading package lists... Done Building dependency tree Reading state information... Done sendmail-bin is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded. |
#apt-get install sendmail-bin
Reading package lists... Done Building dependency tree Reading state information... Done sendmail-bin is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded. |
#apt-get install mailx
Reading package lists... Done Building dependency tree Reading state information... Done Package mailx is a virtual package provided by: mailutils 1:2.1+dfsg1-7 heirloom-mailx 12.4-2 bsd-mailx 8.1.2-0.20100314cvs-1 You should explicitly select one to install. E: Package 'mailx' has no installation candidate |
#apt-get install mailx
Reading package lists... Done Building dependency tree Reading state information... Done Package mailx is a virtual package provided by: mailutils 1:2.1+dfsg1-7 heirloom-mailx 12.4-2 bsd-mailx 8.1.2-0.20100314cvs-1 You should explicitly select one to install. E: Package 'mailx' has no installation candidate |
#apt-get install mailutils
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libgsasl7 libmailutils2 libmysqlclient16 libntlm0 mysql-common Suggested packages: mailutils-mh The following NEW packages will be installed: libgsasl7 libmailutils2 libmysqlclient16 libntlm0 mailutils mysql-common 0 upgraded, 6 newly installed, 0 to remove and 29 not upgraded. ... Setting up libmysqlclient16 (5.1.49-3) ... Setting up libmailutils2 (1:2.1+dfsg1-7) ... Setting up mailutils (1:2.1+dfsg1-7) ... update-alternatives: using /usr/bin/frm.mailutils to provide /usr/bin/frm (frm) in auto mode. update-alternatives: using /usr/bin/from.mailutils to provide /usr/bin/from (from) in auto mode. update-alternatives: using /usr/bin/messages.mailutils to provide /usr/bin/messages (messages) in auto mode. update-alternatives: using /usr/bin/movemail.mailutils to provide /usr/bin/movemail (movemail) in auto mode. update-alternatives: using /usr/bin/readmsg.mailutils to provide /usr/bin/readmsg (readmsg) in auto mode. update-alternatives: using /usr/bin/dotlock.mailutils to provide /usr/bin/dotlock (dotlock) in auto mode. update-alternatives: using /usr/bin/mail.mailutils to provide /usr/bin/mailx (mailx) in auto mode. |
#apt-get install mailutils
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libgsasl7 libmailutils2 libmysqlclient16 libntlm0 mysql-common Suggested packages: mailutils-mh The following NEW packages will be installed: libgsasl7 libmailutils2 libmysqlclient16 libntlm0 mailutils mysql-common 0 upgraded, 6 newly installed, 0 to remove and 29 not upgraded. ... Setting up libmysqlclient16 (5.1.49-3) ... Setting up libmailutils2 (1:2.1+dfsg1-7) ... Setting up mailutils (1:2.1+dfsg1-7) ... update-alternatives: using /usr/bin/frm.mailutils to provide /usr/bin/frm (frm) in auto mode. update-alternatives: using /usr/bin/from.mailutils to provide /usr/bin/from (from) in auto mode. update-alternatives: using /usr/bin/messages.mailutils to provide /usr/bin/messages (messages) in auto mode. update-alternatives: using /usr/bin/movemail.mailutils to provide /usr/bin/movemail (movemail) in auto mode. update-alternatives: using /usr/bin/readmsg.mailutils to provide /usr/bin/readmsg (readmsg) in auto mode. update-alternatives: using /usr/bin/dotlock.mailutils to provide /usr/bin/dotlock (dotlock) in auto mode. update-alternatives: using /usr/bin/mail.mailutils to provide /usr/bin/mailx (mailx) in auto mode. |
#nano /etc/asterisk/voicemail.conf
--- /tmp/l3-saved-1821.5046.8217 2013-04-09 15:43:27.000000000 +0300 +++ /etc/asterisk/voicemail.conf 2013-04-09 15:44:52.000000000 +0300 @@ -339,7 +339,7 @@ 1401=>1234,Mailbox 1401,user@linux4.unix.nt -1402=>1234,MAilbox 1402,user@linux4.unix.net +1402=>1234,MAilbox 1402,user@linux4.unix.nt ; |
#nano /etc/asterisk/extensions.conf
--- /tmp/l3-saved-1821.1203.9038 2013-04-09 16:15:33.000000000 +0300 +++ /etc/asterisk/extensions.conf 2013-04-09 16:16:27.000000000 +0300 @@ -8,7 +8,7 @@ exten=>_81XX,1,Record(/var/tmp/message/${EXTEN:2}:gsm,1) exten=>_81XX,n,Playback(/var/tmp/message/${EXTEN:2}) exten=>_82XX,1,Playback(/var/tmp/message/$(EXTEN:2}) - +exten=>8300,1,Voicemailmain() exten=>_14XX,1,Answer ;exten=>_14XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH}) @@ -17,6 +17,7 @@ exten=>_14XX,n,Voicemail(${EXTEN}@default) + ;exten=>1401,1,Dial(SIP/1401) ;exten=>1402,1,Dial(SIP/1402) ;exten =>_14XX,1,Dial(SIP/${EXTEN}) |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) ... -- <SIP/1401-000000b9> Playing 'vm-password.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-youhave.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-no.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-messages.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-opts.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-helpexit.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-opts.gsm' (language 'en') == Spawn extension (gr_country, 8300, 1) exited non-zero on 'SIP/1401-000000b9' linux4*CLI> quit Executing last minute cleanups |
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) ... -- <SIP/1401-000000b9> Playing 'vm-password.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-youhave.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-no.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-messages.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-opts.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-helpexit.gsm' (language 'en') -- <SIP/1401-000000b9> Playing 'vm-opts.gsm' (language 'en') == Spawn extension (gr_country, 8300, 1) exited non-zero on 'SIP/1401-000000b9' linux4*CLI> quit Executing last minute cleanups |
#cd Downloads/
|
#cd Downloads/
|
#ls
asterisk-core-sounds-ru-gsm-current.tar.gz |
#tar asterisk-core-sounds-ru-gsm-current.tar.gz
tar: Old option `g' requires an argument. Try `tar --help' or `tar --usage' for more information. |
#tar asterisk-core-sounds-ru-gsm-current.tar.gz
tar: Old option `g' requires an argument. Try `tar --help' or `tar --usage' for more information. |
#mkdir /usr/share/asterisk/sounds/ru
|
#cd /usr/share/asterisk/sounds/ru
|
#tar xfz /home/user/Downloads/asterisk-core-sounds-ru-gsm-current.tar.gz
|
#ls
agent-alreadyon.gsm CREDITS-asterisk-core-ru-1.4.23 queue-holdtime.gsm vm-duration.gsm vm-passchanged.gsm agent-incorrect.gsm demo-abouttotry.gsm queue-less-than.gsm vm-enter-num-to-call.gsm vm-password.gsm agent-loggedoff.gsm demo-congrats.gsm queue-minute.gsm vm-extension.gsm vm-pls-try-again.gsm agent-loginok.gsm demo-echodone.gsm queue-minutes.gsm vm-Family.gsm vm-press.gsm agent-newlocation.gsm demo-echotest.gsm queue-periodic-announce.gsm vm-first.gsm vm-prev.gsm agent-pass.gsm demo-enterkeywords.gsm queue-quantity1.gsm vm-for.gsm vm-reachoper.gsm agent-user.gsm demo-instruct.gsm queue-quantity2.gsm vm-forward.gsm vm-rec-busy.gsm ascending-2tone.gsm demo-moreinfo.gsm queue-reporthold.gsm vm-forward-multiple.gsm vm-received.gsm auth-incorrect.gsm demo-nogo.gsm queue-seconds.gsm vm-forwardoptions.gsm vm-rec-name.gsm auth-thankyou.gsm demo-nomatch.gsm queue-thankyou.gsm vm-Friends.gsm vm-record-prepend.gsm ... conf-roll-callcomplete.gsm phonetic vm-calldiffnum.gsm vm-no.gsm vm-toreply.gsm conf-thereare.gsm privacy-incorrect.gsm vm-changeto.gsm vm-nomore.gsm vm-torerecord.gsm conf-unlockednow.gsm privacy-prompt.gsm vm-Cust1.gsm vm-nonumber.gsm vm-undeleted.gsm conf-unmuted.gsm privacy-thankyou.gsm vm-Cust2.gsm vm-num-i-have.gsm vm-undelete.gsm conf-usermenu-162.gsm privacy-unident.gsm vm-Cust3.gsm vm-Old.gsm vm-unknown-caller.gsm conf-usermenu.gsm priv-callee-options.gsm vm-Cust4.gsm vm-onefor-full.gsm vm-Urgent.gsm conf-userswilljoin.gsm priv-callpending.gsm vm-Cust5.gsm vm-onefor.gsm vm-whichbox.gsm conf-userwilljoin.gsm priv-introsaved.gsm vm-deleted.gsm vm-options.gsm vm-Work.gsm conf-waitforleader.gsm priv-recordintro.gsm vm-delete.gsm vm-opts-full.gsm vm-youhave.gsm core-sounds-ru.txt queue-callswaiting.gsm vm-dialout.gsm vm-opts.gsm |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 linux4*CLI> quit |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 linux4*CLI> quit |
#nano /etc/asterisk/sip.conf
--- /tmp/l3-saved-1821.25281.32151 2013-04-09 16:25:53.000000000 +0300 +++ /etc/asterisk/sip.conf 2013-04-09 16:26:18.000000000 +0300 @@ -11,6 +11,7 @@ host=dynamic callerid="harare big brother" context=gr_country +language=ru [1402] type=friend |
#[general]
Asterisk already running on /var/run/asterisk/asterisk.ctl. Use 'asterisk -r' to connect. |
#[general]
Asterisk already running on /var/run/asterisk/asterisk.ctl. Use 'asterisk -r' to connect. |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 linux4*CLI> sip reload ... == Using SIP RTP CoS mark 5 -- Executing [8300@gr_country:1] VoiceMailMain("SIP/1401-000000bc", "") in new stack -- <SIP/1401-000000bc> Playing 'vm-login.gsm' (language 'ru') [Apr 9 16:27:35] NOTICE[7731]: rtp.c:1143 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 192.168.40.101 [Apr 9 16:27:38] WARNING[7731]: app_voicemail.c:9070 vm_authenticate: Couldn't read username == Using SIP RTP CoS mark 5 -- Executing [8300@gr_country:1] VoiceMailMain("SIP/1401-000000bd", "") in new stack -- <SIP/1401-000000bd> Playing 'vm-login.gsm' (language 'ru') [Apr 9 16:28:00] WARNING[7732]: app_voicemail.c:9070 vm_authenticate: Couldn't read username linux4*CLI> quit |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 linux4*CLI> sip reload ... == Using SIP RTP CoS mark 5 -- Executing [8300@gr_country:1] VoiceMailMain("SIP/1401-000000bc", "") in new stack -- <SIP/1401-000000bc> Playing 'vm-login.gsm' (language 'ru') [Apr 9 16:27:35] NOTICE[7731]: rtp.c:1143 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 192.168.40.101 [Apr 9 16:27:38] WARNING[7731]: app_voicemail.c:9070 vm_authenticate: Couldn't read username == Using SIP RTP CoS mark 5 -- Executing [8300@gr_country:1] VoiceMailMain("SIP/1401-000000bd", "") in new stack -- <SIP/1401-000000bd> Playing 'vm-login.gsm' (language 'ru') [Apr 9 16:28:00] WARNING[7732]: app_voicemail.c:9070 vm_authenticate: Couldn't read username linux4*CLI> quit |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 == Using SIP RTP CoS mark 5 -- Executing [8300@gr_country:1] VoiceMailMain("SIP/1401-000000be", "") in new stack -- <SIP/1401-000000be> Playing 'vm-login.gsm' (language 'ru') -- <SIP/1401-000000be> Playing 'vm-password.gsm' (language 'ru') -- <SIP/1401-000000be> Playing 'vm-youhave.gsm' (language 'ru') -- <SIP/1401-000000be> Playing 'digits/7.gsm' (language 'ru') [Apr 9 16:29:34] WARNING[7816]: file.c:650 ast_openstream_full: File vm-newx does not exist in any format [Apr 9 16:29:34] WARNING[7816]: file.c:953 ast_streamfile: Unable to open vm-newx (format 0x4 (ulaw)): No such file or directory == Spawn extension (gr_country, 8300, 1) exited non-zero on 'SIP/1401-000000be' linux4*CLI> quit |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 == Using SIP RTP CoS mark 5 -- Executing [8300@gr_country:1] VoiceMailMain("SIP/1401-000000be", "") in new stack -- <SIP/1401-000000be> Playing 'vm-login.gsm' (language 'ru') -- <SIP/1401-000000be> Playing 'vm-password.gsm' (language 'ru') -- <SIP/1401-000000be> Playing 'vm-youhave.gsm' (language 'ru') -- <SIP/1401-000000be> Playing 'digits/7.gsm' (language 'ru') [Apr 9 16:29:34] WARNING[7816]: file.c:650 ast_openstream_full: File vm-newx does not exist in any format [Apr 9 16:29:34] WARNING[7816]: file.c:953 ast_streamfile: Unable to open vm-newx (format 0x4 (ulaw)): No such file or directory == Spawn extension (gr_country, 8300, 1) exited non-zero on 'SIP/1401-000000be' linux4*CLI> quit |
#dpkg -l asterisk
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============================-==============================-============================================================================ ii asterisk 1:1.6.2.9-2+squeeze10 Open Source Private Branch Exchange (PBX) |
#ls
1-for-am-2-for-pm.gsm 1-yes-2-no.gsm abandon-all-hope.gsm abandons.gsm academic-support.gsm access-code.gsm access-denied.gsm access-granted.gsm accessible-through-system.gsm account-balance-is.gsm ... your.gsm your-msg-has-been-saved.gsm your-msg-is-too-short.gsm your-notifications.gsm your-req-notification.gsm your-temp-greeting.gsm you-seem-impatient.gsm you-sound-cute.gsm you-wish-to-join.gsm zip-code.gsm |
#ls
1-for-am-2-for-pm.gsm 1-yes-2-no.gsm abandon-all-hope.gsm abandons.gsm academic-support.gsm access-code.gsm access-denied.gsm access-granted.gsm accessible-through-system.gsm account-balance-is.gsm ... your.gsm your-msg-has-been-saved.gsm your-msg-is-too-short.gsm your-notifications.gsm your-req-notification.gsm your-temp-greeting.gsm you-seem-impatient.gsm you-sound-cute.gsm you-wish-to-join.gsm zip-code.gsm |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 [Apr 9 16:46:08] NOTICE[1336]: chan_sip.c:11726 sip_reg_timeout: -- Registration for 'harare@192.168.30.1' timed out, trying again (Attempt #1) ... == Spawn extension (gr_country, 8300, 1) exited non-zero on 'SIP/1401-000000c6' == Using SIP RTP CoS mark 5 -- Executing [1301@gr_country:1] Dial("SIP/minsk-000000c7", "SIP/gweru/1301") in new stack == Using SIP RTP CoS mark 5 -- Called gweru/1301 -- SIP/gweru-000000c8 is ringing -- SIP/gweru-000000c8 answered SIP/minsk-000000c7 -- Packet2Packet bridging SIP/minsk-000000c7 and SIP/gweru-000000c8 == Spawn extension (gr_country, 1301, 1) exited non-zero on 'SIP/minsk-000000c7' linux4*CLI> quit |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, 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+squeeze10 currently running on linux4 (pid = 1311) Verbosity is at least 3 [Apr 9 16:46:08] NOTICE[1336]: chan_sip.c:11726 sip_reg_timeout: -- Registration for 'harare@192.168.30.1' timed out, trying again (Attempt #1) ... == Spawn extension (gr_country, 8300, 1) exited non-zero on 'SIP/1401-000000c6' == Using SIP RTP CoS mark 5 -- Executing [1301@gr_country:1] Dial("SIP/minsk-000000c7", "SIP/gweru/1301") in new stack == Using SIP RTP CoS mark 5 -- Called gweru/1301 -- SIP/gweru-000000c8 is ringing -- SIP/gweru-000000c8 answered SIP/minsk-000000c7 -- Packet2Packet bridging SIP/minsk-000000c7 and SIP/gweru-000000c8 == Spawn extension (gr_country, 1301, 1) exited non-zero on 'SIP/minsk-000000c7' linux4*CLI> quit |
#less /var/log/asterisk/event_log
|
#less /var/log/asterisk/messages
|
#cd /usr/share/asterisk/
agi-bin/ conf/ documentation/ firmware/ keys/ moh/ sounds/ static-http/ |
#cd /usr/share/asterisk/sounds/ru/
|
#ln -s vm-
Display all 113 possibilities? (y or n) |
#ln -s vm-
Display all 113 possibilities? (y or n) vm-advopts.gsm vm-from.gsm vm-msginstruct.gsm vm-rec-busy.gsm vm-then-pound.gsm vm-and.gsm vm-from-phonenumber.gsm vm-msgsaved.gsm vm-received.gsm vm-theperson.gsm vm-calldiffnum.gsm vm-goodbye.gsm vm-newpassword.gsm vm-rec-name.gsm vm-tmpexists.gsm vm-changeto.gsm vm-helpexit.gsm vm-newuser.gsm vm-record-prepend.gsm vm-tocallback.gsm vm-Cust1.gsm vm-INBOX.gsm vm-next.gsm vm-rec-temp.gsm vm-tocallnum.gsm vm-Cust2.gsm vm-incorrect.gsm vm-nobodyavail.gsm vm-rec-unv.gsm vm-tocancel.gsm vm-Cust3.gsm vm-incorrect-mailbox.gsm vm-nobox.gsm vm-reenterpassword.gsm vm-tocancelmsg.gsm vm-Cust4.gsm vm-instructions.gsm vm-no.gsm vm-repeat.gsm vm-toenternumber.gsm vm-Cust5.gsm vm-intro.gsm vm-nomore.gsm vm-review.gsm vm-toforward.gsm ... vm-enter-num-to-call.gsm vm-last.gsm vm-onefor.gsm vm-savefolder.gsm vm-torerecord.gsm vm-extension.gsm vm-leavemsg.gsm vm-options.gsm vm-savemessage.gsm vm-undeleted.gsm vm-Family.gsm vm-login.gsm vm-opts-full.gsm vm-saveoper.gsm vm-undelete.gsm vm-first.gsm vm-mailboxfull.gsm vm-opts.gsm vm-sorry.gsm vm-unknown-caller.gsm vm-for.gsm vm-marked-nonurgent.gsm vm-passchanged.gsm vm-star-cancel.gsm vm-Urgent.gsm vm-forward.gsm vm-marked-urgent.gsm vm-password.gsm vm-starmain.gsm vm-whichbox.gsm vm-forward-multiple.gsm vm-message.gsm vm-pls-try-again.gsm vm-tempgreetactive.gsm vm-Work.gsm vm-forwardoptions.gsm vm-messages.gsm vm-press.gsm vm-tempgreeting2.gsm vm-youhave.gsm vm-Friends.gsm vm-minutes.gsm vm-prev.gsm vm-tempgreeting.gsm vm-from-extension.gsm vm-mismatch.gsm vm-reachoper.gsm vm-tempremoved.gsm |
Время первой команды журнала | 14:13:41 2013- 4- 9 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:48:31 2013- 4- 9 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 19.80 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 11.88 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.05 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.60 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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