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

Содержание

Журнал

Среда (04/10/13)

/dev/pts/1
12:41:01
#/etc/init.d/gdm3 restart
Stopping GNOME Display Manager: gdm3.
Starting GNOME Display Manager: gdm3.
/dev/pts/5
12:43:23
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk.
Starting Asterisk PBX: asterisk.
/dev/pts/4
12:43:23
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk.
Starting Asterisk PBX: asterisk.
/dev/pts/8
12:43:40
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1605)
Linux2*CLI>
Disconnected from Asterisk server
/dev/pts/7
12:43:40
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1605)
Linux2*CLI>
Disconnected from Asterisk server
/dev/pts/5
12:44:57
#m-a a-i dahdi

/dev/pts/4
12:44:57
#m-a a-i dahdi

/dev/pts/8
12:44:57
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1767)
Linux2*CLI> metme
No such command 'metme' (type 'core show help metme' for other possible commands)
...
[Apr 10 14:11:19] WARNING[2891]: app_voicemail.c:9070 vm_authenticate: Couldn't read username
Linux2*CLI> dialplan reload
Dialplan reloaded.
Linux2*CLI> meetme
No such command 'meetme' (type 'core show help meetme' for other possible commands)
Linux2*CLI> core show help meetme
meetme {lock|unlock|mute|unmut Execute a command on a conference or conferee
         meetme list [concise] List all or one conference
Linux2*CLI>
[1]+  Stopped                 asterisk -r
/dev/pts/7
12:44:57
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1767)
Linux2*CLI> metme
No such command 'metme' (type 'core show help metme' for other possible commands)
...
[Apr 10 14:11:19] WARNING[2891]: app_voicemail.c:9070 vm_authenticate: Couldn't read username
Linux2*CLI> dialplan reload
Dialplan reloaded.
Linux2*CLI> meetme
No such command 'meetme' (type 'core show help meetme' for other possible commands)
Linux2*CLI> core show help meetme
meetme {lock|unlock|mute|unmut Execute a command on a conference or conferee
         meetme list [concise] List all or one conference
Linux2*CLI>
[1]+  Stopped                 asterisk -r
прошло 13 минут
/dev/pts/5
12:58:03
#scp linux7:/usr/src/dahdi/dahdi-linux-2.6.2.tar.gz /usr/src
The authenticity of host 'linux7 (192.168.70.1)' can't be established.
RSA key fingerprint is 73:fd:3b:ee:91:b1:73:e4:99:4a:bf:1e:12:f3:c3:8e.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'linux7,192.168.70.1' (RSA) to the list of known hosts.
root@linux7's password:
dahdi-linux-2.6.2.tar.gz                      100% 1686KB   1.7MB/s   00:00
/dev/pts/4
12:58:03
#scp linux7:/usr/src/dahdi/dahdi-linux-2.6.2.tar.gz /usr/src
The authenticity of host 'linux7 (192.168.70.1)' can't be established.
RSA key fingerprint is 73:fd:3b:ee:91:b1:73:e4:99:4a:bf:1e:12:f3:c3:8e.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'linux7,192.168.70.1' (RSA) to the list of known hosts.
root@linux7's password:
dahdi-linux-2.6.2.tar.gz                      100% 1686KB   1.7MB/s   00:00
/dev/pts/5
12:58:39
#tar xfz dahdi-linux-2.6.2.tar.gz
tar (child): dahdi-linux-2.6.2.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
/dev/pts/4
12:58:39
#tar xfz dahdi-linux-2.6.2.tar.gz
tar (child): dahdi-linux-2.6.2.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
прошло 19 минут
/dev/pts/5
13:18:22
#mv dahdi-linux-2.6.2 /usr/src/

/dev/pts/4
13:18:22
#mv dahdi-linux-2.6.2 /usr/src/

/dev/pts/5
13:18:31
#cd /usr/src/dahdi-linux-2.6.2

/dev/pts/4
13:18:31
#cd /usr/src/dahdi-linux-2.6.2

/dev/pts/5
13:18:36
#make -j32
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory `/usr/src/dahdi-linux-2.6.2/drivers/dahdi/firmware'
Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz
--2013-04-10 14:18:38--  http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz
Resolving downloads.digium.com... 76.164.171.238, 2001:470:e0d4::ee
Connecting to downloads.digium.com|76.164.171.238|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149360 (146K) [application/x-gzip]
Saving to: “dahdi-fwload-vpmadt032-1.25.0.tar.gz”
100%[======================================>] 149,360     65.0K/s   in 2.2s
...
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/wctc4xxp/wctc4xxp.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_fxs.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_pri.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/wctdm.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_bri.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_fxo.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_echo.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp_usb.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae'
/dev/pts/4
13:18:36
#make -j32
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory `/usr/src/dahdi-linux-2.6.2/drivers/dahdi/firmware'
Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz
--2013-04-10 14:18:38--  http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz
Resolving downloads.digium.com... 76.164.171.238, 2001:470:e0d4::ee
Connecting to downloads.digium.com|76.164.171.238|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149360 (146K) [application/x-gzip]
Saving to: “dahdi-fwload-vpmadt032-1.25.0.tar.gz”
100%[======================================>] 149,360     65.0K/s   in 2.2s
...
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/wctc4xxp/wctc4xxp.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_fxs.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_pri.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/wctdm.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_bri.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_fxo.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpd_echo.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp.ko
  LD [M]  /usr/src/dahdi-linux-2.6.2/drivers/dahdi/xpp/xpp_usb.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-0.bpo.4-686-pae'
/dev/pts/8
13:21:08
#ls /etc/asterisk/me*.*
/etc/asterisk/meetme.conf
/dev/pts/7
13:21:08
#ls /etc/asterisk/me*.*
/etc/asterisk/meetme.conf
/dev/pts/5
13:21:37
#mod prog dahdi
bash: mod: command not found
/dev/pts/4
13:21:37
#mod prog dahdi
bash: mod: command not found
/dev/pts/8
13:21:39
#vim /etc/asterisk/meetme.conf
--- /tmp/l3-saved-1719.2671.290	2013-04-10 14:23:05.000000000 +0300
+++ /etc/asterisk/meetme.conf	2013-04-10 14:23:19.000000000 +0300
@@ -41,5 +41,5 @@
 ; in the conference and it goes away.  When it is created again, it will have
 ; the new pin number.
 ;
-;conf => 1234 
+conf => 1234 
 ;conf => 2345,9938
/dev/pts/7
13:21:39
#vim /etc/asterisk/meetme.conf
/dev/pts/5
13:22:41
#modprobe dahdi

/dev/pts/4
13:22:41
#modprobe dahdi

/dev/pts/11
13:24:21
#less /etc/apt/sources.list
/dev/pts/10
13:24:21
#less /etc/apt/sources.list
/dev/pts/11
13:24:21
#less /etc/apt/sources.list
/dev/pts/10
13:24:21
#less /etc/apt/sources.list
/dev/pts/5
13:25:00
#cd\
> ^C
/dev/pts/4
13:25:00
#cd\
> ^C
/dev/pts/5
13:25:31
#cd /

/dev/pts/4
13:25:31
#cd /

/dev/pts/11
13:31:18
#apt-get install mpg123
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libmpg123-0
Suggested packages:
  libartsc0 libaudio2
The following NEW packages will be installed:
  libmpg123-0 mpg123
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
...
Selecting previously deselected package libmpg123-0.
(Reading database ... 128389 files and directories currently installed.)
Unpacking libmpg123-0 (from .../libmpg123-0_1.12.1-3_i386.deb) ...
Selecting previously deselected package mpg123.
Unpacking mpg123 (from .../mpg123_1.12.1-3_i386.deb) ...
Processing triggers for man-db ...
Setting up libmpg123-0 (1.12.1-3) ...
Setting up mpg123 (1.12.1-3) ...
update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mpg123 (mpg123) in auto mode.
update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mp3-decoder (mp3-decoder) in auto mode.
/dev/pts/10
13:31:18
#apt-get install mpg123
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libmpg123-0
Suggested packages:
  libartsc0 libaudio2
The following NEW packages will be installed:
  libmpg123-0 mpg123
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
...
Selecting previously deselected package libmpg123-0.
(Reading database ... 128389 files and directories currently installed.)
Unpacking libmpg123-0 (from .../libmpg123-0_1.12.1-3_i386.deb) ...
Selecting previously deselected package mpg123.
Unpacking mpg123 (from .../mpg123_1.12.1-3_i386.deb) ...
Processing triggers for man-db ...
Setting up libmpg123-0 (1.12.1-3) ...
Setting up mpg123 (1.12.1-3) ...
update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mpg123 (mpg123) in auto mode.
update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mp3-decoder (mp3-decoder) in auto mode.
/dev/pts/11
13:32:08
#ls -l /home/user/download/
ls: cannot access /home/user/download/: No such file or directory
/dev/pts/10
13:32:08
#ls -l /home/user/download/
ls: cannot access /home/user/download/: No such file or directory
/dev/pts/11
13:32:41
#ls -l /home/user/Desktop/
total 0
/dev/pts/10
13:32:41
#ls -l /home/user/Desktop/
total 0
/dev/pts/11
13:34:44
#ls -l /home/user/Desktop/
total 0
/dev/pts/10
13:34:44
#ls -l /home/user/Desktop/
total 0
13:34:48
#ls -l /home/user/Desktop/
total 0
/dev/pts/11
13:34:48
#ls -l /home/user/Desktop/
total 0
13:34:51
#ls /home/user/Desktop/

/dev/pts/10
13:34:51
#ls /home/user/Desktop/

/dev/pts/11
13:34:56
#ls /home/user/Desktop/*
ls: cannot access /home/user/Desktop/*: No such file or directory
/dev/pts/10
13:34:56
#ls /home/user/Desktop/*
ls: cannot access /home/user/Desktop/*: No such file or directory
/dev/pts/11
13:35:01
#ls /home/user/Desktop/
Silver.mp3
/dev/pts/10
13:35:01
#ls /home/user/Desktop/
Silver.mp3
/dev/pts/11
13:35:48
#mpg123 -w silver.wav /home/user/Downloads/silver.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.12.1; written and copyright by Michael Hipp and others
        free software (LGPL/GPL) without any warranty but with best wishes
[readers.c:1042] error: Cannot open file /home/user/Downloads/silver.mp3: No such file or directory
[mpg123.c:581] error: Cannot open /home/user/Downloads/silver.mp3: File access error. (code 22)
/dev/pts/10
13:35:48
#mpg123 -w silver.wav /home/user/Downloads/silver.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.12.1; written and copyright by Michael Hipp and others
        free software (LGPL/GPL) without any warranty but with best wishes
[readers.c:1042] error: Cannot open file /home/user/Downloads/silver.mp3: No such file or directory
[mpg123.c:581] error: Cannot open /home/user/Downloads/silver.mp3: File access error. (code 22)
/dev/pts/11
13:39:11
#less /etc/apt/sources.list
/dev/pts/10
13:39:11
#less /etc/apt/sources.list
/dev/pts/11
13:39:11
#less /etc/apt/sources.list
/dev/pts/10
13:39:11
#less /etc/apt/sources.list
/dev/pts/11
13:44:24
#mpg123 -w silver.wav /home/user/Desktop/silver.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.12.1; written and copyright by Michael Hipp and others
        free software (LGPL/GPL) without any warranty but with best wishes
[readers.c:1042] error: Cannot open file /home/user/Desktop/silver.mp3: No such file or directory
[mpg123.c:581] error: Cannot open /home/user/Desktop/silver.mp3: File access error. (code 22)
/dev/pts/10
13:44:24
#mpg123 -w silver.wav /home/user/Desktop/silver.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.12.1; written and copyright by Michael Hipp and others
        free software (LGPL/GPL) without any warranty but with best wishes
[readers.c:1042] error: Cannot open file /home/user/Desktop/silver.mp3: No such file or directory
[mpg123.c:581] error: Cannot open /home/user/Desktop/silver.mp3: File access error. (code 22)
/dev/pts/11
13:45:03
#ls /home/user/Desktop/sil*
ls: cannot access /home/user/Desktop/sil*: No such file or directory
/dev/pts/10
13:45:03
#ls /home/user/Desktop/sil*
ls: cannot access /home/user/Desktop/sil*: No such file or directory
/dev/pts/11
13:45:12
#ls /home/user/Desktop/sil*.8
ls: cannot access /home/user/Desktop/sil*.8: No such file or directory
/dev/pts/10
13:45:12
#ls /home/user/Desktop/sil*.8
ls: cannot access /home/user/Desktop/sil*.8: No such file or directory
/dev/pts/11
13:45:18
#ls /home/user/Desktop/
Silver.mp3
/dev/pts/10
13:45:18
#ls /home/user/Desktop/
Silver.mp3
/dev/pts/11
13:45:39
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm resample -ql
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/10
13:45:39
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm resample -ql
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/11
13:46:57
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm resample -ql
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/10
13:46:57
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm resample -ql
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/11
13:48:00
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm resample -ql
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/10
13:48:00
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm resample -ql
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/11
13:48:36
#ls
install  install.1  install.2  lilalo  lilalo.1  silver.wav  test.txt
/dev/pts/10
13:48:36
#ls
install  install.1  install.2  lilalo  lilalo.1  silver.wav  test.txt
/dev/pts/5
13:50:54
#vim /etc/asterisk/musiconhold.conf
--- /tmp/l3-saved-1572.16114.5511	2013-04-10 14:53:21.000000000 +0300
+++ /etc/asterisk/musiconhold.conf	2013-04-10 14:58:16.000000000 +0300
@@ -44,7 +44,7 @@
 
 [default]
 mode=files
-directory=moh
+directory=/var/lib/asterisk/moh/
 ;
 ;[native-random]
 ;mode=files
/dev/pts/4
13:50:54
#vim /etc/asterisk/musiconhold.conf
прошло 11 минут
/dev/pts/5
14:01:56
#vim /etc/asterisk/queuerules.conf
/dev/pts/4
14:01:56
#vim /etc/asterisk/queuerules.conf
/dev/pts/5
14:02:36
#; channel variables in mid-call by defining rules in the queue for when to do soo
;
; A strategy may be specified.  Valid strategies include:
;
; ringall - ring all available channels until one answers (default)
; leastrecent - ring interface which was least recently called by this queue
; fewestcalls - ring the one with fewest completed calls from this queue
; random - ring random interface
; rrmemory - round robin with memory, remember where we left off last ring pass
; linear - rings interfaces in the order specified in this configuration file.
;          If you use dynamic members, the members will be rung in the order in
...
;
;
;
;
[queue1]
[queue1]
;            /1201
             /1202
;
"/etc/asterisk/queues.conf" 510L, 22769C written
/dev/pts/4
14:02:36
#; channel variables in mid-call by defining rules in the queue for when to do soo
;
; Note that a timeout to fail out of a queue may be passed as part of
; an application call from extensions.conf:
; Queue(queuename,[options],[optionalurl],[announceoverride],[timeout])
;
e highereoutpriority=conf mode however timeout specified in config file will takk
0, eachity than timeout in application arguments, so if config file has timeout
; (see announce-frequency)
;
;min-announce-frequency = 15
...
;
;
;
;
[queue1]
[queue1]
;            /1201
             /1202
;
"/etc/asterisk/queues.conf" 510L, 22769C written
прошло 29 минут
/dev/pts/11
14:32:35
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm resample -ql
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/10
14:32:35
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm resample -ql
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/11
14:32:48
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/10
14:32:48
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/11
14:32:56
#sox -t wav silver.wav
sox: SoX v14.3.1
sox FAIL sox: Not enough input filenames specified
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/10
14:32:56
#sox -t wav silver.wav
sox: SoX v14.3.1
sox FAIL sox: Not enough input filenames specified
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/11
14:33:03
#sox -t silver.wav -r 8000 -c1 -t silver.gsm resample -ql
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/10
14:33:03
#sox -t silver.wav -r 8000 -c1 -t silver.gsm resample -ql
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/11
14:34:09
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm resample -q
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/10
14:34:09
#sox -t wav silver.wav -r 8000 -c1 -t silver.gsm resample -q
sox: SoX v14.3.1
sox FAIL sox: missing filename
Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]...
SPECIAL FILENAMES (infile, outfile):
-                        Pipe/redirect input/output (stdin/stdout); may need -t
-d, --default-device     Use the default audio device (where available)
-n, --null               Use the `null' file handler; e.g. with synth effect
-p, --sox-pipe           Alias for `-t sox -'
SPECIAL FILENAMES (infile only):
"|program [options] ..." Pipe input from external program (where supported)
...
--add-comment TEXT       Append output file comment
--comment TEXT           Specify comment text for the output file
--comment-file FILENAME  File containing comment text for the output file
--no-glob                Don't `glob' wildcard match the following filename
AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa
PLAYLIST FORMATS: m3u pls
AUDIO DEVICE DRIVERS: alsa
EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast crop+ dcshift deemph delay dither divide+ earwax echo echos equalizer fade filter* fir firfit+ flanger gain highpass input# key* ladspa loudness lowpass mcompand mixer noiseprof noisered norm oops output# overdrive pad pan* phaser pitch polyphase* rabbit* rate remix repeat resample* reverb reverse riaa sile
  * Deprecated effect    + Experimental effect    # LibSoX-only effect
EFFECT OPTIONS (effopts): effect dependent; see --help-effect
/dev/pts/11
14:34:55
#ls
install    install.2  lilalo.1    silver.wav
install.1  lilalo     silver.gsm  test.txt
/dev/pts/10
14:34:55
#ls
install    install.2  lilalo.1    silver.wav
install.1  lilalo     silver.gsm  test.txt
/dev/pts/11
14:34:58
#cp silver.gsm /var/lib/asterisk/moh/silver.gsm

/dev/pts/10
14:34:58
#cp silver.gsm /var/lib/asterisk/moh/silver.gsm

/dev/pts/11
14:38:22
#ls
install  install.1  install.2  lilalo  lilalo.1  silver.gsm  silver.wav  test.txt
/dev/pts/10
14:38:22
#ls
install  install.1  install.2  lilalo  lilalo.1  silver.gsm  silver.wav  test.txt
/dev/pts/11
14:38:48
#rm inst*.2

/dev/pts/10
14:38:48
#rm inst*.2

/dev/pts/11
14:39:04
#ls
install  install.1  lilalo  lilalo.1  silver.gsm  silver.wav  test.txt
/dev/pts/10
14:39:04
#ls
install  install.1  lilalo  lilalo.1  silver.gsm  silver.wav  test.txt
14:39:06
#rm inst*.1

/dev/pts/11
14:39:06
#rm inst*.1

Статистика

Время первой команды журнала12:41:01 2013- 4-10
Время последней команды журнала14:39:06 2013- 4-10
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %29.70
Процент синтаксически неверно набранных команд, % 1.98
Суммарное время работы с терминалом *, час 1.97
Количество командных строк в единицу времени, команда/мин 0.86
Частота использования команд
ls30|=============================| 29.70%
sox16|===============| 15.84%
less8|=======| 7.92%
vim6|=====| 5.94%
asterisk4|===| 3.96%
mpg1234|===| 3.96%
cd4|===| 3.96%
rm4|===| 3.96%
mod2|=| 1.98%
m-a2|=| 1.98%
/etc/init.d/asterisk2|=| 1.98%
cp2|=| 1.98%
make2|=| 1.98%
scp2|=| 1.98%
modprobe2|=| 1.98%
apt-get2|=| 1.98%
channel2|=| 1.98%
mv2|=| 1.98%
cd\2|=| 1.98%
tar2|=| 1.98%
/etc/init.d/gdm31|| 0.99%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

О программе

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

$Id$