/l3/users/roma/nt-voip/linux3.unix.nt.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 |
|
#zaptel_hardware
|
#zaptel_hardware
|
#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/ |
#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/ |
#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/ |
#\
> |
#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/ |
#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/ |
#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/ |
#\
> |
#modprobe zaptel
|
#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: |
#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: |
#id asterisk
uid=110(asterisk) gid=117(asterisk) группы=117(asterisk),20(dialout),29(audio) |
#id asterisk
uid=110(asterisk) gid=117(asterisk) группы=117(asterisk),20(dialout),29(audio) |
#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 |
#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 |
#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 |
#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 |
#less /etc/asterisk/extensions.conf
|
#less /etc/asterisk/extensions.conf
|
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#history | less
|
#less /etc/asterisk/extensions.conf
|
#less /etc/asterisk/queues.conf
|
#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" |
#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" |
#cp /etc/asterisk/sip.conf /etc/asterisk/iax.conf
|
#cp /etc/asterisk/sip.conf /etc/asterisk/iax.conf
|
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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> |
#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> |
#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 |
#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 |
#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 |
#cat /var/run/dhc
dhcdbd.pid dhcpd.pid |
#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 |
#cat /var/run/dhc
dhcdbd.pid dhcpd.pid |
#cat /var/
backups/ cache/ crash/ games/ lib/ local/ lock/ log/ mail/ opt/ run/ spool/ tmp/ |
#cat /var/
backups/ cache/ crash/ games/ lib/ local/ lock/ log/ mail/ opt/ run/ spool/ tmp/ |
#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 |
#cat /var/run/dhc
dhcdbd.pid dhcpd.pid |
#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 |
#cat /var/run/dhc
dhcdbd.pid dhcpd.pid |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#cat /var/spool/
asterisk/ cron/ cups/ exim4/ mail/ mqueue/ mqueue-client/ pop/ popbull/ samba/ |
#cat /var/spool/
asterisk/ cron/ cups/ exim4/ mail/ mqueue/ mqueue-client/ pop/ popbull/ samba/ |
#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 |
#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 |
#man cp
|
#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 |
#chown asterisk:asterisk /tmp/call
|
#cp -p /tmp/call /var/spool/asterisk/outgoing/
|
#cat /tmp/call
Channel:SIP/1301 Extension:1303 Context:service |
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:
Channel:SIP/1301 Extension:1303 Context:service
backups/ cache/ crash/ games/ lib/ local/ lock/ log/ mail/ opt/ run/ spool/ tmp/
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
dhcdbd.pid dhcpd.pid
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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