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

Содержание

Журнал

Четверг (10/28/10)

/dev/pts/2
13:15:51
#~
zapconf          zaptel_hardware
13:15:51
#zaptel_hardware

/dev/pts/21
13:15:51
#~
zapconf          zaptel_hardware
13:15:51
#zaptel_hardware

/dev/pts/2
13:16:10
#zaptel_hardware
.aptitude/           .dbus/               .gconfd/             .gstreamer-0.10/     .lesshst             message-3.gsm        .metacity/           .ssh/                .Xauthority
.asterisk_history    .debtags/            .gnome/              .gvfs/               .lilalo/             message-4.gsm        .nautilus/           .update-notifier/    .xsession-errors
.bash_history        Desktop/             .gnome2/             .ICEauthority        .mc/                 message-5.gsm        .profile             .viminfo
.bash_profile        .festival_history    .gnome2_private/     install              message-1.gsm        message-6.gsm        .recently-used.xbel  .vimrc
.bashrc              .gconf/              .gnupg/              .l3rc                message-2.gsm        message-7.gsm        .rnd                 .wapi/
13:16:10
#zaptel_hardware
.aptitude/           .dbus/               .gconfd/             .gstreamer-0.10/     .lesshst             message-3.gsm        .metacity/           .ssh/                .Xauthority
.asterisk_history    .debtags/            .gnome/              .gvfs/               .lilalo/             message-4.gsm        .nautilus/           .update-notifier/    .xsession-errors
.bash_history        Desktop/             .gnome2/             .ICEauthority        .mc/                 message-5.gsm        .profile             .viminfo
.bash_profile        .festival_history    .gnome2_private/     install              message-1.gsm        message-6.gsm        .recently-used.xbel  .vimrc
.bashrc              .gconf/              .gnupg/              .l3rc                message-2.gsm        message-7.gsm        .rnd                 .wapi/
13:16:10
#zaptel_hardware
.aptitude/           .dbus/               .gconfd/             .gstreamer-0.10/     .lesshst             message-3.gsm        .metacity/           .ssh/                .Xauthority
.asterisk_history    .debtags/            .gnome/              .gvfs/               .lilalo/             message-4.gsm        .nautilus/           .update-notifier/    .xsession-errors
.bash_history        Desktop/             .gnome2/             .ICEauthority        .mc/                 message-5.gsm        .profile             .viminfo
.bash_profile        .festival_history    .gnome2_private/     install              message-1.gsm        message-6.gsm        .recently-used.xbel  .vimrc
.bashrc              .gconf/              .gnupg/              .l3rc                message-2.gsm        message-7.gsm        .rnd                 .wapi/
13:16:10
#\
>
/dev/pts/21
13:16:10
#zaptel_hardware
.aptitude/           .dbus/               .gconfd/             .gstreamer-0.10/     .lesshst             message-3.gsm        .metacity/           .ssh/                .Xauthority
.asterisk_history    .debtags/            .gnome/              .gvfs/               .lilalo/             message-4.gsm        .nautilus/           .update-notifier/    .xsession-errors
.bash_history        Desktop/             .gnome2/             .ICEauthority        .mc/                 message-5.gsm        .profile             .viminfo
.bash_profile        .festival_history    .gnome2_private/     install              message-1.gsm        message-6.gsm        .recently-used.xbel  .vimrc
.bashrc              .gconf/              .gnupg/              .l3rc                message-2.gsm        message-7.gsm        .rnd                 .wapi/
13:16:10
#zaptel_hardware
.aptitude/           .dbus/               .gconfd/             .gstreamer-0.10/     .lesshst             message-3.gsm        .metacity/           .ssh/                .Xauthority
.asterisk_history    .debtags/            .gnome/              .gvfs/               .lilalo/             message-4.gsm        .nautilus/           .update-notifier/    .xsession-errors
.bash_history        Desktop/             .gnome2/             .ICEauthority        .mc/                 message-5.gsm        .profile             .viminfo
.bash_profile        .festival_history    .gnome2_private/     install              message-1.gsm        message-6.gsm        .recently-used.xbel  .vimrc
.bashrc              .gconf/              .gnupg/              .l3rc                message-2.gsm        message-7.gsm        .rnd                 .wapi/
13:16:10
#zaptel_hardware
.aptitude/           .dbus/               .gconfd/             .gstreamer-0.10/     .lesshst             message-3.gsm        .metacity/           .ssh/                .Xauthority
.asterisk_history    .debtags/            .gnome/              .gvfs/               .lilalo/             message-4.gsm        .nautilus/           .update-notifier/    .xsession-errors
.bash_history        Desktop/             .gnome2/             .ICEauthority        .mc/                 message-5.gsm        .profile             .viminfo
.bash_profile        .festival_history    .gnome2_private/     install              message-1.gsm        message-6.gsm        .recently-used.xbel  .vimrc
.bashrc              .gconf/              .gnupg/              .l3rc                message-2.gsm        message-7.gsm        .rnd                 .wapi/
13:16:10
#\
>
13:16:25
#modprobe zaptel

