/l3/users/tolik/nt-voip/linux3.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 |
|
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2351.4549.12916 2012-10-24 14:34:45.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 14:35:04.000000000 +0300 @@ -36,7 +36,7 @@ exten=> _13XX,n,Set(CALLFILENAME=${EXTEN}/${STRFTIME(${EPOH},Europe/Kiev,"%Y-%m-%d-%H.%M.%S")}) exten=> _13XX,n,Monitor(wav,${CALLFILENAME},m) ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) -exten=> _13XX,n,Dial(Sip/${EXTEN},10,tT) +exten=> _13XX,n,Dial(Sip/${EXTEN},10,tTuU) exten=> _13XX,n,Voicemail(${EXTEN}@default) ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) |
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2351.26632.31848 2012-10-24 14:36:10.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 14:36:26.000000000 +0300 @@ -36,7 +36,7 @@ exten=> _13XX,n,Set(CALLFILENAME=${EXTEN}/${STRFTIME(${EPOH},Europe/Kiev,"%Y-%m-%d-%H.%M.%S")}) exten=> _13XX,n,Monitor(wav,${CALLFILENAME},m) ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) -exten=> _13XX,n,Dial(Sip/${EXTEN},10,tTuU) +exten=> _13XX,n,Dial(Sip/${EXTEN},10,tTvV) exten=> _13XX,n,Voicemail(${EXTEN}@default) ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) |
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2351.5796.31797 2012-10-24 14:38:04.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 14:38:32.000000000 +0300 @@ -36,7 +36,7 @@ exten=> _13XX,n,Set(CALLFILENAME=${EXTEN}/${STRFTIME(${EPOH},Europe/Kiev,"%Y-%m-%d-%H.%M.%S")}) exten=> _13XX,n,Monitor(wav,${CALLFILENAME},m) ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) -exten=> _13XX,n,Dial(Sip/${EXTEN},10,tTvV) +exten=> _13XX,n,Dial(Sip/${EXTEN},10,tTwW) exten=> _13XX,n,Voicemail(${EXTEN}@default) ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) |
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2351.5700.31382 2012-10-24 14:39:01.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 14:39:19.000000000 +0300 @@ -33,8 +33,8 @@ exten=> 1303,n,Dial(SIP/1301&SIP/1302) exten=> _13XX,1,Answer -exten=> _13XX,n,Set(CALLFILENAME=${EXTEN}/${STRFTIME(${EPOH},Europe/Kiev,"%Y-%m-%d-%H.%M.%S")}) -exten=> _13XX,n,Monitor(wav,${CALLFILENAME},m) +;exten=> _13XX,n,Set(CALLFILENAME=${EXTEN}/${STRFTIME(${EPOH},Europe/Kiev,"%Y-%m-%d-%H.%M.%S")}) +;exten=> _13XX,n,Monitor(wav,${CALLFILENAME},m) ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) exten=> _13XX,n,Dial(Sip/${EXTEN},10,tTwW) exten=> _13XX,n,Voicemail(${EXTEN}@default) |
#-- ВСТАВКА --
![]() ; Sample Call Features (parking, transfer, etc) configuration [ ] [ ] ; These needs to be numeric, as Asterisk starts from the start position [general] ; and increments with one for the next parked call. k ; Which context parked calls are in (default parking lot) context => park ; Which context parked calls are in (default parking lot)ing lots) ;parkinghints = no ; (default is 45 seconds)tomatically for parking slots (default is no). ;comebacktoorigin = yes ; Wheth ; timeout or to send the call to context 'parkedcallstimeout' at ; extension 's', priority '1' (default is yes). ... ;xfersound = beep ; to indicate an attended transfer is complete ;xferfailsound = beeperr ; to indicate a failed transfer ;pickupexten = *8 ; Configure the pickup extension. (default is *8) ; feature activation (default is 1000 ms) ;pickupsound = beep ; to indicate a successful pickup (default: no sound) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. ;pickupfailsound = beeperr ; caller is connected, then by default, the system will try to call back the ;atxferdropcall = no ; person that did the transfer. If this is set to "yes", the callback willd ;featuredigittimeout = 1000 ; not be attempted and the transfer will just fail. "/etc/asterisk/features.conf" 148L, 8927C записано |
#-- ВСТАВКА --
![]() ; Sample Call Features (parking, transfer, etc) configuration [ ] [ ] ; These needs to be numeric, as Asterisk starts from the start position [general] ; and increments with one for the next parked call. k ; Which context parked calls are in (default parking lot) context => park ; Which context parked calls are in (default parking lot)ing lots) ;parkinghints = no ; (default is 45 seconds)tomatically for parking slots (default is no). ;comebacktoorigin = yes ; Wheth ; timeout or to send the call to context 'parkedcallstimeout' at ; extension 's', priority '1' (default is yes). ... ;xfersound = beep ; to indicate an attended transfer is complete ;xferfailsound = beeperr ; to indicate a failed transfer ;pickupexten = *8 ; Configure the pickup extension. (default is *8) ; feature activation (default is 1000 ms) ;pickupsound = beep ; to indicate a successful pickup (default: no sound) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. ;pickupfailsound = beeperr ; caller is connected, then by default, the system will try to call back the ;atxferdropcall = no ; person that did the transfer. If this is set to "yes", the callback willd ;featuredigittimeout = 1000 ; not be attempted and the transfer will just fail. "/etc/asterisk/features.conf" 148L, 8927C записано |
#vim /etc/asterisk/features.conf
![]() --- /tmp/l3-saved-2351.2215.18837 2012-10-24 14:50:32.000000000 +0300 +++ /etc/asterisk/features.conf 2012-10-24 14:51:08.000000000 +0300 @@ -62,7 +62,7 @@ ;disconnect => *0 ; Disconnect (default is *) -- Make sure to set the H and/or h option in the Dial() or Queue() app call! automon => *1 ; One Touch Record a.k.a. Touch Monitor -- Make sure to set the W and/or w option in the Dial() or Queue() app call! atxfer => *2 ; Attended transfer -- Make sure to set the T and/or t option in the Dial() or Queue() app call! -;parkcall => #72 ; Park call (one step parking) -- Make sure to set the K and/or k option in the Dial() app call! +parkcall => #700 ; Park call (one step parking) -- Make sure to set the K and/or k option in the Dial() app call! ;automixmon => *3 ; One Touch Record a.k.a. Touch MixMonitor -- Make sure to set the X and/or x option in the Dial() or Queue() app call! [applicationmap] |
#[ ]
![]() ;pickupsound = beep ; to indicate a successful pickup (default: no sound) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. ;pickupfailsound = beeperr ; caller is connected, then by default, the system will try to call back the ;atxferdropcall = no ; person that did the transfer. If this is set to "yes", the callback willd ;featuredigittimeout = 1000 ; not be attempted and the transfer will just fail. ;atxfercallbackretries = 2 ; Number of times to attempt to send the call back to the transferer. ; By default, this is 2. ; Note that the DTMF features listed below only work when two channels have answered and are bridged togethh er. ; They can not be used while the remote party is ringing or in progress. If you require this feature you caa ... x option in the Dial() or Queue() app call! 72 ; Park call (one step parking) -- Make sure to set the K and/or k option in the Diaa l() app call! [ ] ; Note that the DYNAMIC_FEATURES channel variable must be set to use the features [ defined here.] The value of DYNAMIC_FEATURES should be the names of the features ; to allow the channel to use separated by '#'. For example: ; Set(__DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3) ; "/etc/asterisk/features.conf" 148L, 8926C записано |
#[ ]
![]() ;pickupsound = beep ; to indicate a successful pickup (default: no sound) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. ;pickupfailsound = beeperr ; caller is connected, then by default, the system will try to call back the ;atxferdropcall = no ; person that did the transfer. If this is set to "yes", the callback willd ;featuredigittimeout = 1000 ; not be attempted and the transfer will just fail. ;atxfercallbackretries = 2 ; Number of times to attempt to send the call back to the transferer. ; By default, this is 2. ; Note that the DTMF features listed below only work when two channels have answered and are bridged togethh er. ; They can not be used while the remote party is ringing or in progress. If you require this feature you caa ... x option in the Dial() or Queue() app call! 72 ; Park call (one step parking) -- Make sure to set the K and/or k option in the Diaa l() app call! [ ] ; Note that the DYNAMIC_FEATURES channel variable must be set to use the features [ defined here.] The value of DYNAMIC_FEATURES should be the names of the features ; to allow the channel to use separated by '#'. For example: ; Set(__DYNAMIC_FEATURES=myfeature1#myfeature2#myfeature3) ; "/etc/asterisk/features.conf" 148L, 8926C записано |
#;atxferloopdelay = 10 ; Number of seconds to sleep between retries (if atxferdropcall = no)
![]() ; MOH_Class -> This is the music on hold class to play while the idle ; no music will be played. ; ; ; IMPORTANT NOTE: The applicationmap is not intended to be used for all Asterisk ; by the PBX core. In this case, these applications are executed outside of the ; concept of dialplan flow. Examples of this would be things like Macro, Goto, ; ; media will not be re-directed if DTMF is sent in the media stream. ; Example Usage: ... ;pickupfailsound = beeperr ; to indicate that the pickup failed (default: no sound) ;featuredigittimeout = 1000 ; Max time (ms) between digits for ; feature activation (default is 1000 ms) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. ;atxferdropcall = no ; If someone does an attended transfer, then hangs up before the transferred ; caller is connected, then by default, the system will try to call back the ; person that did the transfer. If this is set to "yes", the callback will ; not be attempted and the transfer will just fail. ;atxferloopdelay = 10 ; Number of seconds to sleep between retries (if atxferdropcall = no) "/etc/asterisk/features.conf" 148L, 8933C записано |
#;atxferloopdelay = 10 ; Number of seconds to sleep between retries (if atxferdropcall = no)
![]() ; ; ; IMPORTANT NOTE: The applicationmap is not intended to be used for all Asterisk ; by the PBX core. In this case, these applications are executed outside of the ; concept of dialplan flow. Examples of this would be things like Macro, Goto, ; ; media will not be re-directed if DTMF is sent in the media stream. ; Example Usage: ;testfeature => #9,peer,Playback,tt-monkeys ;Allow both the caller and callee to play ; ;tt-monkeys to the opposite channel ... ;pickupfailsound = beeperr ; to indicate that the pickup failed (default: no sound) ;featuredigittimeout = 1000 ; Max time (ms) between digits for ; feature activation (default is 1000 ms) ;atxfernoanswertimeout = 15 ; Timeout for answer on attended transfer default is 15 seconds. ;atxferdropcall = no ; If someone does an attended transfer, then hangs up before the transferred ; caller is connected, then by default, the system will try to call back the ; person that did the transfer. If this is set to "yes", the callback will ; not be attempted and the transfer will just fail. ;atxferloopdelay = 10 ; Number of seconds to sleep between retries (if atxferdropcall = no) "/etc/asterisk/features.conf" 148L, 8933C записано |
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2351.5395.15514 2012-10-24 14:58:08.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 14:58:32.000000000 +0300 @@ -68,7 +68,7 @@ include=> internal include=> national include=> international -include=> park +include=> parkedcalls [invalid] exten => _X.,1,Playback(/var/tmp/asterisk/message00) |
#[ ]
![]() [general] ; ; Global settings for call queues ; ; Persistent Members ; Store each dynamic member in each queue in the astdb so that ; when asterisk is restarted, each member will be automatically ; read into their recorded queues. Default is 'yes'. ; persistentmembers = yes ... 1 change; before #8 3 seconds ago 504,1 Внизу "/etc/asterisk/queues.conf" 505L, 22519C записано ;ember => SIP/1301 ; not propagate down to the Agent system so if you want round robin, least member => SIP/1302 ; recent, etc, you should list all the agents in this file individually and not ; use agent groups. ; ;member => Agent/@1 ; Any agent in group 1 ;member => Agent/:1,1 ; Any agent in group 1, wait for first |
#[ ]
![]() ;musicclass = default ; ; An announcement may be specified which is played for the member as ; soon as they answer a call, typically to indicate to them which queue ; this call should be answered as, so that agents or members who are ; listening to more than one queue can differentiated how they should ; engage the customer ; ;announce = queue-markq ; ... ;strategy = ringall m member => SIP/1301 strategy = ringall member => SIP/1301 02 [mber =>]SIP/1302 member => SIP/1302 504,1 Внизу 1 change; before #8 3 seconds ago 504,1 Внизу "/etc/asterisk/queues.conf" 505L, 22519C записано |
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2351.19503.19119 2012-10-24 15:47:13.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 15:48:28.000000000 +0300 @@ -29,8 +29,10 @@ [local] -exten=> 1303,1,Answer -exten=> 1303,n,Dial(SIP/1301&SIP/1302) +;exten=> 1303,1,Answer +;exten=> 1303,n,Dial(SIP/1301&SIP/1302) + +exten=> 1303,1,Queues(queues1) exten=> _13XX,1,Answer ;exten=> _13XX,n,Set(CALLFILENAME=${EXTEN}/${STRFTIME(${EPOH},Europe/Kiev,"%Y-%m-%d-%H.%M.%S")}) |
#[ ]
![]() ;musicclass = default ; ; An announcement may be specified which is played for the member as ; soon as they answer a call, typically to indicate to them which queue ; this call should be answered as, so that agents or members who are ; listening to more than one queue can differentiated how they should ; engage the customer ; ;announce = queue-markq ; ... ~ ~ ~ ~ ~ ~ ~ ~ ~ 499,1 Внизу |
#[ ]
![]() ; dialplan. ; ;musicclass = default ; ; An announcement may be specified which is played for the member as ; soon as they answer a call, typically to indicate to them which queue ; this call should be answered as, so that agents or members who are ; listening to more than one queue can differentiated how they should ; engage the customer ; ... ~ ~ ~ ~ ~ ~ ~ ~ ~ 499,1 Внизу |
#[ ]
![]() ; ;musicclass = default ; ; An announcement may be specified which is played for the member as ; soon as they answer a call, typically to indicate to them which queue ; this call should be answered as, so that agents or members who are ; listening to more than one queue can differentiated how they should ; engage the customer ; ;announce = queue-markq ... ; recent, etc, you should list all the agents in this file individually and not ; use agent groups. ; ;member => Agent/@1 ; Any agent in group 1 ;member => Agent/:1,1 ; Any agent in group 1, wait for first [ ] strategy = ringall member => SIP/1301 member => SIP/1302 504,1 99% |
#[ ]
![]() ; with available members in a parallel fashion until there are ; no more available members or no more waiting callers. This is ; probably more along the lines of how a queue should work and ; in most cases, you will want to enable this behavior. If you ; do not specify or comment out this option, it will default to no ; to keep backward compatibility with the old behavior. ; autofill = yes ; ; Monitor Type ... ;member => Agent/1002 ;member => Local/1000@default,0,John Smith,SIP/1000 ; ; Note that using agent groups is probably not what you want. Strategies do ; not propagate down to the Agent system so if you want round robin, least ; recent, etc, you should list all the agents in this file individually and not ; use agent groups. ; ;member => Agent/@1 ; Any agent in group 1 ;member => Agent/:1,1 ; Any agent in group 1, wait for first |
#vim /etc/asterisk/queues.conf
![]() --- /tmp/l3-saved-2351.18052.9556 2012-10-24 16:04:11.000000000 +0300 +++ /etc/asterisk/queues.conf 2012-10-24 16:05:30.000000000 +0300 @@ -500,6 +500,9 @@ [www] strategy = ringall -member => SIP/1301 -member => SIP/1302 +member => Agent/1001 +member => Agent/1002 +;member => SIP/1301 +;member => SIP/1301 +;member => SIP/1302 |
#vim /etc/asterisk/agents.conf
![]() --- /tmp/l3-saved-2351.23225.23625 2012-10-24 16:05:36.000000000 +0300 +++ /etc/asterisk/agents.conf 2012-10-24 16:06:15.000000000 +0300 @@ -109,5 +109,5 @@ ; ; agent => agentid,agentpassword,name ; -;agent => 1001,4321,Mark Spencer -;agent => 1002,4321,Will Meadows +agent => 1001,1234, Mark Spencer +agent => 1002,1234, Will Meadows |
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2351.17081.8415 2012-10-24 16:06:53.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 16:08:40.000000000 +0300 @@ -28,6 +28,10 @@ [local] +exten=> 8101,1,AgentLogin(1001) +exten=> 8102,1,AgentLogin(1002) + + ;exten=> 1303,1,Answer ;exten=> 1303,n,Dial(SIP/1301&SIP/1302) |
#mcedit /etc/asterisk/extensions.conf
![]() ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) exten=> _13XX,n,Dial(Sip/${EXTEN},10,tTwWkK) exten=] _13XX,n,Voicemail(${EXTEN}@default) ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) [national] exten=> _11XX,1,Dial(Sip/penza/${EXTEN}) exten=> _12XX,1,Dial(Sip/piter/${EXTEN}) ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) [international] exten=> _2XXX,1,Dial(Sip/poltava/${EXTEN}) ... include=> internal include=> national include=> international include=> parkedcalls [invalid] [invalid] exten => _X.,1,Playback(/var/tmp/asterisk/message00) [ ] include=> international |
#mcedit /etc/asterisk/extensions.conf
/etc/asterisk/extensions.conf [----] 0 L:[ 1+ 0 1/ 89] *(0 /1931b) 0091 0x05B [default] ;exten=> _13XX,1,Dial(SIP/${EXTEN}) ;exten=> _81XX,1,Answer ;exten=> _81XX,n,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm) ;exten=> _81XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2}) ;exten=> _82XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2}) ;exten=> 1302,1,Dial(SIP/1302) [internal] exten=> 8000,1,Playback(welcome) ... include=> parkedcalls [invalid] ] [gr4] include=> national include=> international include => invalid include=> local include=> local 1Помощь 2Сохранить 3Блок 4Замена 5Копия 6Переместить 7Поиск 8Удалить 9МенюMC 10Выход |
#ls -L /etc/apt
![]() apt.conf.d preferences.d sources.list sources.list.d trusted.gpg trusted.gpg.d listchanges.conf secring.gpg sources.list~ trustdb.gpg trusted.gpg~ |
#ls -L /etc/apt
apt.conf.d preferences.d sources.list sources.list.d trusted.gpg trusted.gpg.d listchanges.conf secring.gpg sources.list~ trustdb.gpg trusted.gpg~ |
#~
![]() # deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Unofficial bpo i386 NETINST Binary-1 20110628-13:01]/ squu eeze contrib main non-free #deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Unofficial bpo i386 NETINST Binary-1 20110628-13:01]/ squee eze contrib main non-free deb http://192.168.15.254:9999/debian/ squeeze main deb http://192.168.15.254:9999/debian/ squeeze-backports main #deb-src http://ftp.ua.debian.org/debian/ squeeze main #deb http://security.debian.org/ squeeze/updates main contrib non-free #deb-src http://security.debian.org/ squeeze/updates main contrib non-free # squeeze-updates, previously known as 'volatile' ... ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/apt/sources.list" 18L, 800C записано |
#~
![]() # deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Unofficial bpo i386 NETINST Binary-1 20110628-13:01]/ squu eeze contrib main non-free #deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Unofficial bpo i386 NETINST Binary-1 20110628-13:01]/ squee eze contrib main non-free deb http://192.168.15.254:9999/debian/ squeeze main deb http://192.168.15.254:9999/debian/ squeeze-backports main #deb-src http://ftp.ua.debian.org/debian/ squeeze main #deb http://security.debian.org/ squeeze/updates main contrib non-free #deb-src http://security.debian.org/ squeeze/updates main contrib non-free # squeeze-updates, previously known as 'volatile' ... ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/apt/sources.list" 18L, 800C записано |
#vim /etc/apt/sources.list
![]() --- /tmp/l3-saved-2351.27763.5271 2012-10-24 17:00:36.000000000 +0300 +++ /etc/apt/sources.list 2012-10-24 17:01:37.000000000 +0300 @@ -5,7 +5,7 @@ #deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Unofficial bpo i386 NETINST Binary-1 20110628-13:01]/ squeeze contrib main non-free deb http://192.168.15.254:9999/debian/ squeeze main -deb http://192.168.15.254:9999/debian/ squeeze-backports main +deb http://192.168.15.254:9999/debian-backports/ squeeze-backports main #deb-src http://ftp.ua.debian.org/debian/ squeeze main |
#apt-cache search 3.20
![]() libccid - PC/SC driver for USB CCID smart card readers libghc6-hsx-dev - Haskell support for XML in source code - GHC 6 libraries libghc6-hsx-prof - Haskell support for XML in source code - GHC 6 profiling libraries nictools-pci - Diagnostic tools for many PCI ethernet cards open-iscsi - High performance, transport independent iSCSI implementation otf-ipaexfont-gothic - Japanese OpenType font, IPAexFont (IPAexGothic) otf-ipaexfont-mincho - Japanese OpenType font, IPAexFont (IPAexMincho) otf-ipaexfont - Japanese OpenType font, IPAexFont (IPAexGothic/Mincho) otf-ipafont-gothic - Japanese OpenType font set, IPA Gothic font otf-ipafont-mincho - Japanese OpenType font set, IPA Mincho font otf-yozvox-yozfont-antique - Japanese proportional Handwriting OpenType font (antique kana) otf-yozvox-yozfont-cute - Japanese proportional Handwriting OpenType font (cute kana) otf-yozvox-yozfont-edu - Japanese proportional Handwriting OpenType font (educational cana) otf-yozvox-yozfont-new-kana - Japanese proportional Handwriting OpenType font (new kana) otf-yozvox-yozfont-standard-kana - Japanese proportional Handwriting OpenType font (standard kana) otf-yozvox-yozfont - Japanese proportional Handwriting OpenType font pidgin-sipe - Pidgin protocol plugin to connect to MS Office Communicator python-pyxmpp-doc - XMPP and Jabber implementation for Python (documentation) python-pyxmpp - XMPP and Jabber implementation for Python xfonts-jisx0213 - JIS X 0213 Japanese Kanji bitmap fonts for X xfonts-kappa20 - X11 Kappa 20dot Fonts (ISO-8859-1..4/9/10/13..16, Japanese) with bold |
#apt-cache search 3.20
libccid - PC/SC driver for USB CCID smart card readers libghc6-hsx-dev - Haskell support for XML in source code - GHC 6 libraries libghc6-hsx-prof - Haskell support for XML in source code - GHC 6 profiling libraries nictools-pci - Diagnostic tools for many PCI ethernet cards open-iscsi - High performance, transport independent iSCSI implementation otf-ipaexfont-gothic - Japanese OpenType font, IPAexFont (IPAexGothic) otf-ipaexfont-mincho - Japanese OpenType font, IPAexFont (IPAexMincho) otf-ipaexfont - Japanese OpenType font, IPAexFont (IPAexGothic/Mincho) otf-ipafont-gothic - Japanese OpenType font set, IPA Gothic font otf-ipafont-mincho - Japanese OpenType font set, IPA Mincho font otf-yozvox-yozfont-antique - Japanese proportional Handwriting OpenType font (antique kana) otf-yozvox-yozfont-cute - Japanese proportional Handwriting OpenType font (cute kana) otf-yozvox-yozfont-edu - Japanese proportional Handwriting OpenType font (educational cana) otf-yozvox-yozfont-new-kana - Japanese proportional Handwriting OpenType font (new kana) otf-yozvox-yozfont-standard-kana - Japanese proportional Handwriting OpenType font (standard kana) otf-yozvox-yozfont - Japanese proportional Handwriting OpenType font pidgin-sipe - Pidgin protocol plugin to connect to MS Office Communicator python-pyxmpp-doc - XMPP and Jabber implementation for Python (documentation) python-pyxmpp - XMPP and Jabber implementation for Python xfonts-jisx0213 - JIS X 0213 Japanese Kanji bitmap fonts for X xfonts-kappa20 - X11 Kappa 20dot Fonts (ISO-8859-1..4/9/10/13..16, Japanese) with bold |
#apt-cache search linux 3.2
![]() linux-image-486 - Linux for old PCs (meta-package) linux-image-amd64 - Linux for 64-bit PCs (meta-package) lsb-core - Linux Standard Base 3.2 core support package lsb-cxx - Linux Standard Base 3.2 C++ support package lsb-desktop - Linux Standard Base 3.2 Desktop support package lsb-graphics - Linux Standard Base 3.2 graphics support package lsb-languages - Linux Standard Base 3.2 Runtime Languages package lsb-multimedia - Linux Standard Base 3.2 Multimedia package lsb-printing - Linux Standard Base 3.2 Printing package lsb-qt4 - Linux Standard Base 3.2 Qt4 support package ... linux-image-3.2.0-0.bpo.3-686-pae-dbg - Debugging infos for Linux 3.2.0-0.bpo.3-686-pae linux-image-3.2.0-0.bpo.3-686-pae - Linux 3.2 for modern PCs linux-image-3.2.0-0.bpo.3-amd64 - Linux 3.2 for 64-bit PCs linux-image-3.2.0-0.bpo.3-rt-686-pae-dbg - Debugging infos for Linux 3.2.0-0.bpo.3-rt-686-pae linux-image-3.2.0-0.bpo.3-rt-686-pae - Linux 3.2 for modern PCs, PREEMPT_RT linux-manual-3.2 - Linux kernel API manual pages for version 3.2 linux-source-3.2 - Linux kernel source for version 3.2 with Debian patches linux-support-3.2.0-0.bpo.3 - Support files for Linux 3.2 xen-linux-system-3.2.0-0.bpo.3-686-pae - Xen system with Linux 3.2 on modern PCs (meta-package) xen-linux-system-3.2.0-0.bpo.3-amd64 - Xen system with Linux 3.2 on 64-bit PCs (meta-package) |
#apt-cache search linux 3.2
linux-image-486 - Linux for old PCs (meta-package) linux-image-amd64 - Linux for 64-bit PCs (meta-package) lsb-core - Linux Standard Base 3.2 core support package lsb-cxx - Linux Standard Base 3.2 C++ support package lsb-desktop - Linux Standard Base 3.2 Desktop support package lsb-graphics - Linux Standard Base 3.2 graphics support package lsb-languages - Linux Standard Base 3.2 Runtime Languages package lsb-multimedia - Linux Standard Base 3.2 Multimedia package lsb-printing - Linux Standard Base 3.2 Printing package lsb-qt4 - Linux Standard Base 3.2 Qt4 support package ... linux-image-3.2.0-0.bpo.3-686-pae-dbg - Debugging infos for Linux 3.2.0-0.bpo.3-686-pae linux-image-3.2.0-0.bpo.3-686-pae - Linux 3.2 for modern PCs linux-image-3.2.0-0.bpo.3-amd64 - Linux 3.2 for 64-bit PCs linux-image-3.2.0-0.bpo.3-rt-686-pae-dbg - Debugging infos for Linux 3.2.0-0.bpo.3-rt-686-pae linux-image-3.2.0-0.bpo.3-rt-686-pae - Linux 3.2 for modern PCs, PREEMPT_RT linux-manual-3.2 - Linux kernel API manual pages for version 3.2 linux-source-3.2 - Linux kernel source for version 3.2 with Debian patches linux-support-3.2.0-0.bpo.3 - Support files for Linux 3.2 xen-linux-system-3.2.0-0.bpo.3-686-pae - Xen system with Linux 3.2 on modern PCs (meta-package) xen-linux-system-3.2.0-0.bpo.3-amd64 - Xen system with Linux 3.2 on 64-bit PCs (meta-package) |
#eject -t
![]() |
#~
![]() [internal] exten=> 8000,1,Playback(welcome) exten=> 8001,1,VoicemailMain() exten=> _82XX,1,VoicemailMain(13${EXTEN:2}) exten=> _81XX,1,Answer exten=> _81XX,n,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm) exten=> _81XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2}) exten=> _82XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2}) ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) ;exten=> _13XX,1,Dial(SIP/${EXTEN}) ... ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) ;exten=> 1303,1,Answer ;exten=> 1303,n,Dial(SIP/1301&SIP/1302) [local] ;exten=> _13XX,n,Set(CALLFILENAME=${EXTEN}/${STRFTIME(${EPOH},Europe/Kiev,"%Y-%m-%d-%H.%M.%S")}) "/etc/asterisk/extensions.conf" 90L, 1961C записано exten=> 8102,1,AgentLogin(1002) exten=> _13XX,1,Answer ;exten=> _13XX,n,Set(CALLFILENAME=${EXTEN}/${STRFTIME(${EPOH},Europe/Kiev,"%Y-%m-%d-%H.%M.%S")}) ;exten=> _13XX,n,Monitor(wav,${CALLFILENAME},m) |
#~
[internal] ;exten=> _81XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2}) ;exten=> _82XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2}) ;exten=> 1302,1,Dial(SIP/1302) [internal] exten=> 8000,1,Playback(welcome) exten=> 8001,1,VoicemailMain() exten=> _82XX,1,VoicemailMain(13${EXTEN:2}) ;exten=> _81XX,1,Answer ;exten=> _81XX,n,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm) ... ;exten=> _.,1,Playback(/var/tmp/asterisk/message${EXTEN}) ;exten=> 1303,1,Answer ;exten=> 1303,n,Dial(SIP/1301&SIP/1302) [local] ;exten=> _13XX,n,Set(CALLFILENAME=${EXTEN}/${STRFTIME(${EPOH},Europe/Kiev,"%Y-%m-%d-%H.%M.%S")}) "/etc/asterisk/extensions.conf" 90L, 1961C записано exten=> 8102,1,AgentLogin(1002) exten=> _13XX,1,Answer ;exten=> _13XX,n,Set(CALLFILENAME=${EXTEN}/${STRFTIME(${EPOH},Europe/Kiev,"%Y-%m-%d-%H.%M.%S")}) ;exten=> _13XX,n,Monitor(wav,${CALLFILENAME},m) |
#" ============================================================================
![]() # See the man page for details on how to write a sudoers file. # Defaults env_reset # Host alias specification asterisk ALL=(ALL) NOPASSWD: /usr/bin/eject # (llow members of group sudo to execute any command ) # Cmnd alias specification #includedir /etc/sudoers.d ~ ... ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/sudoers" 25L, 535C записано |
#" ============================================================================
# See the man page for details on how to write a sudoers file. # Defaults env_reset # Host alias specification asterisk ALL=(ALL) NOPASSWD: /usr/bin/eject # (llow members of group sudo to execute any command ) # Cmnd alias specification #includedir /etc/sudoers.d ~ ... ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/sudoers" 25L, 535C записано |
#~
![]() [ ] ;exten=> _81XX,1,Answer ;exten=> _81XX,n,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm) ;exten=> _81XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2}) [internal] exten=> 8000,1,Playback(welcome)mp/asterisk/message${EXTEN:2}) exten=> 8001,1,VoicemailMain() exten=> _82XX,1,VoicemailMain(13${EXTEN:2}) [ ] [xten=> _]1XX,1,Answer ... [local] [ ] [local] (udo ject-t) ;exten=> 1303,1,Answer ;exten=> 1303,n,Dial(SIP/1301&SIP/1302) "/etc/asterisk/extensions.conf" 90L, 1961C exten=> 8102,1,AgentLogin(1002) exten=> 1303,1,Queue(www)ct) -- ВСТАВ 34,1 Наверху |
#~
[ ] ;exten=> _81XX,1,Answer ;exten=> _81XX,n,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm) ;exten=> _81XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2}) [internal] exten=> 8000,1,Playback(welcome)mp/asterisk/message${EXTEN:2}) exten=> 8001,1,VoicemailMain() exten=> _82XX,1,VoicemailMain(13${EXTEN:2}) [ ] [xten=> _]1XX,1,Answer ... [local] [ ] [local] (udo ject-t) ;exten=> 1303,1,Answer ;exten=> 1303,n,Dial(SIP/1301&SIP/1302) "/etc/asterisk/extensions.conf" 90L, 1961C exten=> 8102,1,AgentLogin(1002) exten=> 1303,1,Queue(www)ct) -- ВСТАВ 34,1 Наверху |
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2194.9841.31894 2012-10-24 17:24:10.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 17:24:46.000000000 +0300 @@ -30,7 +30,7 @@ exten=> 8101,1,AgentLogin(1001) exten=> 8102,1,AgentLogin(1002) -exten=> 8500,1,System(udo eject -t) +exten=> 8500,1,System(sudo eject -t) |
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-2194.1055.5139 2012-10-24 17:26:39.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 17:27:17.000000000 +0300 @@ -30,11 +30,11 @@ exten=> 8101,1,AgentLogin(1001) exten=> 8102,1,AgentLogin(1002) +exten=> 8500,1,System(sudo eject) exten=> 8500,1,System(sudo eject -t) - ;exten=> 1303,1,Answer ;exten=> 1303,n,Dial(SIP/1301&SIP/1302) |
Время первой команды журнала | 13:30:38 2012-10-24 | |||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:26:37 2012-10-24 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 58.42 | |||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.32 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.73 | |||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом уг