/l3/users/sbond/nt-voip-2011-06/linux8.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 |
|
#tail /var/log/messages
Jun 24 14:11:53 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:11:55 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:11:56 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:11:59 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:00 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:02 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:04 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:06 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:06 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:08 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). |
#tail /var/log/messages
Jun 24 14:11:53 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:11:55 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:11:56 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:11:59 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:00 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:02 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:04 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:06 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:06 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:08 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). |
#tail /var/log/messages
Jun 24 14:11:53 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:11:55 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:11:56 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:11:59 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:00 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:02 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:04 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:06 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:06 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:08 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). |
#tail /var/log/messages
Jun 24 14:12:11 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:12 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:13 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:16 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:13:12 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:13:14 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:13:18 linux8 dhcpd: DHCPDISCOVER from d8:a2:5e:90:1f:48 via eth0 Jun 24 14:13:19 linux8 dhcpd: DHCPOFFER on 192.168.108.201 to d8:a2:5e:90:1f:48 (serge.bondarenko) via eth0 Jun 24 14:13:20 linux8 dhcpd: DHCPREQUEST for 192.168.108.201 (192.168.108.1) from d8:a2:5e:90:1f:48 (serge.bondarenko) via eth0 Jun 24 14:13:20 linux8 dhcpd: DHCPACK on 192.168.108.201 to d8:a2:5e:90:1f:48 (serge.bondarenko) via eth0 |
#tail /var/log/messages
Jun 24 14:12:11 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:12 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:13 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:12:16 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:13:12 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:13:14 linux8 dhcpd: DHCPREQUEST for 10.0.100.12 from d8:a2:5e:90:1f:48 via eth0: ignored (not authoritative). Jun 24 14:13:18 linux8 dhcpd: DHCPDISCOVER from d8:a2:5e:90:1f:48 via eth0 Jun 24 14:13:19 linux8 dhcpd: DHCPOFFER on 192.168.108.201 to d8:a2:5e:90:1f:48 (serge.bondarenko) via eth0 Jun 24 14:13:20 linux8 dhcpd: DHCPREQUEST for 192.168.108.201 (192.168.108.1) from d8:a2:5e:90:1f:48 (serge.bondarenko) via eth0 Jun 24 14:13:20 linux8 dhcpd: DHCPACK on 192.168.108.201 to d8:a2:5e:90:1f:48 (serge.bondarenko) via eth0 |
#tail /var/log/messages
Jun 24 14:17:23 linux8 dhcpd: DHCPDISCOVER from 00:15:af:a0:78:0f via eth0 Jun 24 14:17:24 linux8 dhcpd: DHCPOFFER on 192.168.108.204 to 00:15:af:a0:78:0f (home-114f945c8a) via eth0 Jun 24 14:17:24 linux8 dhcpd: DHCPREQUEST for 192.168.108.204 (192.168.108.1) from 00:15:af:a0:78:0f (home-114f945c8a) via eth0 Jun 24 14:17:24 linux8 dhcpd: DHCPACK on 192.168.108.204 to 00:15:af:a0:78:0f (home-114f945c8a) via eth0 Jun 24 14:18:19 linux8 dhcpd: DHCPREQUEST for 192.168.108.201 from d8:a2:5e:90:1f:48 (serge.bondarenko) via eth0 Jun 24 14:18:19 linux8 dhcpd: DHCPACK on 192.168.108.201 to d8:a2:5e:90:1f:48 (serge.bondarenko) via eth0 Jun 24 14:18:44 linux8 dhcpd: DHCPDISCOVER from e0:a6:70:4e:f0:0f via eth0 Jun 24 14:18:45 linux8 dhcpd: DHCPOFFER on 192.168.108.205 to e0:a6:70:4e:f0:0f (Nokia-N900) via eth0 Jun 24 14:18:45 linux8 dhcpd: DHCPREQUEST for 192.168.108.205 (192.168.108.1) from e0:a6:70:4e:f0:0f (Nokia-N900) via eth0 Jun 24 14:18:45 linux8 dhcpd: DHCPACK on 192.168.108.205 to e0:a6:70:4e:f0:0f (Nokia-N900) via eth0 |
#tail /var/log/messages
Jun 24 14:17:23 linux8 dhcpd: DHCPDISCOVER from 00:15:af:a0:78:0f via eth0 Jun 24 14:17:24 linux8 dhcpd: DHCPOFFER on 192.168.108.204 to 00:15:af:a0:78:0f (home-114f945c8a) via eth0 Jun 24 14:17:24 linux8 dhcpd: DHCPREQUEST for 192.168.108.204 (192.168.108.1) from 00:15:af:a0:78:0f (home-114f945c8a) via eth0 Jun 24 14:17:24 linux8 dhcpd: DHCPACK on 192.168.108.204 to 00:15:af:a0:78:0f (home-114f945c8a) via eth0 Jun 24 14:18:19 linux8 dhcpd: DHCPREQUEST for 192.168.108.201 from d8:a2:5e:90:1f:48 (serge.bondarenko) via eth0 Jun 24 14:18:19 linux8 dhcpd: DHCPACK on 192.168.108.201 to d8:a2:5e:90:1f:48 (serge.bondarenko) via eth0 Jun 24 14:18:44 linux8 dhcpd: DHCPDISCOVER from e0:a6:70:4e:f0:0f via eth0 Jun 24 14:18:45 linux8 dhcpd: DHCPOFFER on 192.168.108.205 to e0:a6:70:4e:f0:0f (Nokia-N900) via eth0 Jun 24 14:18:45 linux8 dhcpd: DHCPREQUEST for 192.168.108.205 (192.168.108.1) from e0:a6:70:4e:f0:0f (Nokia-N900) via eth0 Jun 24 14:18:45 linux8 dhcpd: DHCPACK on 192.168.108.205 to e0:a6:70:4e:f0:0f (Nokia-N900) via eth0 |
#history
46 chown asterisk:asterisk uk 47 ls -lh 48 mv record01.gsm ru/ 49 ls -lh /root/ 50 ls -lh ru/ 51 ls 52 vim /etc/asterisk/extensions.conf 53 ls 54 rm -rf record01.gsm 55 vim /etc/asterisk/extensions.conf ... 536 tail /var/log/messages 537 tail /var/log/messages 538 tail /var/log/messages 539 tail /var/log/messages 540 tail /var/log/messages 541 tail /var/log/messages 542 tail /var/log/messages 543 tail /var/log/messages 544 tail /var/log/messages 545 history |
#history
46 chown asterisk:asterisk uk 47 ls -lh 48 mv record01.gsm ru/ 49 ls -lh /root/ 50 ls -lh ru/ 51 ls 52 vim /etc/asterisk/extensions.conf 53 ls 54 rm -rf record01.gsm 55 vim /etc/asterisk/extensions.conf ... 536 tail /var/log/messages 537 tail /var/log/messages 538 tail /var/log/messages 539 tail /var/log/messages 540 tail /var/log/messages 541 tail /var/log/messages 542 tail /var/log/messages 543 tail /var/log/messages 544 tail /var/log/messages 545 history |
#vim /etc/dhcp/dhcpd.conf
--- /tmp/l3-saved-2372.16076.20731 2011-06-24 14:27:51.000000000 +0300 +++ /etc/dhcp/dhcpd.conf 2011-06-24 14:28:10.000000000 +0300 @@ -34,7 +34,7 @@ subnet 192.168.108.0 netmask 255.255.255.0 { range 192.168.108.200 192.168.108.250; - # option routers 192.168.108.253; + option routers 192.168.108.253; } # This declaration allows BOOTP clients to get dynamic addresses, |
#/etc/init.d/isc-dhcp-server restart
Stopping ISC DHCP server: dhcpd. Starting ISC DHCP server: dhcpd. |
#/etc/init.d/isc-dhcp-server restart
Stopping ISC DHCP server: dhcpd. Starting ISC DHCP server: dhcpd. |
#!ps
ps aux | grep dhcp root 3068 0.0 0.0 9700 3752 ? Ss 14:28 0:00 /usr/sbin/dhcpd -q eth0 root 3084 0.0 0.0 10056 852 pts/2 S+ 14:28 0:00 grep dhcp |
#!ps
ps aux | grep dhcp root 3068 0.0 0.0 9700 3752 ? Ss 14:28 0:00 /usr/sbin/dhcpd -q eth0 root 3084 0.0 0.0 10056 852 pts/2 S+ 14:28 0:00 grep dhcp |
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-2372.7149.8083 2011-06-24 14:30:06.000000000 +0300 +++ /etc/asterisk/sip.conf 2011-06-24 14:30:49.000000000 +0300 @@ -22,6 +22,18 @@ pickupgroup=20 ;perehvat +[2403] +type=friend +secret=password +host=dynamic +user=2403 +callerid="VoIP Phone <2403>" +context=gr3 +mailbox=2403@default +language=en +callgroup=20 ;perehvat +pickupgroup=20 ;perehvat + [2402] type=friend secret=password |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2372.3334.14399 2011-06-24 14:31:56.000000000 +0300 +++ /etc/asterisk/extensions.conf 2011-06-24 14:32:06.000000000 +0300 @@ -179,7 +179,7 @@ -exten => 2403,1,Dial(SIP/2401&SIP/2402,10) +;exten => 2403,1,Dial(SIP/2401&SIP/2402,10) ;exten => _24XX,n,Playback(demo-congrats) [national] |
#!v
exten => 2405,n,Queue(queue1) exten => 2406,1,AgentLogin(1001) ;agenti dlya ocheredei exten => 2406,1,AgentLogin(1002) exten => 2444,1,MeetMe(1234,c) ;conference room exten => 2445,1,MeetMe(1234,m) ;tolko slishat exten => 2446,1,MeetMe(1234,t) ;slishat i govorit ;-----------------------------------LOCAL DIALPLAN exten => _24XX,1,Answer ;exten => _24XX,n,Set(MON_FILENAME=record-${STRFTIME(${EPOCH},,%Y-%m-%d-%H-%M-%S)}-${EXTEN}-${CALLER ID(num)}) exten => _24XX,n,Set(MON_FILENAME=record-${EXTEN}-${CALLERID(num)}-${STRFTIME(${EPOCH},,%Y-%m-%d-%H-%M-%S)}) ... exten => _24XX,n,Wait(1(_cal{),System(/}sr/local/bin/asterisk-jabbe)-logger Propuschennyi vyzov s ${CAL () exten => _24XX,n,Dial(SIP/kiev/${DB(m(bile/${EXTEN})},10,m) ) exten => _24XX,n(voicemail),Voicemail(${EXTEN}@default)erisk-jabber-logger ${DB(jid/${EXTEN})} Propuschennij zvonok s ${CALLERII ;exten => 2403,1,Dial(1)P/2401&SIP/2402,10) ;exten => _24XX,n,Playback(demo-congrats) () [national] "/etc/asterisk/extensions.conf" 224L, 7415C written |
#!v
[internal] ;-----------Test Asterisk exten => 8000,1,Wait(1) exten => 8000,n,Playback(demo-congrats) exten => _81.,1,Wait(1) exten => _81.,n,Say(${EXTEN}) ;-----------VOICEMAIL ;-----------general Voicemail exten => 8100,1,VoicemailMain() ;-----------personal Voicemail ... exten => _24)X,n,GotoIf($["${DIALSTATUS}" = "NOANSWER"]?missed_call) D(num)}) _24XX,n,Hangup() (1) exten => _24XX,n,Wait(1)_call),System(/usr/local/bin/asterisk-jabber-logger Propuschennyi vyzov s ${CAL exten => _24XX,n,Dial(S()/kiev/${DB(mobile/${EXTEN})},10,m) exten => _24XX,n(voicemail),Voicemail(${EXTEN}@default)erisk-jabber-logger ${DB(jid/${EXTEN})} Propuschennij zvonok s ${CALLERII "/etc/asterisk/extensions.conf" 224L, 7415C written exten => _2[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------FRANCE ;exten => _[13][31]XX,1,Dial(SIP/kiev/${EXTEN},10) |
#asterisk -rvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux8 (pid = 1441) ... -- Executing [2403@gr3:5] GotoIf("SIP/2404-00000014", "0?missed_call") in new stack -- Executing [2403@gr3:6] GotoIf("SIP/2404-00000014", "0?missed_call") in new stack -- Executing [2403@gr3:7] Hangup("SIP/2404-00000014", "") in new stack == Spawn extension (gr3, 2403, 7) exited non-zero on 'SIP/2404-00000014' -- Remote UNIX connection Executing last minute cleanups == Destroying musiconhold processes linux8*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux8 (pid = 1441) ... -- Executing [2403@gr3:5] GotoIf("SIP/2404-00000014", "0?missed_call") in new stack -- Executing [2403@gr3:6] GotoIf("SIP/2404-00000014", "0?missed_call") in new stack -- Executing [2403@gr3:7] Hangup("SIP/2404-00000014", "") in new stack == Spawn extension (gr3, 2403, 7) exited non-zero on 'SIP/2404-00000014' -- Remote UNIX connection Executing last minute cleanups == Destroying musiconhold processes linux8*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#ssh root@la.unix.nt
The authenticity of host 'la.unix.nt (192.168.106.1)' can't be established. RSA key fingerprint is 68:fb:de:18:d2:28:1a:f3:2f:e7:cf:df:d7:81:57:a2. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'la.unix.nt,192.168.106.1' (RSA) to the list of known hosts. root@la.unix.nt's password: Linux linux6 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Jun 24 13:45:35 2011 l3-agent is already running: pid=2025; pidfile=/root/.lilalo/l3-agent.pid |
#ssh root@la.unix.nt
The authenticity of host 'la.unix.nt (192.168.106.1)' can't be established. RSA key fingerprint is 68:fb:de:18:d2:28:1a:f3:2f:e7:cf:df:d7:81:57:a2. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'la.unix.nt,192.168.106.1' (RSA) to the list of known hosts. root@la.unix.nt's password: Linux linux6 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Jun 24 13:45:35 2011 l3-agent is already running: pid=2025; pidfile=/root/.lilalo/l3-agent.pid |
#ssh user@msk.unix.nt
;exten =>1,1,1,Saykievmenu,s,1)N})nter-your&vm-message) ;exten => 8000,n,Playback(demo-congrats) exten => 2,1,Goto(submenu,s,1)o-congrats) ;exten =>3,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-asterisk.txt) ;exten =>4,1,Playback(/var/tmp/asterisk/zoo) exten => 4,n,Dial(SIP/1101)101&SIP/1102,5) ;........5,1,Goto(system-menu,s,1) ;exten =>9,1,Goto(menu,s,start-menu)N},5)al-script.pl,/tmp/ru-burunduk.txt) exten => 0,1,Playback(/var/tmp/asterisk/record04) [kievmenu] ... exten =? _11XX,n,Hangup()----------------------------var/tmp/ru-burunduk.txt)e ;exten => _8XXX,1,Playback(demo-congrats) Broadcast message from root@linux1 (pts/2) (Fri Jun 24 14:54:38 2011):) exten => _12XX,1,Dial(SIP/spb/${EXTEN},5)${STRFTIME(${EPOCH},,%Y-%m-%d-%H-%M-%S)}-${EXTEN}-${CALLERID(num)}) exten => _11XX,n,Monitor(wav,${MON_FILENAME},m) [international],n,System(/usr/local/bin/asterisk-jabber-logger Vam zvonyat s ${CALLERID(num)}) The system is going down for reboot NOW!,5}olgo) ; vy slihkom dolgo zhdet Connection to msk.unix.nt closed by remote host.¸ÑФайл ^Y ÐÑедCÑÑ ^K ÐÑÑезаÑÑ ^C ТекÐÐ¾Ð·Ð¸Ñ ^X ÐÑÑ Ð¾Ð´ ^J ÐÑÑовнÑÑÑ^W ÐоиÑк ^V СледCÑÑ ^U ÐÑмÐÑÑезк^T СловаÑÑ Connection to msk.unix.nt closed. |
#ssh user@msk.unix.nt
;exten =>1,1,1,Saykievmenu,s,1)N})nter-your&vm-message) ;exten => 8000,n,Playback(demo-congrats) exten => 2,1,Goto(submenu,s,1)o-congrats) ;exten =>3,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-asterisk.txt) ;exten =>4,1,Playback(/var/tmp/asterisk/zoo) exten => 4,n,Dial(SIP/1101)101&SIP/1102,5) ;........5,1,Goto(system-menu,s,1) ;exten =>9,1,Goto(menu,s,start-menu)N},5)al-script.pl,/tmp/ru-burunduk.txt) exten => 0,1,Playback(/var/tmp/asterisk/record04) [kievmenu] ... exten =? _11XX,n,Hangup()----------------------------var/tmp/ru-burunduk.txt)e ;exten => _8XXX,1,Playback(demo-congrats) Broadcast message from root@linux1 (pts/2) (Fri Jun 24 14:54:38 2011):) exten => _12XX,1,Dial(SIP/spb/${EXTEN},5)${STRFTIME(${EPOCH},,%Y-%m-%d-%H-%M-%S)}-${EXTEN}-${CALLERID(num)}) exten => _11XX,n,Monitor(wav,${MON_FILENAME},m) [international],n,System(/usr/local/bin/asterisk-jabber-logger Vam zvonyat s ${CALLERID(num)}) The system is going down for reboot NOW!,5}olgo) ; vy slihkom dolgo zhdet Connection to msk.unix.nt closed by remote host.¸ÑФайл ^Y ÐÑедCÑÑ ^K ÐÑÑезаÑÑ ^C ТекÐÐ¾Ð·Ð¸Ñ ^X ÐÑÑ Ð¾Ð´ ^J ÐÑÑовнÑÑÑ^W ÐоиÑк ^V СледCÑÑ ^U ÐÑмÐÑÑезк^T СловаÑÑ Connection to msk.unix.nt closed. |
#{EXTEN:2})LANG}/record02) ; glavnoe menu
bash: logout: оболочка не является запущенной после входа в систему: используйте `exit' |
#{EXTEN:2})LANG}/record02) ; glavnoe menu
bash: logout: оболочка не является запущенной после входа в систему: используйте `exit' |
#exten => _24XX,n,Hangup()
[2403] host=dynamic user=2402 03 callerid="VoIP Phone <2403>" context=gr3 mailbox=2403@default language=en [2404] pickupgroup=20 ;perehvat [2402] 04 [2402] 04>" 04@default secret=password host=dynamic 0 ;perehvat [2402] user=2402 callerid="Softphone <2402>" context=gr3 "/etc/asterisk/sip.conf" 78L, 1248C written |
#exten => _24XX,n,Hangup()
[general] context=default allowoverlap=no udpbindaddr=0.0.0.0 tcpenable=no tcpbindaddr=0.0.0.0 srvlookup=yes "/etc/asterisk/sip.conf" 66L, 1047C [2403] host=dynamic ... "/etc/asterisk/sip.conf" 78L, 1248C written type=friend secret=password host=dynamic user=2403 callerid="VoIP Phone <2403>" context=gr3 mailbox=2403@default language=en callgroup=20 ;perehvat |
#exten => 8559,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-kiev.txt)
asterisk -rx 'dialplan reload' Dialplan reloaded. |
#exten => 8559,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-kiev.txt)
asterisk -rx 'dialplan reload' Dialplan reloaded. |
#!v
[xten =>]_81XX,n,VoicemailMain(24${EXTEN:2}@default) ;-----------IVR RECORD exten => _82XX,1,Wait(1)s.conf" 224L, 7415C exten => _82XX,n,Playback(please-enter-you&vm-message) exten => _82XX,n,Record(/var/tmp/asterisk/record${EXTEN:2}:gsm,2) exten => _82XX,n,Wait(1) exten => _82XX,n,Playback(/var/tmp/asterisk/record${EXTEN:2}) exten => _83XX,1,Playback(/var/tmp/asterisk/record${EXTEN:2}) exten => 8555,1,Playback(/home/user/Music/bg_melody) ;exten => 8556,1,Festival('Hello from Sergio') exten => 8556,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-burunduk.txt) ;exten => 8556,1,AGI(/usr/local/bin/check-stream.pl,Hello from Sergio) exten => 8557,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-belka.txt) exten => 8558,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-asterisk.txt) exten => 8559,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-kiev.txt) 4,0-1 Top |
#!v
exten => _81XX,n,VoicemailMain(24${EXTEN:2}@default) ;-----------IVR RECORD exten => _82XX,1,Wait(1)s.conf" 224L, 7415C exten => _82XX,n,Playback(please-enter-you&vm-message) exten => _82XX,n,Record(/var/tmp/asterisk/record${EXTEN:2}:gsm,2) exten => _82XX,n,Wait(1) exten => _82XX,n,Playback(/var/tmp/asterisk/record${EXTEN:2}) exten => _83XX,1,Playback(/var/tmp/asterisk/record${EXTEN:2}) exten => 8555,1,Playback(/home/user/Music/bg_melody) ;exten => 8556,1,Festival('Hello from Sergio') exten => 8556,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-burunduk.txt) ;exten => 8556,1,AGI(/usr/local/bin/check-stream.pl,Hello from Sergio) exten => 8557,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-belka.txt) exten => 8558,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-asterisk.txt) [xten =>]8559,1,AGI(/usr/local/bin/festival-script.pl, /var/tmp/ru-kiev.txt) 4,0-1 Top |
#ssh root@odess.unix.nt
ssh: Could not resolve hostname odess.unix.nt: Name or service not known |
#ssh root@odess.unix.nt
ssh: Could not resolve hostname odess.unix.nt: Name or service not known |
#asterisk -rvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux8 (pid = 3962) ... [Jun 24 15:14:59] WARNING[4036]: app_dial.c:1747 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [2403@gr3:5] GotoIf("SIP/2404-00000002", "0?missed_call") in new stack -- Executing [2403@gr3:6] GotoIf("SIP/2404-00000002", "0?missed_call") in new stack -- Executing [2403@gr3:7] Hangup("SIP/2404-00000002", "") in new stack == Spawn extension (gr3, 2403, 7) exited non-zero on 'SIP/2404-00000002' -- Unregistered SIP '2404' -- Unregistered SIP '2404' linux8*CLI> exit Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux8 (pid = 3962) ... [Jun 24 15:14:59] WARNING[4036]: app_dial.c:1747 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [2403@gr3:5] GotoIf("SIP/2404-00000002", "0?missed_call") in new stack -- Executing [2403@gr3:6] GotoIf("SIP/2404-00000002", "0?missed_call") in new stack -- Executing [2403@gr3:7] Hangup("SIP/2404-00000002", "") in new stack == Spawn extension (gr3, 2403, 7) exited non-zero on 'SIP/2404-00000002' -- Unregistered SIP '2404' -- Unregistered SIP '2404' linux8*CLI> exit Executing last minute cleanups |
#ssh root@odessa.unix.nt
The authenticity of host 'odessa.unix.nt (192.168.15.252)' can't be established. RSA key fingerprint is cc:2f:5b:65:50:fc:1d:d9:04:f7:56:70:0e:99:01:f3. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'odessa.unix.nt' (RSA) to the list of known hosts. root@odessa.unix.nt's password: Linux linux0 2.6.38-bpo.2-amd64 #1 SMP Mon Jun 6 15:24:02 UTC 2011 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Jun 24 14:28:32 2011 from linux253.unix.nt l3-agent is already running: pid=8029; pidfile=/root/.lilalo/l3-agent.pid root@linux0:~# screen -x -bash: screen: command not found root@linux0:~# screen -bash: screen: command not found root@linux0:~# logout Connection to odessa.unix.nt closed. |
#ssh root@odessa.unix.nt
The authenticity of host 'odessa.unix.nt (192.168.15.252)' can't be established. RSA key fingerprint is cc:2f:5b:65:50:fc:1d:d9:04:f7:56:70:0e:99:01:f3. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'odessa.unix.nt' (RSA) to the list of known hosts. root@odessa.unix.nt's password: Linux linux0 2.6.38-bpo.2-amd64 #1 SMP Mon Jun 6 15:24:02 UTC 2011 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Jun 24 14:28:32 2011 from linux253.unix.nt l3-agent is already running: pid=8029; pidfile=/root/.lilalo/l3-agent.pid root@linux0:~# screen -x -bash: screen: command not found root@linux0:~# screen -bash: screen: command not found root@linux0:~# logout Connection to odessa.unix.nt closed. |
#ssh root@192.168.108.253
The authenticity of host '192.168.108.253 (192.168.108.253)' can't be established. RSA key fingerprint is 23:4b:a2:99:88:79:fc:35:b7:62:e8:6b:0d:d0:e1:4b. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.108.253' (RSA) to the list of known hosts. root@192.168.108.253's password: Permission denied, please try again. root@192.168.108.253's password: |
#ssh root@192.168.108.253
The authenticity of host '192.168.108.253 (192.168.108.253)' can't be established. RSA key fingerprint is 23:4b:a2:99:88:79:fc:35:b7:62:e8:6b:0d:d0:e1:4b. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.108.253' (RSA) to the list of known hosts. root@192.168.108.253's password: Permission denied, please try again. root@192.168.108.253's password: |
#ssh user@192.168.108.253
[Jun 24 15:02:28] WARNING[1578]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri -- Remote UNIX connection disconnected mary channel 16 as D-channel anyway! [Jun 24 15:02:44] WARNING[1578]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri [Jun 24 15:02:28] WARNING[1579]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 16 as D-channel anyway! mary channel 47 as D-channel anyway! [Jun 24 15:02:44] WARNING[1579]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri [Jun 24 15:02:32] WARNING[1578]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 47 as D-channel anyway! ... [Jun 24 15:16:10] WARNING[1579]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 47 as D-channel anyway! [Jun 24 15:16:10] WARNING[1578]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 16 as D-channel anyway! [Jun 24 15:16:14] WARNING[1579]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 47 as D-channel anyway! [Jun 24 15:16:14] WARNING[1578]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 16 as D-channel anyway! linux1*CLI> quit Executing last minute cleanups |
#ssh user@192.168.108.253
[Jun 24 15:02:24] WARNING[1578]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 16 as D-channel anyway! [Jun 24 15:02:24] WARNING[1579]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 47 as D-channel anyway! [Jun 24 15:02:28] WARNING[1578]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 16 as D-channel anyway! [Jun 24 15:02:28] WARNING[1579]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 47 as D-channel anyway! [Jun 24 15:02:32] WARNING[1578]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 16 as D-channel anyway! ... [Jun 24 15:16:10] WARNING[1579]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 47 as D-channel anyway! [Jun 24 15:16:10] WARNING[1578]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 16 as D-channel anyway! [Jun 24 15:16:14] WARNING[1579]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 47 as D-channel anyway! [Jun 24 15:16:14] WARNING[1578]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available! Using Pri mary channel 16 as D-channel anyway! linux1*CLI> quit Executing last minute cleanups |
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) 00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02) 00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02) 00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) 07:04.0 Ethernet controller: Digium, Inc. Wildcard TDM410 4-port analog card (rev 11) |
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) 00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02) 00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02) 00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) 07:04.0 Ethernet controller: Digium, Inc. Wildcard TDM410 4-port analog card (rev 11) |
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) 00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02) 00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02) 00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) 07:04.0 Ethernet controller: Digium, Inc. Wildcard TDM410 4-port analog card (rev 11) |
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) 00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02) 00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02) 00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) 07:04.0 Ethernet controller: Digium, Inc. Wildcard TDM410 4-port analog card (rev 11) |
#apt-cache search dahdi
dahdi-linux - DAHDI telephony interface - Linux userspace parts dahdi-source - DAHDI telephony interface - source code for kernel driver dahdi - utilities for using the DAHDI kernel modules libopenr2-3 - MFC/R2 (telephony) call setup library libopenr2-bin - MFC/R2 (telephony) call setup library - test programs libopenr2-dev - MFC/R2 (telephony) call setup library - development headers yate-dahdi - Dahdi support for YATE dahdi-modules-2.6.32-5-amd64 - DAHDI modules for Linux (kernel 2.6.32-5-amd64) |
#apt-cache search dahdi
dahdi-linux - DAHDI telephony interface - Linux userspace parts dahdi-source - DAHDI telephony interface - source code for kernel driver dahdi - utilities for using the DAHDI kernel modules libopenr2-3 - MFC/R2 (telephony) call setup library libopenr2-bin - MFC/R2 (telephony) call setup library - test programs libopenr2-dev - MFC/R2 (telephony) call setup library - development headers yate-dahdi - Dahdi support for YATE dahdi-modules-2.6.32-5-amd64 - DAHDI modules for Linux (kernel 2.6.32-5-amd64) |
#apt-get install dahdi dahdi-linux dahdi-source
Reading package lists... Done Building dependency tree Reading state information... Done dahdi-linux is already the newest version. dahdi-linux set to manually installed. dahdi-source is already the newest version. dahdi is already the newest version. dahdi set to manually installed. The following packages were automatically installed and are no longer required: libmysqlclient16 mysql-common Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. |
#apt-get install dahdi dahdi-linux dahdi-source
Reading package lists... Done Building dependency tree Reading state information... Done dahdi-linux is already the newest version. dahdi-linux set to manually installed. dahdi-source is already the newest version. dahdi is already the newest version. dahdi set to manually installed. The following packages were automatically installed and are no longer required: libmysqlclient16 mysql-common Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. |
#m-a a-i dahdi
Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. The following packages were automatically installed and are no longer required: libmysqlclient16 mysql-common Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. Done! unpack Extracting the package tarball, /usr/src/dahdi.tar.bz2, please wait... Target package file /usr/src/dahdi-modules-2.6.32-5-amd64_2.3.0.1+dfsg-2+2.6.32-34squeeze1_amd64.deb already exists, not rebuilding! (however, you could use the -f switch to ignore it) dpkg -Ei /usr/src/dahdi-modules-2.6.32-5-amd64_2.3.0.1+dfsg-2+2.6.32-34squeeze1_amd64.deb Version 1:2.3.0.1+dfsg-2+2.6.32-34squeeze1 of dahdi-modules-2.6.32-5-amd64 already installed, skipping. |
#m-a a-i dahdi
┌────────────────────┤ Updating cached package data ├─────────────────────┐ │ Reading apt-cache output... │ │ │ │ │ │ 100% │ │ │ └─────────────────────────────────────────────────────────────────────────┘ Updated infos about 1 packages Getting source for kernel version: 2.6.32-5-amd64 Kernel headers available in /lib/modules/2.6.32-5-amd64/build ... Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. Done! unpack Extracting the package tarball, /usr/src/dahdi.tar.bz2, please wait... Target package file /usr/src/dahdi-modules-2.6.32-5-amd64_2.3.0.1+dfsg-2+2.6.32-34squeeze1_amd64.deb already exists, not rebuilding! (however, you could use the -f switch to ignore it) dpkg -Ei /usr/src/dahdi-modules-2.6.32-5-amd64_2.3.0.1+dfsg-2+2.6.32-34squeeze1_amd64.deb Version 1:2.3.0.1+dfsg-2+2.6.32-34squeeze1 of dahdi-modules-2.6.32-5-amd64 already installed, skipping. |
#~
; ; You need to restart Asterisk to re-configure the DAHDI channel ; CLI> module reload chan_dahdi.so ; will reload the configuration file, but not all configuration options ; are re-configured during a reload (signalling, as well as PRI and ; SS7-related settings cannot be changed on a reload). ; ; This file documents many configuration variables. Normally unless you know ; what a variable means or that it should be changed, there's no reason to ; un-comment those lines. ... ; f - F.69 (Telex) ; n - National ; p - Private ; r - Reserved (should probably never be used but is included for completeness) ; ; You may also set the prilocaldialplan in the same way, but by prefixing the ; Caller*ID Number, rather than the dialled number. Please note that telcos ; which require this kind of additional manipulation of the TON/NPI are *rare*. ; Most telco PRIs will work fine simply by setting pridialplan to unknown or ; dynamic. |
#~
; international: International ISDN ; dynamic: Dynamically selects the appropriate dialplan ; redundant: Same as dynamic, except that the underlying number is not ; changed (not common) ; ;pridialplan=unknown ;prilocaldialplan=national ; use configuration templates to easily keep the common part in one ; place and override where needed. ; ... ; f - F.69 (Telex) ; n - National ; p - Private ; r - Reserved (should probably never be used but is included for completeness) ; ; You may also set the prilocaldialplan in the same way, but by prefixing the ; Caller*ID Number, rather than the dialled number. Please note that telcos ; which require this kind of additional manipulation of the TON/NPI are *rare*. ; Most telco PRIs will work fine simply by setting pridialplan to unknown or ; dynamic. |
#;
; usually sane. Thus you should typically not touch them unless you know what ; they mean or you know you should change them. [trunkgroups] ; ; Trunk groups are used for NFAS or GR-303 connections. ; ; Group: Defines a trunk group. ; trunkgroup => <trunkgroup>,<dchannel>[,<backup1>...] ; ; trunkgroup is the numerical trunk group to create ; dchannel is the DAHDI channel which will have the ; d-channel for the trunk. ; backup1 is an optional list of backup d-channels. ; ;trunkgroup => 1,24,48 ;trunkgroup => 1,24 |
#;
; usually sane. Thus you should typically not touch them unless you know what ; they mean or you know you should change them. [trunkgroups] ; ; Trunk groups are used for NFAS or GR-303 connections. ; ; Group: Defines a trunk group. ; trunkgroup => <trunkgroup>,<dchannel>[,<backup1>...] ; ; trunkgroup is the numerical trunk group to create ; dchannel is the DAHDI channel which will have the ; d-channel for the trunk. ; backup1 is an optional list of backup d-channels. ; ;trunkgroup => 1,24,48 ;trunkgroup => 1,24 |
#dahdi getconf
bash: dahdi: command not found |
#dahdi_getconf
bash: dahdi_getconf: command not found |
#dahdi_genconf
|
#ls /etc/dahdi/
system.conf xpp.conf |
#cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Fri Jun 24 17:13:06 2011 # If you edit this file and execute /usr/sbin/dahdi_genconf again, # your manual changes will be LOST. # Dahdi Configuration File # # This file is parsed by the Dahdi Configurator, dahdi_cfg # # Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER) fxsks=1 echocanceller=oslec,1 fxoks=2 echocanceller=oslec,2 # channel 3, WCTDM/0/2, no module. # channel 4, WCTDM/0/3, no module. # Global data loadzone = us defaultzone = us |
#dahdi_cfg -v
DAHDI Tools Version - 2.2.1.1 DAHDI Version: 2.3.0.1 Echo Canceller(s): Configuration ====================== 2 channels to configure. Setting echocan for channel 1 to oslec Setting echocan for channel 2 to oslec |
#ls /etc/asterisk/dahdi-channels.conf
/etc/asterisk/dahdi-channels.conf |
#cat /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Fri Jun 24 17:13:06 2011 ; If you edit this file and execute /usr/sbin/dahdi_genconf again, ; your manual changes will be LOST. ; Dahdi Channels Configurations (chan_dahdi.conf) ; ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings ; ; Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER) ;;; line="1 WCTDM/0/0" ... signalling=fxo_ks callerid="Channel 2" <4002> mailbox=4002 group=5 context=from-internal channel => 2 callerid= mailbox= group= context=default |
#vim /etc/asterisk/extensions.conf
|
#~
exten => 2405,n,SetMusicOnHold(default) exten => 2405,n,Queue(queue1) exten => 2406,1,AgentLogin(1001) ;agenti dlya ocheredei exten => 2406,1,AgentLogin(1002) D(num)}) -%S)})=> _24XX,n,Set(MON_FILENAME=record-${EXTEN}-${CALLERID(num)}-${STRFTIME(${EPOCH},,%Y-%m-%d-%H-%MM exten => 2444,1,MeetMe(1234,c) ;conference room exten => _24XX,n,Monitor(wav,${MON_FILENAME},m) exten => 2445,1,MeetMe(1234,m) ;tolko slishat ;exten => _24XX,n,System(/usr/local/bin/asterisk-jabber-logger Vam zvonyat s ${CALLERID(num)}) ... ;-----------PANASIONIC exten => 2404,1,Dial(SIP/g5/${EXTEN},20) exten => _24XX,1,Answer exten => _24XX,n(voicemail),Voicemail(${EXTEN}@default) exten => _24XX,n,Hangup() ;exten => 2403,1,Dial(SIP/2401&SIP/2402,10) ;exten(num)24XX,n,Playback(demo-congrats) [national] [ ] "/etc/asterisk/extensions.conf" 229L, 7482C written |
#asterisk -rx 'dialplan reload'
Dialplan reloaded. |
#~
exten => 2405,n,SetMusicOnHold(default) exten => 2405,n,Queue(queue1) exten => 2406,1,AgentLogin(1001) ;agenti dlya ocheredei exten => 2406,1,AgentLogin(1002) exten => _24XX,1,Answer1234,c) ;conference room g0/${EXTEN},20) D(num)})> _24XX,n,Set(MON_FILENAME=record-${STRFTIME(${EPOCH},,%Y-%m-%d-%H-%M-%S)}-${EXTEN}-${CALLER II -%S)})=> _24XX,n,Set(MON_FILENAME=record-${EXTEN}-${CALLERID(num)}-${STRFTIME(${EPOCH},,%Y-%m-%d-%H-%MM exten => _24XX,n,Monitor(wav,${MON_FILENAME},m) ;exten => _24XX,n,System(/usr/local/bin/asterisk-jabber-logger Vam zvonyat s ${CALLERID(num)}) ;exten => _24XX,n,SetMusicOnHold(${DB(moh/${EXTEN})}) exten => _24XX,n,Dial(SIP/${EXTEN},20,tT)) exten => _24XX,n,GotoIf($["${DIALSTATUS}" = "BUSY"]?missed_call) exten => _24XX,n,GotoIf($["${DIALSTATUS}" = "NOANSWER"]?missed_call) Lxten => _24XX,n,Hangup() "/etc/asterisk/extensions.conf" 229L, 7484C written |
#!aste
asterisk -rx 'dialplan reload' Dialplan reloaded. |
#!v
( ) [international] [ ] exten => _1[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------USA exten => _2[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------FRANCE exten => _[13][31]XX,1,Dial(SIP/paris/${EXTEN},10) ;-------------MY MOBILE exten => _380.,1,Dial(SIP/kiev/${EXTEN},10) ( ) [gr1] include => internal ;exten => _[13][31]XX,1,Dial(SIP/kiev/${EXTEN},10)ault)0,m) 212,5 90% [gr2] include => local include => national "/etc/asterisk/extensions.conf" 230L, 7507C written |
#reboot
|
#ssh user@192.168.108.253
[gr1] include => internal include => local [gr2] include => internal include => local include => national "/etc/asterisk/extensions.conf" 230L, 7507C written [root@linux8:~]# reboot Broadcast message from root@linux8 (pts/10) (Fri Jun 24 17:26:27 2011): The system is going down for reboot NOW! [root@linux8:~]# Connection to linux8 closed by remote host. Connection to linux8 closed. [root@linux0:~]# |
#ssh user@192.168.108.253
;----------FRANCE ;exten => _[13][31]XX,1,Dial(SIP/kiev/${EXTEN},10) exten => _[13][31]XX,1,Dial(SIP/paris/${EXTEN},10) ;-------------MY MOBILE exten => _380.,1,Dial(SIP/kiev/${EXTEN},10) [gr1] include => internal include => local [gr2] include => internal include => local include => national "/etc/asterisk/extensions.conf" 230L, 7507C written Broadcast message from root@linux8 (pts/10) (Fri Jun 24 17:26:27 2011): The system is going down for reboot NOW! [root@linux8:~]# Connection to linux8 closed by remote host. Connection to linux8 closed. [root@linux0:~]# |
#asterisk -rvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux8 (pid = 1468) Verbosity was 0 and is now 12 > Saved useragent "X-Lite 4 release 4.0 stamp 58833" for peer 2402 == Using SIP RTP CoS mark 5 -- Executing [2404@gr3:1] Dial("SIP/2401-00000001", "DAHDI/g5/2404,20") in new stack [Jun 24 17:30:20] WARNING[2597]: app_dial.c:1747 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [2404@gr3:2] Hangup("SIP/2401-00000001", "") in new stack == Spawn extension (gr3, 2404, 2) exited non-zero on 'SIP/2401-00000001' linux8*CLI> exit Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze2 currently running on linux8 (pid = 1468) Verbosity was 0 and is now 12 > Saved useragent "X-Lite 4 release 4.0 stamp 58833" for peer 2402 == Using SIP RTP CoS mark 5 -- Executing [2404@gr3:1] Dial("SIP/2401-00000001", "DAHDI/g5/2404,20") in new stack [Jun 24 17:30:20] WARNING[2597]: app_dial.c:1747 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [2404@gr3:2] Hangup("SIP/2401-00000001", "") in new stack == Spawn extension (gr3, 2404, 2) exited non-zero on 'SIP/2401-00000001' linux8*CLI> exit Executing last minute cleanups |
; Autogenerated by /usr/sbin/dahdi_genconf on Fri Jun 24 17:13:06 2011 ; If you edit this file and execute /usr/sbin/dahdi_genconf again, ; your manual changes will be LOST. ; Dahdi Channels Configurations (chan_dahdi.conf) ; ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings ; ; Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER) ;;; line="1 WCTDM/0/0" signalling=fxs_ks callerid=asreceived group=0 context=from-pstn channel => 1 callerid= group= context=default ;;; line="2 WCTDM/0/1" signalling=fxo_ks callerid="Channel 2" <4002> mailbox=4002 group=5 context=from-internal channel => 2 callerid= mailbox= group= context=default
# Autogenerated by /usr/sbin/dahdi_genconf on Fri Jun 24 17:13:06 2011 # If you edit this file and execute /usr/sbin/dahdi_genconf again, # your manual changes will be LOST. # Dahdi Configuration File # # This file is parsed by the Dahdi Configurator, dahdi_cfg # # Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER) fxsks=1 echocanceller=oslec,1 fxoks=2 echocanceller=oslec,2 # channel 3, WCTDM/0/2, no module. # channel 4, WCTDM/0/3, no module. # Global data loadzone = us defaultzone = us
Время первой команды журнала | 13:12:09 2011- 6-24 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:29:32 2011- 6-24 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 5.94 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 3.96 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.47 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.14 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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