/dev/pts/2
13:16:25
#modprobe zaptel

/dev/pts/21
13:16:53
#lsmod | grep zaptel
zaptel                185060  0
crc_ccitt               2080  1 zaptel
/dev/pts/2
13:16:53
#lsmod | grep zaptel
zaptel                185060  0
crc_ccitt               2080  1 zaptel
/dev/pts/21
13:17:11
#cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz
stepping        : 11
cpu MHz         : 2327.637
cache size      : 4096 KB
physical id     : 0
siblings        : 2
...
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4654.94
clflush size    : 64
power management:
/dev/pts/2
13:17:11
#cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz
stepping        : 11
cpu MHz         : 2327.637
cache size      : 4096 KB
physical id     : 0
siblings        : 2
...
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4654.94
clflush size    : 64
power management:
/dev/pts/21
13:21:17
#modprobe ztdummy

/dev/pts/2
13:21:17
#modprobe ztdummy

/dev/pts/21
13:22:29
#lsmod | grep ztdummy
ztdummy                 3056  0
zaptel                185060  1 ztdummy
/dev/pts/2
13:22:29
#lsmod | grep ztdummy
ztdummy                 3056  0
zaptel                185060  1 ztdummy
/dev/pts/21
13:22:40
#id asterisk
uid=110(asterisk) gid=117(asterisk) группы=117(asterisk),20(dialout),29(audio)
/dev/pts/2
13:22:40
#id asterisk
uid=110(asterisk) gid=117(asterisk) группы=117(asterisk),20(dialout),29(audio)
прошло 10 минут
/dev/pts/19
13:32:42
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Called 1302
    -- SIP/1302-09a0c6d0 is ringing
    -- SIP/1302-09a0c6d0 answered SIP/kv-09a20468
  == Spawn extension (macro-answer-with-monitor, s, 5) exited non-zero on 'SIP/kv-09a20468' in macro 'answer-with-monitor'
  == Spawn extension (macro-answer-with-monitor, s, 5) exited non-zero on 'SIP/kv-09a20468'
[Oct 28 14:34:11] NOTICE[11583]: res_monitor.c:339 ast_monitor_stop: monitor executing /usr/local/bin/monitor_exec "/var/spool/asterisk/monitor/voice-1302-1402-1288265609-in.wav" "/var/spool/asterisk/monitor/voice-1302-1402-1288265609-out.wav" "/var/spool/asterisk/monitor/voice-1302-1402-1288265609.wav"  &
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/0
13:32:42
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Called 1302
    -- SIP/1302-09a0c6d0 is ringing
    -- SIP/1302-09a0c6d0 answered SIP/kv-09a20468
  == Spawn extension (macro-answer-with-monitor, s, 5) exited non-zero on 'SIP/kv-09a20468' in macro 'answer-with-monitor'
  == Spawn extension (macro-answer-with-monitor, s, 5) exited non-zero on 'SIP/kv-09a20468'
[Oct 28 14:34:11] NOTICE[11583]: res_monitor.c:339 ast_monitor_stop: monitor executing /usr/local/bin/monitor_exec "/var/spool/asterisk/monitor/voice-1302-1402-1288265609-in.wav" "/var/spool/asterisk/monitor/voice-1302-1402-1288265609-out.wav" "/var/spool/asterisk/monitor/voice-1302-1402-1288265609.wav"  &
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/19
13:34:47
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Agent/1001 answered SIP/kv-084e5cd0
    -- Stopped music on hold on SIP/kv-084e5cd0
  == Spawn extension (group2, 1303, 3) exited non-zero on 'SIP/kv-084e5cd0'
  == Agent '1001' logged out
  == Spawn extension (group2, 13001, 1) exited non-zero on 'SIP/1302-084dfeb0'
[Oct 28 14:36:25] NOTICE[11635]: res_monitor.c:339 ast_monitor_stop: monitor executing /usr/local/bin/monitor_exec "/var/spool/asterisk/monitor/voice-1302-1402-1288265693-in.wav" "/var/spool/asterisk/monitor/voice-1302-1402-1288265693-out.wav" "/var/spool/asterisk/monitor/voice-1302-1402-1288265693.wav"  &
restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/0
13:34:47
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Agent/1001 answered SIP/kv-084e5cd0
    -- Stopped music on hold on SIP/kv-084e5cd0
  == Spawn extension (group2, 1303, 3) exited non-zero on 'SIP/kv-084e5cd0'
  == Agent '1001' logged out
  == Spawn extension (group2, 13001, 1) exited non-zero on 'SIP/1302-084dfeb0'
