/l3/users/mugiwara/asterisk/linux1.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 |
|
#ls /tmp/
[1]+ Stopped mc |
#cp /tmp/music.gsm /var/lib/
apt/ initramfs-tools/ snmp/ aptitude/ initscripts/ tex-common/ asterisk/ libuuid/ ucf/ bind/ logrotate/ urandom/ dhcp3/ misc/ usbutils/ dictionaries-common/ mlocate/ vim/ dpkg/ nfs/ x11/ exim4/ sendmail/ |
#cp /tmp/music.gsm /var/lib/asterisk/
astdb moh/ sounds/ |
#cp /tmp/music.gsm /var/lib/asterisk/moh/
|
#asterisk -r
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 ========================================================================= ... [May 27 15:08:48] WARNING[27893]: pbx.c:4702 add_pri: Unable to register extension '_4XXX', priority 1 in 'corp', already in use linux1*CLI> dialplan reload Dialplan reloaded. linux1*CLI> dialplan reload Dialplan reloaded. linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> quit |
#lynx ya.ru
|
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#asterisk -r
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 ========================================================================= Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux1 (pid = 27763) linux1*CLI> quit |
#asterisk -r
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 ========================================================================= Connected to Asterisk 1.4.21.2~dfsg-3+lenny1 currently running on linux1 (pid = 27763) [May 27 15:11:12] NOTICE[27784]: chan_sip.c:15500 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 702 linux1*CLI> quit |
#asterisk -rvvvvvv
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 ========================================================================= ... == Everyone is busy/congested at this time (1:0/1/0) == Auto fallthrough, channel 'SIP/701-08166610' status is 'CONGESTION' -- Executing [3810@gr2:1] Set("SIP/701-08160dd8", "CALLERID(number)=5701") in new stack -- Executing [3810@gr2:2] Dial("SIP/701-08160dd8", "Sip/odessa/810") in new stack -- Called odessa/810 -- SIP/odessa-08166610 answered SIP/701-08160dd8 -- Packet2Packet bridging SIP/701-08160dd8 and SIP/odessa-08166610 == Spawn extension (gr2, 3810, 2) exited non-zero on 'SIP/701-08160dd8' linux1*CLI> quit Executing last minute cleanups |
#asterisk -rvvvvvv
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 'local' in context 'gr3' -- Including context 'corp' in context 'gr3' -- Including context 'world' in context 'gr3' == Parsing '/etc/asterisk/users.conf': Found [May 27 16:14:15] NOTICE[27784]: chan_sip.c:15500 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 702 -- Executing [809@gr2:1] Festival("SIP/701-08168f78", "Hello From Festival") in new stack == Parsing '/etc/asterisk/festival.conf': Found == Auto fallthrough, channel 'SIP/701-08168f78' status is 'UNKNOWN' linux1*CLI> exit Executing last minute cleanups |
#cp /usr/share/doc/f
file/ findutils/ ftp/ fxload/ |
#mcedit /etc/default/festival
UN_FESTIVAL=yes 1Помощь 2Сохрани3Блок 4Замена 5Копия 6Перемес7Поиск 8Удалить9МенюMC 10Выход |
#cp /usr/share/doc/f
festival/ festlex-poslex/ file/ ftp/ festlex-cmu/ festvox-kallpc16k/ findutils/ fxload/ |
#cp /usr/share/doc/festival/examples/festival
festival_client.c.gz festival_client.pl.gz festival.scm festival_client.h.gz festival.init |
#ps aux |gr
grep groupdel grub grub-reboot groff groupmod grub-floppy grub-set-default grog groups grub-install grub-terminfo grops grpck grub-md5-crypt grotty grpconv grub-mkdevicemap groupadd grpunconv grub-probe |
#ps aux |grep fest
root 28751 0.0 0.0 3144 772 pts/2 R+ 16:01 0:00 grep fest |
#/etc/init.d/
acpid ifupdown rc.local asterisk ifupdown-clean rcS atd keyboard-setup reboot bind9 keymap.sh rmnologin bootlogd killprocs rsyslog bootmisc.sh module-init-tools sendmail checkfs.sh mountall-bootclean.sh sendsigs checkroot.sh mountall.sh single console-cyrillic mountdevsubfs.sh ssh console-screen.sh mountkernfs.sh stop-bootlogd console-setup mountnfs-bootclean.sh stop-bootlogd-single cron mountnfs.sh udev dhcp3-server mountoverflowtmp udev-mtab exim4 mtab.sh umountfs glibc.sh networking umountnfs.sh gpm nfs-common umountroot halt openbsd-inetd urandom hostname.sh portmap x11-common hwclockfirst.sh procps zaptel hwclock.sh rc |
#ps aux |grep fest
|
#ps aux |grep fest
/etc/init.d/ acpid ifupdown rc.local asterisk ifupdown-clean rcS atd keyboard-setup reboot bind9 keymap.sh rmnologin bootlogd killprocs rsyslog bootmisc.sh module-init-tools sendmail checkfs.sh mountall-bootclean.sh sendsigs checkroot.sh mountall.sh single console-cyrillic mountdevsubfs.sh ssh console-screen.sh mountkernfs.sh stop-bootlogd console-setup mountnfs-bootclean.sh stop-bootlogd-single cron mountnfs.sh udev dhcp3-server mountoverflowtmp udev-mtab exim4 mtab.sh umountfs glibc.sh networking umountnfs.sh gpm nfs-common umountroot halt openbsd-inetd urandom hostname.sh portmap x11-common hwclockfirst.sh procps zaptel hwclock.sh rc |
#hmod +x /etc
/i idmapd.conf initramfs-tools/ iproute2/ inetd.conf inittab issue init.d/ inputrc issue.net |
#chmod +x /etc/in
inetd.conf initramfs-tools/ inputrc init.d/ inittab |
#chmod +x /etc/in
inetd.conf initramfs-tools/ inputrc init.d/ inittab |
#chmod +x /etc/init.d/
|
#/etc/init.d/
acpid ifupdown rc.local asterisk ifupdown-clean rcS atd keyboard-setup reboot bind9 keymap.sh rmnologin bootlogd killprocs rsyslog bootmisc.sh module-init-tools sendmail checkfs.sh mountall-bootclean.sh sendsigs checkroot.sh mountall.sh single console-cyrillic mountdevsubfs.sh ssh console-screen.sh mountkernfs.sh stop-bootlogd console-setup mountnfs-bootclean.sh stop-bootlogd-single cron mountnfs.sh udev dhcp3-server mountoverflowtmp udev-mtab exim4 mtab.sh umountfs glibc.sh networking umountnfs.sh gpm nfs-common umountroot halt openbsd-inetd urandom hostname.sh portmap x11-common hwclockfirst.sh procps zaptel hwclock.sh rc |
#hmod +x /etc/init.d/
|
#hmod +x /etc/init.d/
|
#/etc/init.d/
acpid ifupdown rc.local asterisk ifupdown-clean rcS atd keyboard-setup reboot bind9 keymap.sh rmnologin bootlogd killprocs rsyslog bootmisc.sh module-init-tools sendmail checkfs.sh mountall-bootclean.sh sendsigs checkroot.sh mountall.sh single console-cyrillic mountdevsubfs.sh ssh console-screen.sh mountkernfs.sh stop-bootlogd console-setup mountnfs-bootclean.sh stop-bootlogd-single cron mountnfs.sh udev dhcp3-server mountoverflowtmp udev-mtab exim4 mtab.sh umountfs glibc.sh networking umountnfs.sh gpm nfs-common umountroot halt openbsd-inetd urandom hostname.sh portmap x11-common hwclockfirst.sh procps zaptel hwclock.sh rc |
#hmod +x /etc/init.d/
/init.d/festival.init |
#hmod +x /etc/init.d/
|
#hmod +x /etc
|
#hmod +x /etc/init.d/festival.init
/etc/init.d/festival.init start Starting Festival server: festival. |
#/etc/init.d/festival.init start
Starting Festival server: festival/usr/bin/festival already running. |
#fd
bash: fd: команда не найдена |
#festival
Festival Speech Synthesis System 1.96:beta July 2004 Copyright (C) University of Edinburgh, 1996-2004. All rights reserved. For details type `(festival_warranty)' festival> wwww SIOD ERROR: unbound variable : wwww festival> helo SIOD ERROR: unbound variable : helo festival> quit #<SUBR(4) quit> festival> exit ... #<SUBR(4) quit> festival> festival> festival> festival> exit #<SUBR(5) exit> festival> SIOD ERROR: control-c interrupt festival> [1]+ Stopped festival |
#scp 192.168.4.1:/etc/festival.scm /etc/
root@192.168.4.1's password: festival.scm 100% 592 0.6KB/s 00:00 |
#/etc/init.d/festival.init restart
Restarting Festival server: festival/usr/bin/festival already running. |
#/etc/init.d/festival.init stop
Stopping Festival server: festival. |
#/etc/init.d/festival.init start
Starting Festival server: festival/usr/bin/festival already running. |
#ps aux | grep fest
root 28880 0.1 0.6 25696 21324 pts/2 T 16:12 0:00 festival root 29012 0.0 0.0 3144 784 pts/12 R+ 16:13 0:00 grep fest |
#kill 28880
|
#/etc/init.d/festival.init start
Starting Festival server: festival/usr/bin/festival already running. |
#ps aux | grep fest
root 29054 0.0 0.0 3144 776 pts/12 R+ 16:14 0:00 grep fest |
#/etc/init.d/festival.init start
Starting Festival server: festival. |
#asterisk -rvvvvvv
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 ========================================================================= ... == Everyone is busy/congested at this time (1:0/0/1) -- Executing [s@macro-incoming:2] VoiceMail("SIP/701-08182c08", "730@default") in new stack [May 27 17:15:13] WARNING[29508]: app_voicemail.c:2862 leave_voicemail: No entry in voicemail config file for '730' -- Executing [s@macro-incoming:3] Playback("SIP/701-08182c08", "/var/tmp/busy") in new stack -- <SIP/701-08182c08> Playing '/var/tmp/busy' (language 'en') -- Executing [s@macro-incoming:4] Hangup("SIP/701-08182c08", "") in new stack == Spawn extension (macro-incoming, s, 4) exited non-zero on 'SIP/701-08182c08' in macro 'incoming' == Spawn extension (macro-incoming, s, 4) exited non-zero on 'SIP/701-08182c08' quit Executing last minute cleanups |
#less |grep festival
Missing filename ("less --help" for help) |
#apt-cache search festival female
festvox-italp16k - Italian female speaker for Festival festvox-suopuhe-lj - Finnish female speaker for Festival |
#apt-cache search festival japan
|
#apt-cache search fest japan
|
#apt-cache search fest
brltty-flite - Access software for a blind person using a braille display doc-debian - Debian Project documentation and other documents eflite - Festival-Lite based emacspeak speech server python-enthought-traits-ui - User interface related modules for enthought traits python-enthought-traits - Manifest typing and reactive programming for Python espeak - A multi-lingual software speech synthesizer festival-czech - Czech support for Festival speech synthesis system festival-doc - Documentation for Festival festival-freebsoft-utils - Festival extensions and utilities festival-hi - festival text to speech synthesizer for Hindi language ... screader - Screen reader using software or hardware speech synthesizer sisu - documents - structuring, publishing in multiple formats and search speech-dispatcher-festival - Festival support for Speech Dispatcher libestools1.2 - Edinburgh Speech Tools Library stardict-plugin-festival - International dictionary - Festival TTS plugin stress - A tool to impose load on and stress test a computer system surfraw-extra - extra surfraw search tools with heavy dependencies surfraw - a fast unix command line interface to WWW iceweasel-torbutton - iceweasel extension enabling 1-click toggle of Tor usage yasr - General-purpose console screen reader |
#apt-cache search festival
brltty-flite - Access software for a blind person using a braille display eflite - Festival-Lite based emacspeak speech server espeak - A multi-lingual software speech synthesizer festival-czech - Czech support for Festival speech synthesis system festival-doc - Documentation for Festival festival-freebsoft-utils - Festival extensions and utilities festival-hi - festival text to speech synthesizer for Hindi language festvox-hi-nsk - Hindi male speaker for festival festlex-ifd - Italian support for Festival festvox-italp16k - Italian female speaker for Festival ... kttsd - a Text-to-Speech system for KDE kismet - Wireless 802.11b monitoring tool libperlspeak-perl - Perl Module for text to speech with festival, espeak, cepstral pidgin-festival - pidgin plugin to hear incoming messages using voice synthesis raccess4vbox3 - DTMF support and utilities for vbox3 screader - Screen reader using software or hardware speech synthesizer speech-dispatcher-festival - Festival support for Speech Dispatcher libestools1.2 - Edinburgh Speech Tools Library stardict-plugin-festival - International dictionary - Festival TTS plugin yasr - General-purpose console screen reader |
#apt-cache search festival
brltty-flite - Access software for a blind person using a braille display eflite - Festival-Lite based emacspeak speech server espeak - A multi-lingual software speech synthesizer festival-czech - Czech support for Festival speech synthesis system festival-doc - Documentation for Festival festival-freebsoft-utils - Festival extensions and utilities festival-hi - festival text to speech synthesizer for Hindi language festvox-hi-nsk - Hindi male speaker for festival festlex-ifd - Italian support for Festival festvox-italp16k - Italian female speaker for Festival ... kttsd - a Text-to-Speech system for KDE kismet - Wireless 802.11b monitoring tool libperlspeak-perl - Perl Module for text to speech with festival, espeak, cepstral pidgin-festival - pidgin plugin to hear incoming messages using voice synthesis raccess4vbox3 - DTMF support and utilities for vbox3 screader - Screen reader using software or hardware speech synthesizer speech-dispatcher-festival - Festival support for Speech Dispatcher libestools1.2 - Edinburgh Speech Tools Library stardict-plugin-festival - International dictionary - Festival TTS plugin yasr - General-purpose console screen reader |
#apt-cache search festvox
festvox-hi-nsk - Hindi male speaker for festival festvox-italp16k - Italian female speaker for Festival festvox-itapc16k - Italian male speaker for Festival festvox-mr-nsk - Marathi male speaker for festival festvox-te-nsk - Telugu (te) male speaker for festival festvox-czech-ph - Czech male speaker for Festival festvox-kallpc16k - American English male speaker for festival, 16khz sample rate festvox-kallpc8k - American English male speaker for festival, 8khz sample rate festvox-kdlpc16k - American English male speaker for festival, 16khz sample rate festvox-kdlpc8k - American English male speaker for festival, 8khz sample rate festvox-suopuhe-common - Common files for Festival Finnish speakers festvox-suopuhe-lj - Finnish female speaker for Festival festvox-suopuhe-mv - Finnish male speaker for festival flite - A small run-time speech synthesis engine |
#apt-get install festvox-mr-nsk
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Будут установлены следующие дополнительные пакеты: festival-mr НОВЫЕ пакеты, которые будут установлены: festival-mr festvox-mr-nsk обновлено 0, установлено 2 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 9759kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 12,3MB. Хотите продолжить [Д/н]? Получено:1 http://ftp.ua.debian.org lenny/main festvox-mr-nsk 0.1-4 [9739kB] Получено:2 http://ftp.ua.debian.org lenny/main festival-mr 0.1-4 [20,2kB] Получено 9759kБ за 38s (254kБ/c) Выбор ранее не выбранного пакета festvox-mr-nsk. (Чтение базы данных... на данный момент установлено 39236 файлов и каталогов.) Распаковывается пакет festvox-mr-nsk (из файла .../festvox-mr-nsk_0.1-4_all.deb)... Выбор ранее не выбранного пакета festival-mr. Распаковывается пакет festival-mr (из файла .../festival-mr_0.1-4_all.deb)... Настраивается пакет festvox-mr-nsk (0.1-4) ... Настраивается пакет festival-mr (0.1-4) ... |
#apt-cache search festvox
festvox-hi-nsk - Hindi male speaker for festival festvox-italp16k - Italian female speaker for Festival festvox-itapc16k - Italian male speaker for Festival festvox-mr-nsk - Marathi male speaker for festival festvox-te-nsk - Telugu (te) male speaker for festival festvox-czech-ph - Czech male speaker for Festival festvox-kallpc16k - American English male speaker for festival, 16khz sample rate festvox-kallpc8k - American English male speaker for festival, 8khz sample rate festvox-kdlpc16k - American English male speaker for festival, 16khz sample rate festvox-kdlpc8k - American English male speaker for festival, 8khz sample rate festvox-suopuhe-common - Common files for Festival Finnish speakers festvox-suopuhe-lj - Finnish female speaker for Festival festvox-suopuhe-mv - Finnish male speaker for festival flite - A small run-time speech synthesis engine |
#apt-cache search fest
brltty-flite - Access software for a blind person using a braille display doc-debian - Debian Project documentation and other documents eflite - Festival-Lite based emacspeak speech server python-enthought-traits-ui - User interface related modules for enthought traits python-enthought-traits - Manifest typing and reactive programming for Python espeak - A multi-lingual software speech synthesizer festival-czech - Czech support for Festival speech synthesis system festival-doc - Documentation for Festival festival-freebsoft-utils - Festival extensions and utilities festival-hi - festival text to speech synthesizer for Hindi language ... screader - Screen reader using software or hardware speech synthesizer sisu - documents - structuring, publishing in multiple formats and search speech-dispatcher-festival - Festival support for Speech Dispatcher libestools1.2 - Edinburgh Speech Tools Library stardict-plugin-festival - International dictionary - Festival TTS plugin stress - A tool to impose load on and stress test a computer system surfraw-extra - extra surfraw search tools with heavy dependencies surfraw - a fast unix command line interface to WWW iceweasel-torbutton - iceweasel extension enabling 1-click toggle of Tor usage yasr - General-purpose console screen reader |
#mcedit /tmp/
db.dnepr.unix.nt music.gsm .ICE-unix/ music.mp3 lost+found/ Russian-Tamara-2.0.2-ulaw.tar.gz mc-root/ .X11-unix/ |
#mcedit /etc/asterisk/extensions.conf
BM 8 1 3 4/ 90] *(17 /2369b)= ] 93 0x5D menu] [ submenu] exten => s,1,Playback(/var/tmp/submenu) exten => 1,1,Dial(SIP/dnepr/701) exten => 2,1,Dial(SIP/dnepr/201) exten => 3,1,Dial(SIP/dnepr/301) exten => 4,1,Dial(SIP/dnepr/401) exten => 5,1,Dial(SIP/dnepr/501) ... ;exten => s,n,Dial(SIP/${ARG2}/${MACRO_EXTEN:1}) ;exten => s,n,(end),Hangup [macro-incoming] ;exten => s,1,GotoIf($[${CALLERID(number)}=3301]?end) ;exten => s,1,GotoIf($[${BLACKLIST()}=1]?end) exten => s,1,Dial(SIP/${MACRO_EXTEN},10) ;exten => s,n,GotoIf($[${ISNULL(${DB(mobile/${MACRO_EXTEN})})}]?end) ;exten => s,n,Dial(SIP/odessa/${DB(mobile/${MACRO_EXTEN})}) ;exten => s,n,GotoIf($[${DIALSTATUS}cro-test]=BUSY]?busy) context=gr1 |
#ssh 192.168.4.1
root@192.168.4.1's password: Linux linux4.unix.nt 2.6.26-2-686 #1 SMP Wed May 12 21:56:10 UTC 2010 i686 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: Thu May 27 16:07:51 2010 from 192.168.3.10 l3-agent is already running: pid=4496; pidfile=/root/.lilalo/l3-agent.pid |
#exit
exit Connection to 192.168.4.1 closed. |
#mcedit sip.conf
fromuser = coolsip 53 0 53 805 [ 91 0x5B type=friend secret=password host=dynamic username=dnepr canreinvite=no callerid="Kharkov Phone" context=gr2 [crimea] type=friend ... [kiev] secret=password host=dynamic username=dnepr canreinvite=no callerid="Kiev Phone" context=gr2 [odessa] [odessa] type=friend |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#ls
adsi.conf features.conf privacy.conf adtranvofr.conf festival.conf queues.conf agents.conf followme.conf res_odbc.conf alarmreceiver.conf func_odbc.conf res_pgsql.conf alsa.conf gtalk.conf res_snmp.conf amd.conf h323.conf rpt.conf asterisk.adsi http.conf rtp.conf asterisk.conf iax.conf Russian-Tamara-2.0.2-ulaw cdr.conf iaxprov.conf say.conf cdr_custom.conf indications.conf sip.conf ... cdr_tds.conf manager.d sla.conf codecs.conf meetme.conf smdi.conf dnsmgr.conf mgcp.conf telcordia-1.adsi dundi.conf misdn.conf udptl.conf enum.conf modules.conf users.conf esel.conf musiconhold.conf voicemail.conf extconfig.conf muted.conf vpb.conf extensions.ael osp.conf watchdog.conf extensions.conf oss.conf zapata.conf extensions.conf.save phone.conf |
#exten => _XXXXXX,n,Hangup
|
#mcedit queues.conf
; before app_queue.so itse 0 or 155+14 169e marked6043/11728b)= . 9 0x09 ; now use the new MixMonitor application instead of Monitor so ; Use these sound files in making position/holdtime announcements. The ; defaults are as listed below -- change only if you need to. ; ; This can be enabled from within the Queue application, starting recording <queue-youarenext = queue-youarenext<--><------> ; recorded, and you are not recording while people are listening to MOH. ; To enable monitoring, simply specify "monitor-format"; it will be disabled ; otherwise. ... ; ;member => Agent/@1<---><------>; Any agent in group 1 ;member => Agent/:1,1<-><------>; Any agent in group 1, wait for first ; ; available, but consider with penalty ;member => Agent/1002 ; p. The old/current behavior of the queue has a serial type behavior. ; before app_queue.so itself or they may be marked invalid until reload. This |
#ls /var/
backups/ lib/ lock/ lost+found/ opt/ spool/ cache/ local/ log/ mail/ run/ tmp/ |
#ls /var/spool/
asterisk/ exim4/ mqueue/ pop/ cron/ mail/ mqueue-client/ |
#ls /var/spool/asterisk/
dictate/ meetme/ monitor/ outgoing/ system/ tmp/ voicemail/ |
#ls /var/spool/asterisk/m
meetme/ monitor/ |
#ls /var/spool/asterisk/monitor/
|
#pwd
/root |
#cd /var/spool/asterisk/monitor/
|
#ls
|
#ls
|
#mcedit /etc/asterisk/extensions.conf
|
#ls
|
#pwd
/var/spool/asterisk/monitor |
#mcedit /etc/asterisk/extensions.conf
;exten => _7XX,1,Dial,m 3 79 198 e 101 0x65 exten => _2800,1,Dial(Sip/${EXTEN:1}) exten => _801,1,Answer exten => _801,n,Wait(1) exten => _801,n,Record(/var/tmp/welcome:gsm,3) exten => _800,1,Answer exten => _800,n,Wait(1) exten => _800,n,Playback(/tmp/music) exten => 803,1,VoicemailMain() [corp] ... exten => 821,1,Record(/var/tmp/wrong:gsm) exten => 822,1,Record(/var/tmp/vybor:gsm) exten => 823,1,Record(/var/tmp/do-svidaniya-timeout:gsm) exten => 824,1,Record(/var/tmp/password:gsm) exten => 825,1,Record(/var/tmp/goaway-stranger:gsm) exten => 826,1,Record(/var/tmp/welcome-master:gsm) ( exten => 820,1,Record(/var/tmp/submenu:gsm) exten => 810,n,MeetMe(8888,dm) exten => 810,1,Wait(1) |
#mcedit /etc/asterisk/extensions.conf
RO_EXTEN})})}]?end) _EXTEN})}) Y]?busy) |
#cd /etc/asterisk/
|
#mcedit /etc/asterisk/extensions.conf
;exten => s,n,Dial(SIP/${ARG2}/${MACRO13X 0 13) 396 . 10 0x0A [submenu] exten => s,1,Background(/var/tmp/submenu) exten => s,n,WaitExten(5) exten => 1,1,Dial(SIP/dnepr/701) exten => 2,1,Dial(SIP/kiev/201) exten => 3,1,Dial(SIP/odessa/301) exten => 4,1,Dial(SIP/kharkov/401) exten => 5,1,Dial(SIP/crimea/501) exten => 0,1,Goto(s,1) ... ASPX File exten => _XXXXXX,n â Ada Program â exten => _XXXXXX,n â Assembler Source â exten => _XXXXXX,n â Bind9 configuration â exten => _XXXXXX,n âD Program â âDOS Batch â âebian changelog file â â C/C++ hangelog file â âebian control file â Debian descriptiom file |
#mcedit /etc/asterisk/extensions.conf
/etc/aster~sions.conf [----] 9 L:[ 1+ 0 1/146] *(9 /4237b)= . 10 0x0Aоманда ÐаÑÑÑойка exten => s,1,Playb n => s,n,WaitE ââââ ÐÑÐ±Ð¾Ñ ÑвеÑовÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ ÑинÑакÑиÑа âââââ exten => _XXXXXX,1 âASPX File ее ÑвеÑовÑделениеy) exten => _XXXXXX,n â Ada Program â exten => _XXXXXX,n â C Program â exteu] âORBA IDL â n => s,1,Backg â D Program â exten => s,n(main) â DOS Batch â âebian changelog file â ... exten => _XXXXXX,n,Hangup s,1,Background(/var/tmp/greetengs) [menu] 1 ubmenu,s,1) exten => 0,1,Playback(/var/tmp/goodbue) exten => s,n,WaitExten(5) exten => i,1,Background(/var/tmp/wrong) exten => i,n,Goto(start)1) exten => t,n,Hangup exten => t,1,Background(/var/tmp/vybor) exten => t,n,WaitExten(5) |
#ls
adsi.conf features.conf privacy.conf adtranvofr.conf festival.conf queues.conf agents.conf followme.conf res_odbc.conf alarmreceiver.conf func_odbc.conf res_pgsql.conf alsa.conf gtalk.conf res_snmp.conf amd.conf h323.conf rpt.conf asterisk.adsi http.conf rtp.conf asterisk.conf iax.conf Russian-Tamara-2.0.2-ulaw cdr.conf iaxprov.conf say.conf cdr_custom.conf indications.conf sip.conf ... cdr_tds.conf manager.d sla.conf codecs.conf meetme.conf smdi.conf dnsmgr.conf mgcp.conf telcordia-1.adsi dundi.conf misdn.conf udptl.conf enum.conf modules.conf users.conf esel.conf musiconhold.conf voicemail.conf extconfig.conf muted.conf vpb.conf extensions.ael osp.conf watchdog.conf extensions.conf oss.conf zapata.conf extensions.conf.save phone.conf |
#mcedit features.conf
] 702<----><------>; What extensions to park calls oÐ¡Ð¾Ñ ÑаниÑÑ Ñайл ââââââââââââââââ <------><------><------><------>; and increments with one for theâ t parked ca 45<----><------>; Number of seconds a call can beâââââââââââââââââââââââââââââââ <------><------><------><------>; one of: parked, caller, both (default is call <------><------><------><------>; as long as the class is not set on the channel <------><------><------><------>; using Set(CHANNEL(musicclass)=whatever) in the 1ÐомоÑÑ 2Ð¡Ð¾Ñ Ñани3Ðлок 4Ðамена 5ÐÐ¾Ð¿Ð¸Ñ 6ÐеÑемеÑ7ÐоиÑк 8УдалиÑÑ9ÐенÑMC 10ÐÑÑ Ð¾Ð´ |
#mcedit /etc/asterisk/extensions.conf
9 24 46 1334 1 49 0x31 1Помощь 2Сохрани3Блок 4Замена 5Копия 6Перемес7Поиск 8Удалить9МенюMC 10Выход exten => s(start),1,Background(/var/tmp/submenu) exten => s,n,WaitExten(5) exten => 1,1,Dial(SIP/dnepr/701) exten => 2,1,Dial(SIP/kiev/201) exten => 3,1,Dial(SIP/odessa/301) exten => 4,1,Dial(SIP/kharkov/401) exten => 5,1,Dial(SIP/crimea/501) exten => 0,1,Goto(start,1) exten => i,1,Background(/var/tmp/wrong) exten => i,n,Goto(start,1) exten => t,1,Background(/var/tmp/vybor) exten => t,n,WaitExten(2) exten => t,n,Background(/var/tmp/do-svidaniya-timeout) exten => t,n,Hangup [submenu] |
#mcedit features.conf
features.conf [----] 18 L:[ 1+ 6 7/ 99] *(145 /5301b)= . 9 0x09 ; ; Sample Call Features (parking, transfer, etc) configuration ; <------><------><------><------>; numeric, as Asterisk starts from the start pos <------><------><------><------>; and increments with one for the next parked ca context => parkedcalls<><------>; Which context parked calls are in ;parkingtime => 45<----><------>; Number of seconds a call can be parked for. <------><------><------><------>; (default is 45 seconds) [ 901-902<----><------>; What extensions to park calls oÐ¡Ð¾Ñ ÑаниÑÑ Ñайл ââââââââââââââââ ><------><------>; and increments with one for theâ 45<----><------>; Number of seconds a call can beâââââââââââââââââââââââââââââââ <------><------><------><------>; one of: parked, caller, both (default is call <------><------><------><------>; using Set(CHANNEL(musicclass)=whatever) in the |
Чтв Май 27 18:40:03 EEST 2010
Время первой команды журнала | 13:36:26 2010- 5-27 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 11:13:47 2010- 5-28 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 7.92 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.97 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 3.36 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.50 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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