/l3/users/mim/nt-voip/linux8.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 |
|
#[ ]
; not be attempted and the transfer will just fail. ;atxferloopdelay = 10 ; Number of seconds to sleep between retries (if atxferdropcall = no) ; By default, this is 2. ;arcallbackretries = 2 ; Number of times to attempt to send the call back to the transferer. ther. ; Note that the DTMF features listed below only work when two channels have answered and are bridged togee ; not be attempted and the transfer will just fail. ;atxferloopdelay = 10 ; Number of seconds to sleep between retries (if atxferdropcall = no) ; By default, this is 2. ;arcallbackretries = 2 ; Number of times to attempt to send the call back to the transferer. ... ; FeatureName -> This is the name of the feature used in when setting the ; ; DYNAMIC_FEATURES variable to enable usage of this feature. ; The syntax for declaring a dynamic feature is any of the following: ; DTMF_sequence -> This is the key sequence used to activate this feature. ; ; ActivateOn -> This is the channel of the call that the application will be executed ;<FeatureName> => <DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,<AppArguments>[,MOH_Class]] ; on. Valid values are "self" and "peer". "self" means run the ; application on the same channel that activated the feature. "peer" |
#[ ]
2301-1351069932.wav 2302-1351069977.wav 2302-1351076396.wav 2303-1351075580.wav 2301-1351073477.wav 2302-1351070006.wav 2302-1351076418.wav 2303-1351075630.wav 2301-1351076392.wav 2302-1351070765.wav 2302-1351076622.wav 2303-1351075702.wav 2301-1351076475.wav 2302-1351070781.wav 2302-1351077623.wav 2303-1351075713.wav 2301-1351076674.wav 2302-1351070860.wav 2302-1351077733.wav 2303-1351075765.wav 2301-1351077483.wav 2302-1351073502.wav 2302-1351078001.wav 2304-1351075473.wav 2301-1351077963.wav 2302-1351073527.wav 2302-1351078715.wav 2304-1351076204.wav 2301-1351077987.wav 2302-1351075859.wav 2302-1351078842.wav auto-1351078848-2301-2302.wav 2302-1351069894.wav 2302-1351076214.wav 2303-1351075493.wav 2302-1351069942.wav 2302-1351076327.wav 2303-1351075523.wav |
#[ ]
2301-1351069932.wav 2302-1351069977.wav 2302-1351076396.wav 2303-1351075580.wav 2301-1351073477.wav 2302-1351070006.wav 2302-1351076418.wav 2303-1351075630.wav 2301-1351076392.wav 2302-1351070765.wav 2302-1351076622.wav 2303-1351075702.wav 2301-1351076475.wav 2302-1351070781.wav 2302-1351077623.wav 2303-1351075713.wav 2301-1351076674.wav 2302-1351070860.wav 2302-1351077733.wav 2303-1351075765.wav 2301-1351077483.wav 2302-1351073502.wav 2302-1351078001.wav 2304-1351075473.wav 2301-1351077963.wav 2302-1351073527.wav 2302-1351078715.wav 2304-1351076204.wav 2301-1351077987.wav 2302-1351075859.wav 2302-1351078842.wav auto-1351078848-2301-2302.wav 2302-1351069894.wav 2302-1351076214.wav 2303-1351075493.wav 2302-1351069942.wav 2302-1351076327.wav 2303-1351075523.wav |
#[ ]
[default] [internal] exten => 8000,1,Playback(welcome) exten => _81XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm) ;exten => _81XX,n,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm,1) ;exten => _82XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2}) exten => _82XX,1,VoicemailMain(23${EXTEN:2}) [local] exten => _23XX,1,Answer exten => _23XX,n,Set(CALLFILENAME=${EXTEN}-${EPOCH}) ... include => national include => internation [gr4] include => local include => national ~ ~ ~ ~ -- ВСТАВ 17,1 Весь |
#[ ]
[ ] [internat]on] [ ] exten => _1XXX,1,Dial(SIP/munich/${EXTEN}) exten => _2[1234]XX,1,Dial(SIP/munich/${EXTEN}) [local] [gr1] ] include => internalnsions.conf" 46L, 1114C include => local [ ] ... include => local include => national include => internation [gr4] include => local ~ ~ ~ ~ -- ВСТАВ 17,1 Весь |
#;
[default] [internal] exten => 8000,1,Playback(welcome) exten => _81XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm) ;exten => _81XX,n,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm,1) ;exten => _82XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2}) exten => _82XX,1,VoicemailMain(23${EXTEN:2}) [local] include => parkedcalls exten => _23XX,1,Answer ... include => local include => national include => internation [gr4] include => local ~ ~ ~ ~ ~ 9,0-1 Весь |
#;
[ ] [internat]on] [ ] exten => _1XXX,1,Dial(SIP/munich/${EXTEN}) exten => _2[1234]XX,1,Dial(SIP/munich/${EXTEN}) [gr1]/asterisk/extensions.conf" 47L, 1138C include => internal include => local [gr2] include => internal ... include => local include => national include => internation [gr4] include => local ~ ~ ~ ~ ~ 9,0-1 Весь |
#[ ]
[ ] rd [xten => ]1XXX,1,Dial(SIP/munich/${EXTEN}) exten => _2[1234]XX,1,Dial(SIP/munich/${EXTEN}) [gr1]/asterisk/extensions.conf" 47L, 1140C include => internal include => local [gr2] include => internal include => local ... [gr3] include => internal include => local include => national include => internation [gr4] include => local ~ ~ -- ВСТАВКА -- 4,1 Весь |
#[ ]
[ ] rd [xten => ]1XXX,1,Dial(SIP/munich/${EXTEN}) exten => _2[1234]XX,1,Dial(SIP/munich/${EXTEN}) [gr1]/asterisk/extensions.conf" 47L, 1140C include => internal include => local [gr2] include => internal include => local ... [gr3] include => internal include => local include => national include => internation [gr4] include => local ~ ~ -- ВСТАВКА -- 4,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 ... ; ; 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 member => SIP/2401 502,19 99% |
#~
; 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 ; ... ; 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 [quesel] member => SIP/2401 502,19 99% |
#[ ]
; ;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 Внизу |
#[ ]
; even if there is more than one available member ready to take ; calls until the head caller is connected with the member they ; were trying to get to. The next waiting caller in line then ; becomes the head caller, and they are then connected with the ; next available member and all available members and waiting callers ; waits while this happens. The new behavior, enabled by setting ; autofill=yes makes sure that when the waiting callers are connecting ; 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 ... ~ ~ ~ ~ ~ ~ ~ ~ ~ -- ВСТАВКА -- 499,1 Внизу |
#[ ]
[ ] [internat]on] [ ] exten => _1XXX,1,Dial(SIP/munich/${EXTEN}) exten => _2[1234]XX,1,Dial(SIP/munich/${EXTEN}) "/etc/asterisk/extensions.conf" 48L, 1170C [local] [gr1] ] include => internal include => local ... include => local include => national include => internation [gr4] include => local include => national ~ ~ ~ -- ВСТАВКА -- 19,1 Весь |
#[ ]
[ ] [internat]on] [ ] exten => _1XXX,1,Dial(SIP/munich/${EXTEN}) exten => _2[1234]XX,1,Dial(SIP/munich/${EXTEN}) "/etc/asterisk/extensions.conf" 48L, 1170C [local] [gr1] ] include => internal include => local ... include => local include => national include => internation [gr4] include => local include => national ~ ~ ~ -- ВСТАВКА -- 19,1 Весь |
#vim /etc/asterisk/agents.conf
--- /tmp/l3-saved-9176.9846.4522 2012-10-24 16:05:37.000000000 +0300 +++ /etc/asterisk/agents.conf 2012-10-24 16:05:53.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 |
#;
; shared_lastcall will make the lastcall and calls received be the same in ; members logged in more than one queue. ; This is useful to make the queue respect the wrapuptime of another queue ; for a shared member ; shared_lastcall=no ; ;[markq] ; ; A sample call queue ... ; recent, etc, you should list all the agents in this file individually and not musicclass = default ; use agent groups. strategy = ringall ; ;member => SIP/2301 ;member => Agent/@1 ; Any agent in group 1 ;member => SIP/2302 ;member => Agent/:1,1 ; Any agent in group 1, wait for first member => Agent/1001 |
#;
[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 ... strategy = ringall ; not propagate down to the Agent system so if you want round robin, least ;member => SIP/2301 ; recent, etc, you should list all the agents in this file individually and not ;member => SIP/2302 ; use agent groups. member => Agent/1001 ; ;member => Agent/@1 ; Any agent in group 1 ;member => Agent/:1,1 ; Any agent in group 1, wait for first |
#member => Agent/1002
; ; Agent configuration ; [general] ; ; Define whether callbacklogins should be stored in astdb for ; persistence. Persistent logins will be reloaded after ; Asterisk restarts. ; persistentagents=yes ... ; configure what DTMF key press should be used to acknowledge the ; call. The default is '#'. 16,0-1 Наверху ; ;ackcall=no ;acceptdtmf=# ; ; Define endcall to allow an agent to hangup a call with a ; DTMF keypress. Default is "yes". Use the enddtmf option to ; configure which DTMF key will end a call. The default is ; '*'. |
#member => Agent/1002
; Define autologoff times if appropriate. This is how long ; the phone has to ring with no answer before the agent is [ automa]ically logged off (in seconds) [ ] ; ;autologoff=15 ; ; Define autologoffunavail to have agents automatically logged ; out when the extension that they are at returns a CHANUNAVAIL ; status when a call is attempted to be sent there. ... ; configure what DTMF key press should be used to acknowledge the ; call. The default is '#'. ; ;ackcall=no ;acceptdtmf=# ; ; Define endcall to allow an agent to hangup a call with a ; DTMF keypress. Default is "yes". Use the enddtmf option to ; configure which DTMF key will end a call. The default is ; '*'. 16,0-1 Наверху |
#[ ]
; ;musiconhold => default ; ; Define the default good bye sound file for agents ; default to vm-goodbye ; ;goodbye => goodbye_file ; ; Define updatecdr. This is whether or not to change the source ; channel in the CDR record for this call to agent/agent_id so ... ;group=3 ;group=1,2 ;group= ; ; -------------------------------------------------- ; This section is devoted to recording agent's calls ; The keywords are global to the chan_agent channel driver ; ; Enable recording calls addressed to agents. It's turned off by default. 89,1 60% |
#[ ]
; ; Agent configuration ; [general] "/etc/asterisk/agents.conf" 113L, 3032C ; ;musiconhold => default ; ; Define the default good bye sound file for agents ; default to vm-goodbye ... ; configure what DTMF key press should be used to acknowledge the ; call. The default is '#'. ; ;ackcall=no acceptdtmf=# ; ; Define endcall to allow an agent to hangup a call with a ; DTMF keypress. Default is "yes". Use the enddtmf option to ; configure which DTMF key will end a call. The default is ; '*'. |
# 8 deb http://192.168.15.254:9999/debian/ squeeze-backports main
# queeze contrib main non-free # deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Unofficial bpo i386 NETINST Binary-1 20110628-13:01]/ ss ueeze contrib main non-free #deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Unofficial bpo i386 NETINST Binary-1 20110628-13:01]/ sqq deb http://192.168.15.254:9999/debian/ squeeze main deb http://192.168.15.254:9999/debian-backports/ squeeze-backports main #deb http://ftp2.debian.org.ua/debian/ squeeze main #deb-src http://ftp2.debian.org.ua/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' #deb http://ftp2.debian.org.ua/debian/ squeeze-updates main contrib non-free #deb-src http://ftp2.debian.org.ua/debian/ squeeze-updates main contrib non-free "/etc/apt/sources.list" 18L, 862C |
# 8 deb http://192.168.15.254:9999/debian/ squeeze-backports main
# queeze contrib main non-free # deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Unofficial bpo i386 NETINST Binary-1 20110628-13:01]/ ss ueeze contrib main non-free #deb cdrom:[Debian GNU/Linux 6.0.2.1 _Squeeze_ - Unofficial bpo i386 NETINST Binary-1 20110628-13:01]/ sqq deb http://192.168.15.254:9999/debian/ squeeze main deb http://192.168.15.254:9999/debian-backports/ squeeze-backports main #deb http://ftp2.debian.org.ua/debian/ squeeze main #deb-src http://ftp2.debian.org.ua/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' #deb http://ftp2.debian.org.ua/debian/ squeeze-updates main contrib non-free #deb-src http://ftp2.debian.org.ua/debian/ squeeze-updates main contrib non-free "/etc/apt/sources.list" 18L, 862C |
#~
Игн http://192.168.15.254 squeeze Release.gpg Игн http://192.168.15.254/debian/ squeeze/main Translation-en Игн http://192.168.15.254/debian/ squeeze/main Translation-ru Получено:1 http://192.168.15.254 squeeze-backports Release.gpg [836 B] Игн http://192.168.15.254/debian-backports/ squeeze-backports/main Translation-en Игн http://192.168.15.254/debian-backports/ squeeze-backports/main Translation-ru Игн http://192.168.15.254 squeeze Release Получено:2 http://192.168.15.254 squeeze-backports Release [77,6 kB] Игн http://192.168.15.254 squeeze/main i386 Packages Игн http://192.168.15.254 squeeze-backports/main i386 Packages Ош http://192.168.15.254 squeeze/main i386 Packages 404 Not Found Получено:3 http://192.168.15.254 squeeze-backports/main i386 Packages [603 kB] Получено 681 kБ за 0с (2.031 kБ/c) W: Не удалось получить http://192.168.15.254:9999/debian/dists/squeeze/main/binary-i386/Packages.gz 404 Not Found E: Некоторые индексные файлы не скачались, они были проигнорированы или вместо них были использованы старые версии |
#~
Игн http://192.168.15.254 squeeze Release.gpg Игн http://192.168.15.254/debian/ squeeze/main Translation-en Игн http://192.168.15.254/debian/ squeeze/main Translation-ru Получено:1 http://192.168.15.254 squeeze-backports Release.gpg [836 B] Игн http://192.168.15.254/debian-backports/ squeeze-backports/main Translation-en Игн http://192.168.15.254/debian-backports/ squeeze-backports/main Translation-ru Игн http://192.168.15.254 squeeze Release Получено:2 http://192.168.15.254 squeeze-backports Release [77,6 kB] Игн http://192.168.15.254 squeeze/main i386 Packages Игн http://192.168.15.254 squeeze-backports/main i386 Packages Ош http://192.168.15.254 squeeze/main i386 Packages 404 Not Found Получено:3 http://192.168.15.254 squeeze-backports/main i386 Packages [603 kB] Получено 681 kБ за 0с (2.031 kБ/c) W: Не удалось получить http://192.168.15.254:9999/debian/dists/squeeze/main/binary-i386/Packages.gz 404 Not Found E: Некоторые индексные файлы не скачались, они были проигнорированы или вместо них были использованы старые версии |
#apt-get update
Игн http://192.168.15.254 squeeze Release.gpg Игн http://192.168.15.254/debian/ squeeze/main Translation-en Игн http://192.168.15.254/debian/ squeeze/main Translation-ru В кэше http://192.168.15.254 squeeze-backports Release.gpg Игн http://192.168.15.254/debian-backports/ squeeze-backports/main Translation-en Игн http://192.168.15.254/debian-backports/ squeeze-backports/main Translation-ru Игн http://192.168.15.254 squeeze Release В кэше http://192.168.15.254 squeeze-backports Release Игн http://192.168.15.254 squeeze/main i386 Packages Игн http://192.168.15.254 squeeze-backports/main i386 Packages/DiffIndex Ош http://192.168.15.254 squeeze/main i386 Packages 404 Not Found Игн http://192.168.15.254 squeeze-backports/main i386 Packages В кэше http://192.168.15.254 squeeze-backports/main i386 Packages W: Не удалось получить http://192.168.15.254:9999/debian/dists/squeeze/main/binary-i386/Packages.gz 404 Not Found E: Некоторые индексные файлы не скачались, они были проигнорированы или вместо них были использованы старые версии |
#apt-get update
Игн http://192.168.15.254 squeeze Release.gpg Игн http://192.168.15.254/debian/ squeeze/main Translation-en Игн http://192.168.15.254/debian/ squeeze/main Translation-ru В кэше http://192.168.15.254 squeeze-backports Release.gpg Игн http://192.168.15.254/debian-backports/ squeeze-backports/main Translation-en Игн http://192.168.15.254/debian-backports/ squeeze-backports/main Translation-ru Игн http://192.168.15.254 squeeze Release В кэше http://192.168.15.254 squeeze-backports Release Игн http://192.168.15.254 squeeze/main i386 Packages Игн http://192.168.15.254 squeeze-backports/main i386 Packages/DiffIndex Ош http://192.168.15.254 squeeze/main i386 Packages 404 Not Found Игн http://192.168.15.254 squeeze-backports/main i386 Packages В кэше http://192.168.15.254 squeeze-backports/main i386 Packages W: Не удалось получить http://192.168.15.254:9999/debian/dists/squeeze/main/binary-i386/Packages.gz 404 Not Found E: Некоторые индексные файлы не скачались, они были проигнорированы или вместо них были использованы старые версии |
#~
linux-image-486 - Linux for older PCs (meta-package) linux-image-686-pae - Linux for modern PCs (meta-package) linux-image-amd64 - Linux for 64-bit PCs (meta-package) linux-image-rt-686-pae - Linux for modern PCs (meta-package), PREEMPT_RT linux-headers-3.2.0-0.bpo.3-486 - Header files for Linux 3.2.0-0.bpo.3-486 linux-headers-3.2.0-0.bpo.3-686-pae - Header files for Linux 3.2.0-0.bpo.3-686-pae linux-headers-3.2.0-0.bpo.3-all-i386 - All header files for Linux 3.2 (meta-package) linux-headers-3.2.0-0.bpo.3-all - All header files for Linux 3.2 (meta-package) linux-headers-3.2.0-0.bpo.3-amd64 - Header files for Linux 3.2.0-0.bpo.3-amd64 linux-headers-3.2.0-0.bpo.3-common-rt - Common header files for Linux 3.2.0-0.bpo.3-rt linux-headers-3.2.0-0.bpo.3-common - Common header files for Linux 3.2.0-0.bpo.3 linux-headers-3.2.0-0.bpo.3-rt-686-pae - Header files for Linux 3.2.0-0.bpo.3-rt-686-pae linux-image-3.2.0-0.bpo.3-486 - Linux 3.2 for older PCs 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-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) |
#~
linux-image-486 - Linux for older PCs (meta-package) linux-image-686-pae - Linux for modern PCs (meta-package) linux-image-amd64 - Linux for 64-bit PCs (meta-package) linux-image-rt-686-pae - Linux for modern PCs (meta-package), PREEMPT_RT linux-headers-3.2.0-0.bpo.3-486 - Header files for Linux 3.2.0-0.bpo.3-486 linux-headers-3.2.0-0.bpo.3-686-pae - Header files for Linux 3.2.0-0.bpo.3-686-pae linux-headers-3.2.0-0.bpo.3-all-i386 - All header files for Linux 3.2 (meta-package) linux-headers-3.2.0-0.bpo.3-all - All header files for Linux 3.2 (meta-package) linux-headers-3.2.0-0.bpo.3-amd64 - Header files for Linux 3.2.0-0.bpo.3-amd64 linux-headers-3.2.0-0.bpo.3-common-rt - Common header files for Linux 3.2.0-0.bpo.3-rt linux-headers-3.2.0-0.bpo.3-common - Common header files for Linux 3.2.0-0.bpo.3 linux-headers-3.2.0-0.bpo.3-rt-686-pae - Header files for Linux 3.2.0-0.bpo.3-rt-686-pae linux-image-3.2.0-0.bpo.3-486 - Linux 3.2 for older PCs 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-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-get install linux-image-3.2.0-0.bpo.3-686-pae linux-headers-3.2.0-0.bpo.3-686-pae
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: mysql-common libmysqlclient16 Для их удаления используйте 'apt-get autoremove'. Будут установлены следующие дополнительные пакеты: linux-headers-3.2.0-0.bpo.3-common linux-kbuild-3.2 Предлагаемые пакеты: linux-doc-3.2 debian-kernel-handbook Рекомендуемые пакеты: firmware-linux-free НОВЫЕ пакеты, которые будут установлены: linux-headers-3.2.0-0.bpo.3-686-pae linux-headers-3.2.0-0.bpo.3-common linux-image-3.2.0-0.bpo.3-686-pae linux-kbuild-3.2 обновлено 0, установлено 4 новых пакетов, для удаления отмечено 0 пакетов, и 108 пакетов не обновлено. Необходимо скачать 27,2 MБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 125 MB. Хотите продолжить [Д/н]? yes Получено:1 http://192.168.15.254/debian-backports/ squeeze-backports/main linux-image-3.2.0-0.bpo.3-686-pae i386 3.2.23-1~bpo60+2 [22,9 MB] |
#apt-get install linux-image-3.2.0-0.bpo.3-686-pae linux-headers-3.2.0-0.bpo.3-686-pae
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Следующие пакеты устанавливались автоматически и больше не требуются: mysql-common libmysqlclient16 Для их удаления используйте 'apt-get autoremove'. Будут установлены следующие дополнительные пакеты: linux-headers-3.2.0-0.bpo.3-common linux-kbuild-3.2 Предлагаемые пакеты: linux-doc-3.2 debian-kernel-handbook ... Хотите продолжить [Д/н]? yes Получено:1 http://192.168.15.254/debian-backports/ squeeze-backports/main linux-image-3.2.0-0.bpo.3-686-pae i386 3.2.23-1~bpo60+2 [22,9 MB] Found linux image: /boot/vmlinuz-3.2.0-0.bpo.3-686-pae Found initrd image: /boot/initrd.img-3.2.0-0.bpo.3-686-pae Found linux image: /boot/vmlinuz-2.6.39-bpo.2-686-pae Found initrd image: /boot/initrd.img-2.6.39-bpo.2-686-pae done Настраивается пакет linux-headers-3.2.0-0.bpo.3-common (3.2.23-1~bpo60+2) ... Настраивается пакет linux-kbuild-3.2 (3.2.1-2~bpo60+1) ... Настраивается пакет linux-headers-3.2.0-0.bpo.3-686-pae (3.2.23-1~bpo60+2) ... |
#vim /etc/asterisk/ext
|
#vim /etc/asterisk/ext
|
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-9176.24955.26494 2012-10-24 17:16:00.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 17:18:12.000000000 +0300 @@ -8,6 +8,7 @@ exten => _82XX,1,VoicemailMain(23${EXTEN:2}) exten => 8111,1,AgentLogin(1001) exten => 8112,1,AgentLogin(1002) +exten => 8333,1,System (eject) [local] include => parkedcalls |
#vim /etc/asterisk/extensions.conf
|
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-9176.13187.2812 2012-10-24 17:21:48.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 17:21:58.000000000 +0300 @@ -8,7 +8,7 @@ exten => _82XX,1,VoicemailMain(23${EXTEN:2}) exten => 8111,1,AgentLogin(1001) exten => 8112,1,AgentLogin(1002) -exten => 8333,1,System (eject) +exten => 8333,1,System(eject) [local] include => parkedcalls |
#vim /etc/asterisk/extensions.conf
|
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-9176.28309.4517 2012-10-24 17:27:53.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 17:28:49.000000000 +0300 @@ -8,7 +8,7 @@ exten => _82XX,1,VoicemailMain(23${EXTEN:2}) exten => 8111,1,AgentLogin(1001) exten => 8112,1,AgentLogin(1002) -exten => 8333,n,System(eject) +exten => 8333,n(eject),System(sudo eject) exten => 8201,n,GotoIf($[${password}=1234]?eject) [local] |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-9176.29304.23521 2012-10-24 17:29:23.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 17:33:43.000000000 +0300 @@ -8,8 +8,8 @@ exten => _82XX,1,VoicemailMain(23${EXTEN:2}) exten => 8111,1,AgentLogin(1001) exten => 8112,1,AgentLogin(1002) -exten => 8333,n(eject),System(sudo eject) exten => 8201,n,GotoIf($[${password}=1234]?eject) +exten => 8333,n(eject),System(sudo eject) [local] include => parkedcalls |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-9176.11897.2667 2012-10-24 17:34:23.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 17:34:34.000000000 +0300 @@ -9,7 +9,7 @@ exten => 8111,1,AgentLogin(1001) exten => 8112,1,AgentLogin(1002) exten => 8201,n,GotoIf($[${password}=1234]?eject) -exten => 8333,n(eject),System(sudo eject) +exten => 8233,n(eject),System(sudo eject) [local] include => parkedcalls |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-9176.9913.28768 2012-10-24 17:35:31.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 17:35:59.000000000 +0300 @@ -8,8 +8,8 @@ exten => _82XX,1,VoicemailMain(23${EXTEN:2}) exten => 8111,1,AgentLogin(1001) exten => 8112,1,AgentLogin(1002) -exten => 8201,n,GotoIf($[${password}=1234]?eject) -exten => 8233,n(eject),System(sudo eject) +exten => 8301,n,GotoIf($[${password}=1234]?eject) +exten => 8333,n(eject),System(sudo eject) [local] include => parkedcalls |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-9176.21727.10134 2012-10-24 17:36:33.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 17:41:09.000000000 +0300 @@ -8,8 +8,13 @@ exten => _82XX,1,VoicemailMain(23${EXTEN:2}) exten => 8111,1,AgentLogin(1001) exten => 8112,1,AgentLogin(1002) + +exten => 8301,1,Playback(password) +exten => 8301,n,Read(password) exten => 8301,n,GotoIf($[${password}=1234]?eject) -exten => 8333,n(eject),System(sudo eject) +exten => 8301,n,Hangup +exten => 8301,n(eject),System(sudo eject) + [local] include => parkedcalls |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-9176.6072.17620 2012-10-24 17:41:41.000000000 +0300 +++ /etc/asterisk/extensions.conf 2012-10-24 17:42:26.000000000 +0300 @@ -9,7 +9,7 @@ exten => 8111,1,AgentLogin(1001) exten => 8112,1,AgentLogin(1002) -exten => 8301,1,Playback(password) +exten => 8301,1,Playback(vm-password) exten => 8301,n,Read(password) exten => 8301,n,GotoIf($[${password}=1234]?eject) exten => 8301,n,Hangup |
#ls
dahdi-linux-complete-current.tar.gz linux-headers-3.2.0-0.bpo.3-686-pae vpb-driver.tar.bz2 dahdi.tar.bz2 linux-headers-3.2.0-0.bpo.3-common linux linux-kbuild-3.2 |
#ls
dahdi-linux-complete-current.tar.gz linux-headers-3.2.0-0.bpo.3-686-pae vpb-driver.tar.bz2 dahdi.tar.bz2 linux-headers-3.2.0-0.bpo.3-common linux linux-kbuild-3.2 |
#ls
dahdi-linux-complete-2.6.1+2.6.1 linux linux-kbuild-3.2 dahdi-linux-complete-current.tar.gz linux-headers-3.2.0-0.bpo.3-686-pae vpb-driver.tar.bz2 dahdi.tar.bz2 linux-headers-3.2.0-0.bpo.3-common |
#ls
dahdi-linux-complete-2.6.1+2.6.1 linux linux-kbuild-3.2 dahdi-linux-complete-current.tar.gz linux-headers-3.2.0-0.bpo.3-686-pae vpb-driver.tar.bz2 dahdi.tar.bz2 linux-headers-3.2.0-0.bpo.3-common |
#make all
make -C linux all make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz --2012-10-25 10:04:46-- http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz Распознаётся downloads.digium.com... 76.164.171.232, 2001:470:e0d4::e8 Устанавливается соединение с downloads.digium.com|76.164.171.232|:80... соединение установлено. Запрос HTTP послан, ожидается ответ... 200 OK Длина: 149360 (146K) [application/x-gzip] Saving to: «dahdi-fwload-vpmadt032-1.25.0.tar.gz» 100%[===============================================================>] 149.360 21,3K/s в 6,9s 2012-10-25 10:04:54 (21,3 KB/s) - «dahdi-fwload-vpmadt032-1.25.0.tar.gz» saved [149360/149360] make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.39-bpo.2-686-pae kernel installed. make[1]: *** [modules] Ошибка 1 make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make: *** [all] Ошибка 2 |
#make all
make -C linux all make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' Attempting to download dahdi-fwload-vpmadt032-1.25.0.tar.gz --2012-10-25 10:04:46-- http://downloads.digium.com/pub/telephony/firmware/releases/dahdi-fwload-vpmadt032-1.25.0.tar.gz Распознаётся downloads.digium.com... 76.164.171.232, 2001:470:e0d4::e8 Устанавливается соединение с downloads.digium.com|76.164.171.232|:80... соединение установлено. Запрос HTTP послан, ожидается ответ... 200 OK Длина: 149360 (146K) [application/x-gzip] Saving to: «dahdi-fwload-vpmadt032-1.25.0.tar.gz» 100%[===============================================================>] 149.360 21,3K/s в 6,9s 2012-10-25 10:04:54 (21,3 KB/s) - «dahdi-fwload-vpmadt032-1.25.0.tar.gz» saved [149360/149360] make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.39-bpo.2-686-pae kernel installed. make[1]: *** [modules] Ошибка 1 make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make: *** [all] Ошибка 2 |
#cd /usr/src/dahdi
dahdi-linux-complete-2.6.1+2.6.1/ dahdi-linux-complete-current.tar.gz dahdi.tar.bz2 |
#cd /usr/src/dahdi
dahdi-linux-complete-2.6.1+2.6.1/ dahdi-linux-complete-current.tar.gz dahdi.tar.bz2 |
#cd /usr/src/dahdi
dahdi-linux-complete-2.6.1+2.6.1/ dahdi-linux-complete-current.tar.gz dahdi.tar.bz2 |
#cd /usr/src/dahdi
dahdi-linux-complete-2.6.1+2.6.1/ dahdi-linux-complete-current.tar.gz dahdi.tar.bz2 |
#make all
make -C linux all make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' make -C /lib/modules/3.2.0-0.bpo.3-686-pae/build SUBDIRS=/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[2]: Entering directory `/usr/src/linux-headers-3.2.0-0.bpo.3-686-pae' CC [M] /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.o /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:91:2: warning: #warning "No CONFIG_BKL is an experimental configuration." /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:91:2: warning: #warning "No CONFIG_BKL is an experimental configuration." ... pod2man --section 8 dahdi_registration > dahdi_registration.8 || rm -f dahdi_registration.8 pod2man --section 8 xpp_sync > xpp_sync.8 || rm -f xpp_sync.8 pod2man --section 8 lsdahdi > lsdahdi.8 || rm -f lsdahdi.8 pod2man --section 8 xpp_blink > xpp_blink.8 || rm -f xpp_blink.8 pod2man --section 8 dahdi_genconf > dahdi_genconf.8 || rm -f dahdi_genconf.8 pod2man --section 8 dahdi_hardware > dahdi_hardware.8 || rm -f dahdi_hardware.8 pod2man --section 8 twinstar > twinstar.8 || rm -f twinstar.8 make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/tools/xpp' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/tools' make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/tools' |
#make all
make -C linux all make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' make -C /lib/modules/3.2.0-0.bpo.3-686-pae/build SUBDIRS=/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[2]: Entering directory `/usr/src/linux-headers-3.2.0-0.bpo.3-686-pae' CC [M] /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.o /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:91:2: warning: #warning "No CONFIG_BKL is an experimental configuration." /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/dahdi-base.c:91:2: warning: #warning "No CONFIG_BKL is an experimental configuration." ... pod2man --section 8 dahdi_registration > dahdi_registration.8 || rm -f dahdi_registration.8 pod2man --section 8 xpp_sync > xpp_sync.8 || rm -f xpp_sync.8 pod2man --section 8 lsdahdi > lsdahdi.8 || rm -f lsdahdi.8 pod2man --section 8 xpp_blink > xpp_blink.8 || rm -f xpp_blink.8 pod2man --section 8 dahdi_genconf > dahdi_genconf.8 || rm -f dahdi_genconf.8 pod2man --section 8 dahdi_hardware > dahdi_hardware.8 || rm -f dahdi_hardware.8 pod2man --section 8 twinstar > twinstar.8 || rm -f twinstar.8 make[3]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/tools/xpp' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/tools' make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/tools' |
#make install
make -C linux all make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' make -C /lib/modules/3.2.0-0.bpo.3-686-pae/build SUBDIRS=/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[2]: Entering directory `/usr/src/linux-headers-3.2.0-0.bpo.3-686-pae' VERSION /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/xpp_version.h Building modules, stage 2. MODPOST 31 modules ... /usr/bin/install -c -m 644 tonezone.h /usr/include/dahdi/ ################################################### ### ### DAHDI tools installed successfully. ### If you have not done so before, install init scripts with: ### ### make config ### ################################################### make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/tools' |
#make install
make -C linux all make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' make -C /lib/modules/3.2.0-0.bpo.3-686-pae/build SUBDIRS=/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[2]: Entering directory `/usr/src/linux-headers-3.2.0-0.bpo.3-686-pae' VERSION /usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/xpp_version.h Building modules, stage 2. MODPOST 31 modules ... /usr/bin/install -c -m 644 tonezone.h /usr/include/dahdi/ ################################################### ### ### DAHDI tools installed successfully. ### If you have not done so before, install init scripts with: ### ### make config ### ################################################### make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.6.1+2.6.1/tools' |
#modprobe -a
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...] modprobe -r [-n] [-i] [-v] <modulename> ... modprobe -l -t <dirname> [ -a <modulename> ...] |
#modprobe -a
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...] modprobe -r [-n] [-i] [-v] <modulename> ... modprobe -l -t <dirname> [ -a <modulename> ...] |
#modprobe -a
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...] modprobe -r [-n] [-i] [-v] <modulename> ... modprobe -l -t <dirname> [ -a <modulename> ...] |
#modprobe -a
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...] modprobe -r [-n] [-i] [-v] <modulename> ... modprobe -l -t <dirname> [ -a <modulename> ...] |
#vin /etc/asterisk/ext
extconfig.conf extensions.conf extensions.lua extensions.ael extensions.conf_old extensions_minivm.conf |
#vin /etc/asterisk/ext
extconfig.conf extensions.conf extensions.lua extensions.ael extensions.conf_old extensions_minivm.conf |
#vin /etc/asterisk/ext
extconfig.conf extensions.conf extensions.lua extensions.ael extensions.conf_old extensions_minivm.conf |
#vin /etc/asterisk/ext
extconfig.conf extensions.conf extensions.lua extensions.ael extensions.conf_old extensions_minivm.conf |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux8 (pid = 1593) linux8*CLI> meetme kick lock mute unlock unmute list ... linux8*CLI> dialplan reload Dialplan reloaded. [Oct 25 10:25:52] WARNING[8215]: pbx_config.c:1481 pbx_load_config: Can't use 'next' priority on the first entry at line 47! [Oct 25 10:25:58] NOTICE[1646]: chan_sip.c:20320 handle_request_invite: Call from '2301' to extension '9' rejected because extension not found in context 'gr3'. [Oct 25 10:26:02] NOTICE[8221]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/2301-00000000 of format ulaw since our native format has changed to 0x2 (gsm) linux8*CLI> dialplan reload Dialplan reloaded. [Oct 25 10:29:53] WARNING[8215]: pbx_config.c:1481 pbx_load_config: Can't use 'next' priority on the first entry at line 47! [Oct 25 10:29:53] WARNING[8215]: pbx_config.c:1532 pbx_load_config: The use of '_.' for an extension is strongly discouraged and can have unexpected behavior. Please use '_X.' instead at line 47 linux8*CLI> exit |
#asterisk -r
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux8 (pid = 1593) linux8*CLI> meetme kick lock mute unlock unmute list ... linux8*CLI> dialplan reload Dialplan reloaded. [Oct 25 10:25:52] WARNING[8215]: pbx_config.c:1481 pbx_load_config: Can't use 'next' priority on the first entry at line 47! [Oct 25 10:25:58] NOTICE[1646]: chan_sip.c:20320 handle_request_invite: Call from '2301' to extension '9' rejected because extension not found in context 'gr3'. [Oct 25 10:26:02] NOTICE[8221]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/2301-00000000 of format ulaw since our native format has changed to 0x2 (gsm) linux8*CLI> dialplan reload Dialplan reloaded. [Oct 25 10:29:53] WARNING[8215]: pbx_config.c:1481 pbx_load_config: Can't use 'next' priority on the first entry at line 47! [Oct 25 10:29:53] WARNING[8215]: pbx_config.c:1532 pbx_load_config: The use of '_.' for an extension is strongly discouraged and can have unexpected behavior. Please use '_X.' instead at line 47 linux8*CLI> exit |
#vim /etc/asterisk/meetme.conf
--- /tmp/l3-saved-2237.32588.1596 2012-10-25 10:30:28.000000000 +0300 +++ /etc/asterisk/meetme.conf 2012-10-25 10:31:19.000000000 +0300 @@ -33,7 +33,7 @@ ;endalert=120 ; [rooms] -conf => 100,1234 +conf => 100,1234,s2302 ; ; Usage is conf => confno[,pin][,adminpin] ; |
Время первой команды журнала | 13:17:36 2012-10-24 | ||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 09:30:24 2012-10-25 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 9.90 | ||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 3.15 | ||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.54 | ||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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