[Oct 28 14:36:25] NOTICE[11635]: res_monitor.c:339 ast_monitor_stop: monitor executing /usr/local/bin/monitor_exec "/var/spool/asterisk/monitor/voice-1302-1402-1288265693-in.wav" "/var/spool/asterisk/monitor/voice-1302-1402-1288265693-out.wav" "/var/spool/asterisk/monitor/voice-1302-1402-1288265693.wav"  &
restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/8
13:36:02
#less /etc/asterisk/ext
13:36:02
#less /etc/asterisk/extensions.conf
13:37:07
#less /etc/asterisk/extensions.conf
/dev/pts/19
13:37:18
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Stopped music on hold on SIP/kv-089c6b28
    -- Started music on hold, class 'default', on SIP/1302-089d19f8
  == Spawn extension (group1, 1303, 3) exited non-zero on 'SIP/kv-089c6b28'
    -- Stopped music on hold on SIP/1302-089d19f8
  == Agent '1001' logged out
  == Spawn extension (group2, 13001, 1) exited non-zero on 'SIP/1302-089d19f8'
restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/0
13:37:18
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Stopped music on hold on SIP/kv-089c6b28
    -- Started music on hold, class 'default', on SIP/1302-089d19f8
  == Spawn extension (group1, 1303, 3) exited non-zero on 'SIP/kv-089c6b28'
    -- Stopped music on hold on SIP/1302-089d19f8
  == Agent '1001' logged out
  == Spawn extension (group2, 13001, 1) exited non-zero on 'SIP/1302-089d19f8'
restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
13:38:38
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
cadences  channel   channels  status
linux3*CLI> meetme
kick    lock    mute    unlock  unmute  list
linux3*CLI> meetme list
Usage: meetme (un)lock|(un)mute|kick|list [concise] <confno> <usernumber>
       Executes a command for the conference or on a conferee
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/19
13:38:38
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
cadences  channel   channels  status
linux3*CLI> meetme
kick    lock    mute    unlock  unmute  list
linux3*CLI> meetme list
Usage: meetme (un)lock|(un)mute|kick|list [concise] <confno> <usernumber>
       Executes a command for the conference or on a conferee
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
13:42:45
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 28 15:46:26] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #2)
[Oct 28 15:46:46] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #3)
[Oct 28 15:47:06] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #4)
[Oct 28 15:47:26] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #5)
[Oct 28 15:47:46] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #6)
[Oct 28 15:48:06] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #7)
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/0
13:42:45
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 28 15:46:26] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #2)
[Oct 28 15:46:46] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #3)
[Oct 28 15:47:06] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #4)
[Oct 28 15:47:26] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #5)
[Oct 28 15:47:46] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #6)
[Oct 28 15:48:06] NOTICE[11895]: chan_sip.c:7515 sip_reg_timeout:    -- Registration for 'kv@192.168.104.1' timed out, trying again (Attempt #7)
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
прошло 11 минут
/dev/pts/8
13:54:26
#less /etc/asterisk/festival.conf
13:58:56
#history | less
14:00:07
#less /etc/asterisk/extensions.conf
14:01:06
#less /etc/asterisk/queues.conf
прошло 35 минут
/dev/pts/2
14:36:14
#grep -ri zap /etc/udev/
/etc/udev/rules.d/50-udev.rules:# Zaptel
/etc/udev/rules.d/50-udev.rules:KERNEL=="zapctl",               NAME="zap/ctl"
/etc/udev/rules.d/50-udev.rules:KERNEL=="zapchannel",           NAME="zap/channel"
/etc/udev/rules.d/50-udev.rules:KERNEL=="zappseudo",            NAME="zap/pseudo"
/etc/udev/rules.d/50-udev.rules:KERNEL=="zaptimer",             NAME="zap/timer"
/etc/udev/rules.d/50-udev.rules:KERNEL=="transcode",            NAME="zap/transcode"
/etc/udev/rules.d/50-udev.rules:KERNEL=="zap[0-9]*",            NAME="zap/%n"
/etc/udev/rules.d/xpp.rules:    RUN+="/usr/share/zaptel/xpp_fxloader udev $sysfs{idVendor}/$sysfs{idProduct}/$sysfs{bcdDevice}"
/etc/udev/rules.d/xpp.rules:# By default XPP_INIT_DIR="/usr/share/zaptel"
/etc/udev/rules.d/91-permissions.rules:SUBSYSTEM=="zaptel",                             GROUP="dialout"
/dev/pts/21
14:36:14
#grep -ri zap /etc/udev/
/etc/udev/rules.d/50-udev.rules:# Zaptel
/etc/udev/rules.d/50-udev.rules:KERNEL=="zapctl",               NAME="zap/ctl"
/etc/udev/rules.d/50-udev.rules:KERNEL=="zapchannel",           NAME="zap/channel"
/etc/udev/rules.d/50-udev.rules:KERNEL=="zappseudo",            NAME="zap/pseudo"
/etc/udev/rules.d/50-udev.rules:KERNEL=="zaptimer",             NAME="zap/timer"
/etc/udev/rules.d/50-udev.rules:KERNEL=="transcode",            NAME="zap/transcode"
/etc/udev/rules.d/50-udev.rules:KERNEL=="zap[0-9]*",            NAME="zap/%n"
/etc/udev/rules.d/xpp.rules:    RUN+="/usr/share/zaptel/xpp_fxloader udev $sysfs{idVendor}/$sysfs{idProduct}/$sysfs{bcdDevice}"
/etc/udev/rules.d/xpp.rules:# By default XPP_INIT_DIR="/usr/share/zaptel"
/etc/udev/rules.d/91-permissions.rules:SUBSYSTEM=="zaptel",                             GROUP="dialout"
/dev/pts/2
14:41:22
#cp /etc/asterisk/iax.conf /etc/asterisk/iax.conf.orig

/dev/pts/21
14:41:22
#cp /etc/asterisk/iax.conf /etc/asterisk/iax.conf.orig

/dev/pts/2
14:43:32
#cp /etc/asterisk/sip.conf /etc/asterisk/iax.conf.orig
sip.conf       sip.conf.orig
14:43:32
#cp /etc/asterisk/sip.conf /etc/asterisk/iax.conf

/dev/pts/21
14:43:32
#cp /etc/asterisk/sip.conf /etc/asterisk/iax.conf.orig
sip.conf       sip.conf.orig
14:43:32
#cp /etc/asterisk/sip.conf /etc/asterisk/iax.conf

/dev/pts/2
14:43:51
#ast
asterisk   astgenkey  astman
/dev/pts/21
14:43:51
#ast
asterisk   astgenkey  astman
/dev/pts/2
14:43:51
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
  == Auto fallthrough, channel 'SIP/192.168.104.1-08a3c888' status is 'CHANUNAVAIL'
    -- Executing [1394@default:1] Dial("SIP/192.168.104.1-08a3c888", "SIP/1394") in new stack
[Oct 28 16:13:55] WARNING[12794]: chan_sip.c:2921 create_addr: No such host: 1394
[Oct 28 16:13:55] WARNING[12794]: app_dial.c:1202 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'SIP/192.168.104.1-08a3c888' status is 'CHANUNAVAIL'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/21
14:43:51
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
  == Auto fallthrough, channel 'SIP/192.168.104.1-08a3c888' status is 'CHANUNAVAIL'
    -- Executing [1394@default:1] Dial("SIP/192.168.104.1-08a3c888", "SIP/1394") in new stack
[Oct 28 16:13:55] WARNING[12794]: chan_sip.c:2921 create_addr: No such host: 1394
[Oct 28 16:13:55] WARNING[12794]: app_dial.c:1202 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'SIP/192.168.104.1-08a3c888' status is 'CHANUNAVAIL'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/0
14:48:17
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
msk/kv           (Unspecified)   (D)  255.255.255.255  0             Unmonitored
vn/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
rv/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
nk/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
5 iax2 peers [0 online, 0 offline, 5 unmonitored]
[Oct 28 15:51:47] WARNING[12284]: chan_sip.c:12627 handle_response_register: Got 404 Not found on SIP register to service kv@192.168.107.1, giving up
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/19
14:48:17
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
msk/kv           (Unspecified)   (D)  255.255.255.255  0             Unmonitored
vn/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
rv/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
nk/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
5 iax2 peers [0 online, 0 offline, 5 unmonitored]
[Oct 28 15:51:47] WARNING[12284]: chan_sip.c:12627 handle_response_register: Got 404 Not found on SIP register to service kv@192.168.107.1, giving up
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/0
14:52:34
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 12309)
Verbosity was 0 and is now 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/19
14:52:34
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 12309)
Verbosity was 0 and is now 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
14:53:24
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
bb/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
msk/kv           (Unspecified)   (D)  255.255.255.255  0             Unmonitored
vn/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
rv/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
nk/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
5 iax2 peers [0 online, 0 offline, 5 unmonitored]
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/0
14:53:24
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
bb/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
msk/kv           (Unspecified)   (D)  255.255.255.255  0             Unmonitored
vn/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
rv/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
nk/kv            (Unspecified)   (D)  255.255.255.255  0             Unmonitored
5 iax2 peers [0 online, 0 offline, 5 unmonitored]
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/19
14:54:22
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
linux3*CLI> tr
transcoder  transfer
linux3*CLI> trans
transcoder  transfer
linux3*CLI> trans
transcoder  transfer
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/0
14:54:22
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
linux3*CLI> tr
transcoder  transfer
linux3*CLI> trans
transcoder  transfer
linux3*CLI> trans
transcoder  transfer
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
14:55:17
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Including context 'International' in context 'group3'
  == Parsing '/etc/asterisk/users.conf': Found
    -- Executing [1402@group2:1] Macro("SIP/1302-08a39d68", "dial-with-callerid|IAX2/vn/1402") in new stack
    -- Executing [s@macro-dial-with-callerid:1] Set("SIP/1302-08a39d68", "CALLERID(name)="Roma Krul'ko (Softphone) (Kiev)"") in new stack
    -- Executing [s@macro-dial-with-callerid:2] Dial("SIP/1302-08a39d68", "IAX2/vn/1402") in new stack
    -- Called vn/1402
    -- Call accepted by 192.168.104.1 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/vn-273 answered SIP/1302-08a39d68
linux3*CLI>
/dev/pts/19
14:55:17
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Including context 'International' in context 'group3'
  == Parsing '/etc/asterisk/users.conf': Found
    -- Executing [1402@group2:1] Macro("SIP/1302-08a39d68", "dial-with-callerid|IAX2/vn/1402") in new stack
    -- Executing [s@macro-dial-with-callerid:1] Set("SIP/1302-08a39d68", "CALLERID(name)="Roma Krul'ko (Softphone) (Kiev)"") in new stack
    -- Executing [s@macro-dial-with-callerid:2] Dial("SIP/1302-08a39d68", "IAX2/vn/1402") in new stack
    -- Called vn/1402
    -- Call accepted by 192.168.104.1 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/vn-273 answered SIP/1302-08a39d68
linux3*CLI>
/dev/pts/1
15:04:09
#ping 192.168.104.1
PING 192.168.104.1 (192.168.104.1) 56(84) bytes of data.
64 bytes from 192.168.104.1: icmp_seq=1 ttl=63 time=0.169 ms
64 bytes from 192.168.104.1: icmp_seq=2 ttl=63 time=0.179 ms
64 bytes from 192.168.104.1: icmp_seq=3 ttl=63 time=0.145 ms
64 bytes from 192.168.104.1: icmp_seq=4 ttl=63 time=0.160 ms
64 bytes from 192.168.104.1: icmp_seq=5 ttl=63 time=0.171 ms
^C
--- 192.168.104.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 0.145/0.164/0.179/0.019 ms
/dev/pts/8
15:04:09
#ping 192.168.104.1
PING 192.168.104.1 (192.168.104.1) 56(84) bytes of data.
64 bytes from 192.168.104.1: icmp_seq=1 ttl=63 time=0.169 ms
64 bytes from 192.168.104.1: icmp_seq=2 ttl=63 time=0.179 ms
64 bytes from 192.168.104.1: icmp_seq=3 ttl=63 time=0.145 ms
64 bytes from 192.168.104.1: icmp_seq=4 ttl=63 time=0.160 ms
64 bytes from 192.168.104.1: icmp_seq=5 ttl=63 time=0.171 ms
^C
--- 192.168.104.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 0.145/0.164/0.179/0.019 ms
/dev/pts/1
15:08:57
#cat /var/run/
acpid.pid                  bind/                      dhcdbd.pid                 hal/                       portmap_mapping            sdp                        system-tools-backends.pid
acpid.socket               crond.pid                  dhcpd.pid                  inetd.pid                  portmap.pid                sendmail/                  utmp
asterisk/                  crond.reboot               exim4/                     motd                       rpc.statd.pid              sm-notify.pid              vpnc/
atd.pid                    cups/                      gdm.pid                    network/                   rsyslogd.pid               sshd/
avahi-daemon/              dbus/                      gdm_socket                 NetworkManager/            samba/                     sshd.pid
15:08:57
#cat /var/run/dhc
dhcdbd.pid  dhcpd.pid
/dev/pts/8
15:08:57
#cat /var/run/
acpid.pid                  bind/                      dhcdbd.pid                 hal/                       portmap_mapping            sdp                        system-tools-backends.pid
acpid.socket               crond.pid                  dhcpd.pid                  inetd.pid                  portmap.pid                sendmail/                  utmp
asterisk/                  crond.reboot               exim4/                     motd                       rpc.statd.pid              sm-notify.pid              vpnc/
atd.pid                    cups/                      gdm.pid                    network/                   rsyslogd.pid               sshd/
avahi-daemon/              dbus/                      gdm_socket                 NetworkManager/            samba/                     sshd.pid
15:08:57
#cat /var/run/dhc
dhcdbd.pid  dhcpd.pid
/dev/pts/1
15:08:57
#cat /var/
backups/ cache/   crash/   games/   lib/     local/   lock/    log/     mail/    opt/     run/     spool/   tmp/
/dev/pts/8
15:08:57
#cat /var/
backups/ cache/   crash/   games/   lib/     local/   lock/    log/     mail/    opt/     run/     spool/   tmp/
/dev/pts/1
15:08:57
#cat /var/run/
acpid.pid                  bind/                      dhcdbd.pid                 hal/                       portmap_mapping            sdp                        system-tools-backends.pid
acpid.socket               crond.pid                  dhcpd.pid                  inetd.pid                  portmap.pid                sendmail/                  utmp
asterisk/                  crond.reboot               exim4/                     motd                       rpc.statd.pid              sm-notify.pid              vpnc/
atd.pid                    cups/                      gdm.pid                    network/                   rsyslogd.pid               sshd/
avahi-daemon/              dbus/                      gdm_socket                 NetworkManager/            samba/                     sshd.pid
15:08:57
#cat /var/run/dhc
dhcdbd.pid  dhcpd.pid
/dev/pts/8
15:08:57
#cat /var/run/
acpid.pid                  bind/                      dhcdbd.pid                 hal/                       portmap_mapping            sdp                        system-tools-backends.pid
acpid.socket               crond.pid                  dhcpd.pid                  inetd.pid                  portmap.pid                sendmail/                  utmp
asterisk/                  crond.reboot               exim4/                     motd                       rpc.statd.pid              sm-notify.pid              vpnc/
atd.pid                    cups/                      gdm.pid                    network/                   rsyslogd.pid               sshd/
avahi-daemon/              dbus/                      gdm_socket                 NetworkManager/            samba/                     sshd.pid
15:08:57
#cat /var/run/dhc
dhcdbd.pid  dhcpd.pid
/dev/pts/21
15:14:47
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 28 16:16:57] WARNING[12942]: chan_sip.c:2921 create_addr: No such host: 1302
[Oct 28 16:16:57] WARNING[12942]: app_dial.c:1202 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'SIP/192.168.104.1-09d29828' status is 'CHANUNAVAIL'
[Oct 28 16:17:10] NOTICE[12813]: chan_sip.c:15500 handle_request_subscribe: Received SIP subscribe for peer without mailbox: (null)
[Oct 28 16:17:10] NOTICE[12813]: chan_sip.c:15642 handle_request_register: Registration from '"Roma"<sip:1302@192.168.103.1;transport=UDP>' failed for '192.168.103.2' - No matching peer found
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/2
15:14:47
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 28 16:16:57] WARNING[12942]: chan_sip.c:2921 create_addr: No such host: 1302
[Oct 28 16:16:57] WARNING[12942]: app_dial.c:1202 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'SIP/192.168.104.1-09d29828' status is 'CHANUNAVAIL'
[Oct 28 16:17:10] NOTICE[12813]: chan_sip.c:15500 handle_request_subscribe: Received SIP subscribe for peer without mailbox: (null)
[Oct 28 16:17:10] NOTICE[12813]: chan_sip.c:15642 handle_request_register: Registration from '"Roma"<sip:1302@192.168.103.1;transport=UDP>' failed for '192.168.103.2' - No matching peer found
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/21
15:17:27
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 28 16:20:40] NOTICE[12963]: chan_sip.c:15500 handle_request_subscribe: Received SIP subscribe for peer without mailbox: (null)
[Oct 28 16:20:40] NOTICE[12963]: chan_sip.c:15642 handle_request_register: Registration from '"Roma"<sip:1302@192.168.103.1;transport=UDP>' failed for '192.168.103.2' - No matching peer found
[Oct 28 16:21:10] NOTICE[12963]: chan_sip.c:15500 handle_request_subscribe: Received SIP subscribe for peer without mailbox: (null)
[Oct 28 16:21:10] NOTICE[12963]: chan_sip.c:15642 handle_request_register: Registration from '"Roma"<sip:1302@192.168.103.1;transport=UDP>' failed for '192.168.103.2' - No matching peer found
[Oct 28 16:21:40] NOTICE[12963]: chan_sip.c:15500 handle_request_subscribe: Received SIP subscribe for peer without mailbox: (null)
[Oct 28 16:21:40] NOTICE[12963]: chan_sip.c:15642 handle_request_register: Registration from '"Roma"<sip:1302@192.168.103.1;transport=UDP>' failed for '192.168.103.2' - No matching peer found
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/2
15:17:27
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
[Oct 28 16:20:40] NOTICE[12963]: chan_sip.c:15500 handle_request_subscribe: Received SIP subscribe for peer without mailbox: (null)
[Oct 28 16:20:40] NOTICE[12963]: chan_sip.c:15642 handle_request_register: Registration from '"Roma"<sip:1302@192.168.103.1;transport=UDP>' failed for '192.168.103.2' - No matching peer found
[Oct 28 16:21:10] NOTICE[12963]: chan_sip.c:15500 handle_request_subscribe: Received SIP subscribe for peer without mailbox: (null)
[Oct 28 16:21:10] NOTICE[12963]: chan_sip.c:15642 handle_request_register: Registration from '"Roma"<sip:1302@192.168.103.1;transport=UDP>' failed for '192.168.103.2' - No matching peer found
[Oct 28 16:21:40] NOTICE[12963]: chan_sip.c:15500 handle_request_subscribe: Received SIP subscribe for peer without mailbox: (null)
[Oct 28 16:21:40] NOTICE[12963]: chan_sip.c:15642 handle_request_register: Registration from '"Roma"<sip:1302@192.168.103.1;transport=UDP>' failed for '192.168.103.2' - No matching peer found
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
15:21:41
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 13014)
Verbosity was 0 and is now 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/21
15:21:41
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 13014)
Verbosity was 0 and is now 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
15:23:20
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 13057)
Verbosity was 0 and is now 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/2
15:23:20
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 13057)
Verbosity was 0 and is now 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
15:29:02
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Hungup 'IAX2/1302-1787'
    -- Hungup 'IAX2/vn-1157'
  == Spawn extension (macro-dial-with-callerid, s, 2) exited non-zero on 'IAX2/1302-9505' in macro 'dial-with-callerid'
  == Spawn extension (macro-dial-with-callerid, s, 2) exited non-zero on 'IAX2/1302-9505'
    -- Hungup 'IAX2/1302-9505'
[Oct 28 16:30:16] NOTICE[13125]: chan_iax2.c:8067 socket_process: Rejected connect attempt from 192.168.103.2, request '1701@group2' does not exist
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/21
15:29:02
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Hungup 'IAX2/1302-1787'
    -- Hungup 'IAX2/vn-1157'
  == Spawn extension (macro-dial-with-callerid, s, 2) exited non-zero on 'IAX2/1302-9505' in macro 'dial-with-callerid'
  == Spawn extension (macro-dial-with-callerid, s, 2) exited non-zero on 'IAX2/1302-9505'
    -- Hungup 'IAX2/1302-9505'
[Oct 28 16:30:16] NOTICE[13125]: chan_iax2.c:8067 socket_process: Rejected connect attempt from 192.168.103.2, request '1701@group2' does not exist
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
15:31:16
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Operating with different codecs 4[0x4 (ulaw)] 2[0x2 (gsm)] , can't native bridge...
    -- Operating with different codecs 4[0x4 (ulaw)] 2[0x2 (gsm)] , can't native bridge...
    -- Hungup 'IAX2/msk-14994'
  == Spawn extension (macro-dial-with-callerid2, s, 2) exited non-zero on 'IAX2/1302-11019' in macro 'dial-with-callerid2'
  == Spawn extension (macro-dial-with-callerid2, s, 2) exited non-zero on 'IAX2/1302-11019'
    -- Hungup 'IAX2/1302-11019'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/2
15:31:16
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- Operating with different codecs 4[0x4 (ulaw)] 2[0x2 (gsm)] , can't native bridge...
    -- Operating with different codecs 4[0x4 (ulaw)] 2[0x2 (gsm)] , can't native bridge...
    -- Hungup 'IAX2/msk-14994'
  == Spawn extension (macro-dial-with-callerid2, s, 2) exited non-zero on 'IAX2/1302-11019' in macro 'dial-with-callerid2'
  == Spawn extension (macro-dial-with-callerid2, s, 2) exited non-zero on 'IAX2/1302-11019'
    -- Hungup 'IAX2/1302-11019'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
15:33:14
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- IAX2/1302-9816 is ringing
    -- IAX2/1302-9816 answered IAX2/vn-6215
    -- Channel 'IAX2/1302-9816' unable to transfer
    -- Hungup 'IAX2/1302-9816'
  == Spawn extension (group1, 1302, 1) exited non-zero on 'IAX2/vn-6215'
    -- Hungup 'IAX2/vn-6215'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/21
15:33:14
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
...
    -- IAX2/1302-9816 is ringing
    -- IAX2/1302-9816 answered IAX2/vn-6215
    -- Channel 'IAX2/1302-9816' unable to transfer
    -- Hungup 'IAX2/1302-9816'
  == Spawn extension (group1, 1302, 1) exited non-zero on 'IAX2/vn-6215'
    -- Hungup 'IAX2/vn-6215'
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
15:37:22
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 13241)
Verbosity was 0 and is now 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/2
15:37:22
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux3 (pid = 13241)
Verbosity was 0 and is now 3
linux3*CLI> restart now
linux3*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
прошло 23 минуты
/dev/pts/1
16:01:07
#cat /var/spool/
asterisk/      cron/          cups/          exim4/         mail/          mqueue/        mqueue-client/ pop/           popbull/       samba/
/dev/pts/8
16:01:07
#cat /var/spool/
asterisk/      cron/          cups/          exim4/         mail/          mqueue/        mqueue-client/ pop/           popbull/       samba/
/dev/pts/1
16:01:07
#ls /root/
Desktop  install  message-1.gsm  message-2.gsm  message-3.gsm  message-4.gsm  message-5.gsm  message-6.gsm  message-7.gsm
/dev/pts/8
16:01:07
#ls /root/
Desktop  install  message-1.gsm  message-2.gsm  message-3.gsm  message-4.gsm  message-5.gsm  message-6.gsm  message-7.gsm
/dev/pts/10
16:05:15
#cat /tmp/call
Channel:SIP/1301
Extension:1303
Context:service
16:05:19
#man cp
16:05:28
#LANG=C man cp
CP(1)                        User Commands                        CP(1)
NAME
       cp - copy files and directories
SYNOPSIS
       cp [OPTION]... [-T] SOURCE DEST
       cp [OPTION]... SOURCE... DIRECTORY
       cp [OPTION]... -t DIRECTORY SOURCE...
DESCRIPTION
       Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
       Mandatory  arguments  to  long  options  are mandatory for short
...
       -T, --no-target-directory
              treat DEST as a normal file
       -u, --update
              copy only when the SOURCE file is newer than the destina-
              tion file or when the destination file is missing
       -v, --verbose
              explain what is being done
       -x, --one-file-system
              stay on this file system
       --help display this help and exit
16:05:42
#chown asterisk:asterisk /tmp/call

16:05:52
#cp -p /tmp/call /var/spool/asterisk/outgoing/

16:06:00
#cat /tmp/call
Channel:SIP/1301
Extension:1303
Context:service

Файлы

  • /proc/cpuinfo
  • /tmp/call
  • /var/
  • /var/run/
  • /var/run/dhc
  • /var/spool/
  • /proc/cpuinfo
    >
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 15
    model name      : Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz
    stepping        : 11
    cpu MHz         : 2327.637
    cache size      : 4096 KB
    physical id     : 0
    siblings        : 2
    core id         : 0
    cpu cores       : 2
    apicid          : 0
    initial apicid  : 0
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 10
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm
    bogomips        : 4658.66
    clflush size    : 64
    power management:
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 15
    model name      : Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz
    stepping        : 11
    cpu MHz         : 2327.637
    cache size      : 4096 KB
    physical id     : 0
    siblings        : 2
    core id         : 1
    cpu cores       : 2
    apicid          : 1
    initial apicid  : 1
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 10
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr lahf_lm
    bogomips        : 4654.94
    clflush size    : 64
    power management:
    
    /tmp/call
    >
    Channel:SIP/1301
    Extension:1303
    Context:service
    
    /var/
    >
    backups/ cache/   crash/   games/   lib/     local/   lock/    log/     mail/    opt/     run/     spool/   tmp/
    
    /var/run/
    >
    acpid.pid                  bind/                      dhcdbd.pid                 hal/                       portmap_mapping            sdp                        system-tools-backends.pid
    acpid.socket               crond.pid                  dhcpd.pid                  inetd.pid                  portmap.pid                sendmail/                  utmp
    asterisk/                  crond.reboot               exim4/                     motd                       rpc.statd.pid              sm-notify.pid              vpnc/
    atd.pid                    cups/                      gdm.pid                    network/                   rsyslogd.pid               sshd/
    avahi-daemon/              dbus/                      gdm_socket                 NetworkManager/            samba/                     sshd.pid
    
    /var/run/dhc
    >
    dhcdbd.pid  dhcpd.pid
    
    /var/spool/
    >
    asterisk/      cron/          cups/          exim4/         mail/          mqueue/        mqueue-client/ pop/           popbull/       samba/
    

    Статистика

    Время первой команды журнала13:15:51 2010-10-28
    Время последней команды журнала16:06:00 2010-10-28
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, % 0.00
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 2.25
    Количество командных строк в единицу времени, команда/мин 0.75
    Частота использования команд
    asterisk38|===================================| 35.85%
    cat16|===============| 15.09%
    zaptel_hardware8|=======| 7.55%
    cp7|======| 6.60%
    less7|======| 6.60%
    grep6|=====| 5.66%
    modprobe4|===| 3.77%
    lsmod4|===| 3.77%
    ping2|=| 1.89%
    id2|=| 1.89%
    ~2|=| 1.89%
    ast2|=| 1.89%
    ls2|=| 1.89%
    \2|=| 1.89%
    man1|| 0.94%
    chown1|| 0.94%
    history1|| 0.94%
    LANG=C1|| 0.94%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ find / -name abc
      find: /home/devi-orig/.gnome2: Keine Berechtigung
      find: /home/devi-orig/.gnome2_private: Keine Berechtigung
      find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
      find: /home/devi-orig/.metacity: Keine Berechtigung
      find: /home/devi-orig/.inkscape: Keine Berechtigung
      ^C
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$