/l3/users/igor-public/sl-voip-2016-03/linux0.unix.sl/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 |
|
#;jbenable = yes ; Enables the use of a jitterbuffer on the receii
[gr2] include => local [gr2] include => res1 include => res2 [dongle] exten => +375447373039,1,Goto(menu,s,1) "/etc/asterisk/extensions.conf" 156L, 4506C written |
#;jbenable = yes ; Enables the use of a jitterbuffer on the receii
[gr2] include => local [gr2] include => res1 include => res2 [dongle] exten => +375447373039,1,Goto(menu,s,1) "/etc/asterisk/extensions.conf" 156L, 4506C written |
#ls /var/tmp/asterisk/text/b
belki.txt belki.wav burunduki.txt |
#exit
exit Connection to m2 closed. |
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on asterisk2 (pid = 9381) asterisk2*CLI> dialplan reload Dialplan reloaded. ... -- <Dongle/dongle0-0100000005> Playing '/var/tmp/asterisk/message11.gsm' (language 'en') -- Executing [1@submenu:1] AGI("Dongle/dongle0-0100000005", "/usr/local/bin/asterisk-festival.pl,/var/tmp/belki.txt") in new stack -- Launched AGI Script /usr/local/bin/asterisk-festival.pl -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70) -- <Dongle/dongle0-0100000005> Playing '/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70.slin' (language 'en') -- <Dongle/dongle0-0100000005>AGI Script /usr/local/bin/asterisk-festival.pl completed, returning 0 -- Auto fallthrough, channel 'Dongle/dongle0-0100000005' status is 'UNKNOWN' asterisk2*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on asterisk2 (pid = 9381) asterisk2*CLI> dialplan reload Dialplan reloaded. ... -- <Dongle/dongle0-0100000005> Playing '/var/tmp/asterisk/message11.gsm' (language 'en') -- Executing [1@submenu:1] AGI("Dongle/dongle0-0100000005", "/usr/local/bin/asterisk-festival.pl,/var/tmp/belki.txt") in new stack -- Launched AGI Script /usr/local/bin/asterisk-festival.pl -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70) -- <Dongle/dongle0-0100000005> Playing '/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70.slin' (language 'en') -- <Dongle/dongle0-0100000005>AGI Script /usr/local/bin/asterisk-festival.pl completed, returning 0 -- Auto fallthrough, channel 'Dongle/dongle0-0100000005' status is 'UNKNOWN' asterisk2*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#ssh m4
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 11:50:31 2016 from 192.168.40.1 l3-agent is already running: pid=1046; pidfile=/root/.lilalo/l3-agent.pid |
#ssh m4
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 11:50:31 2016 from 192.168.40.1 l3-agent is already running: pid=1046; pidfile=/root/.lilalo/l3-agent.pid |
#exten => +375255298990,1,Goto(menu,s,1)
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 9386) asterisk4*CLI> dialplan reload Dialplan reloaded. ... -- <SIP/1401-00000001>AGI Script /usr/local/bin/asterisk-festival.pl completed, returning 0 -- Executing [2@submenu:2] BackGround("SIP/1401-00000001", "/var/lib/asterisk/sounds/tts/tts-57b36a6ee0c3d41bf8c95e814ae58e22") in new stack [Apr 1 12:11:44] WARNING[9983][C-0000000c]: format_wav.c:146 check_header: Read failed (type) [Apr 1 12:11:44] WARNING[9983][C-0000000c]: file.c:398 fn_wrapper: Unable to open format wav [Apr 1 12:11:44] WARNING[9983][C-0000000c]: file.c:1017 ast_streamfile: Unable to open /var/lib/asterisk/sounds/tts/tts-57b36a6ee0c3d41bf8c95e814ae58e22 (format (ulaw)): No such file or directory [Apr 1 12:11:44] WARNING[9983][C-0000000c]: pbx.c:11463 pbx_builtin_background: ast_streamfile failed on SIP/1401-00000001 for /var/lib/asterisk/sounds/tts/tts-57b36a6ee0c3d41bf8c95e814ae58e22 -- Auto fallthrough, channel 'SIP/1401-00000001' status is 'UNKNOWN' asterisk4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#exten => +375255298990,1,Goto(menu,s,1)
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 9386) asterisk4*CLI> dialplan reload Dialplan reloaded. ... -- <SIP/1401-00000001>AGI Script /usr/local/bin/asterisk-festival.pl completed, returning 0 -- Executing [2@submenu:2] BackGround("SIP/1401-00000001", "/var/lib/asterisk/sounds/tts/tts-57b36a6ee0c3d41bf8c95e814ae58e22") in new stack [Apr 1 12:11:44] WARNING[9983][C-0000000c]: format_wav.c:146 check_header: Read failed (type) [Apr 1 12:11:44] WARNING[9983][C-0000000c]: file.c:398 fn_wrapper: Unable to open format wav [Apr 1 12:11:44] WARNING[9983][C-0000000c]: file.c:1017 ast_streamfile: Unable to open /var/lib/asterisk/sounds/tts/tts-57b36a6ee0c3d41bf8c95e814ae58e22 (format (ulaw)): No such file or directory [Apr 1 12:11:44] WARNING[9983][C-0000000c]: pbx.c:11463 pbx_builtin_background: ast_streamfile failed on SIP/1401-00000001 for /var/lib/asterisk/sounds/tts/tts-57b36a6ee0c3d41bf8c95e814ae58e22 -- Auto fallthrough, channel 'SIP/1401-00000001' status is 'UNKNOWN' asterisk4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#ssh m1
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 11:37:17 2016 from 192.168.10.1 l3-agent is already running: pid=6921; pidfile=/root/.lilalo/l3-agent.pid |
#ssh m1
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 11:37:17 2016 from 192.168.10.1 l3-agent is already running: pid=6921; pidfile=/root/.lilalo/l3-agent.pid |
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on Asterisk1 (pid = 9790) Asterisk1*CLI> Asterisk1*CLI> ... Asterisk1*CLI> dongle s show sms start stop Asterisk1*CLI> dongle show devi device devices Asterisk1*CLI> dongle show devices ID Group State RSSI Mode Submode Provider Name Model Firmware IMEI IMSI Number dongle0 0 Free 19 0 0 BY VELCOM E173 11.126.85.00.327 352216040459980 257010021553861 Unknown Asterisk1*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on Asterisk1 (pid = 9790) Asterisk1*CLI> Asterisk1*CLI> ... Asterisk1*CLI> dongle s show sms start stop Asterisk1*CLI> dongle show devi device devices Asterisk1*CLI> dongle show devices ID Group State RSSI Mode Submode Provider Name Model Firmware IMEI IMSI Number dongle0 0 Free 19 0 0 BY VELCOM E173 11.126.85.00.327 352216040459980 257010021553861 Unknown Asterisk1*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#ssh m3
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 11:42:49 2016 from 192.168.30.1 l3-agent is already running: pid=929; pidfile=/root/.lilalo/l3-agent.pid |
#ssh m3
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 11:42:49 2016 from 192.168.30.1 l3-agent is already running: pid=929; pidfile=/root/.lilalo/l3-agent.pid |
#ssh m1
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 12:23:43 2016 from 192.168.10.1 l3-agent is already running: pid=6921; pidfile=/root/.lilalo/l3-agent.pid |
#ssh m1
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 12:23:43 2016 from 192.168.10.1 l3-agent is already running: pid=6921; pidfile=/root/.lilalo/l3-agent.pid |
#exten => _11XX,1,macro(call)
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on Asterisk1 (pid = 9790) Asterisk1*CLI> == Using SIP RTP CoS mark 5 ... == Everyone is busy/congested at this time (1:0/0/1) -- Auto fallthrough, channel 'SIP/1101-00000002' status is 'CHANUNAVAIL' Asterisk1*CLI> dongle show dev device devices Asterisk1*CLI> dongle show devices ID Group State RSSI Mode Submode Provider Name Model Firmware IMEI IMSI Number dongle0 0 Free 19 0 0 BY VELCOM E173 11.126.85.00.327 352216040459980 257010021553861 Unknown Asterisk1*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#exten => _11XX,1,macro(call)
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on Asterisk1 (pid = 9790) Asterisk1*CLI> == Using SIP RTP CoS mark 5 ... == Everyone is busy/congested at this time (1:0/0/1) -- Auto fallthrough, channel 'SIP/1101-00000002' status is 'CHANUNAVAIL' Asterisk1*CLI> dongle show dev device devices Asterisk1*CLI> dongle show devices ID Group State RSSI Mode Submode Provider Name Model Firmware IMEI IMSI Number dongle0 0 Free 19 0 0 BY VELCOM E173 11.126.85.00.327 352216040459980 257010021553861 Unknown Asterisk1*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#less /usr/src/dongle-asterisk-11-patched
|
#less /usr/src/dongle-asterisk-11-patched
|
#less /usr/src/dongle-asterisk-11-patched/etc/
|
#less /usr/src/dongle-asterisk-11-patched/etc/dongle.conf
|
#less /usr/src/dongle-asterisk-11-patched/etc/
|
#less /usr/src/dongle-asterisk-11-patched/etc/dongle.conf
|
#dongle.conf
exten => s,1,Read(ORDER,/var/tmp/asterisk/message00) exten => s,n,Playback(/var/tmp/asterisk/message01) exten => s,n,SayDigits(${ORDER}) exten => s,n,Playback(/var/tmp/asterisk/message0${DB(order/${ORDER})}) exten => s,n,Goto(menu,s,start) [submenu] exten => s,1,Answer exten => s,n,Background(/var/tmp/asterisk/message11) "/etc/asterisk/extensions.conf" 133L, 4065C exten => sms,1,System(echo ${} >> /tmp/log.txt) #exten => 4000,1,Playback(demo-thanks) exten => _40XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm) ( ${SMS} >> /tmp/log.txt) exten => _40XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2}) exten => _41XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2}) exten => _2[1234]XX,1,Dial(SIP/warsaw/${EXTEN}) "/etc/asterisk/extensions.conf" 133L, 4068C written |
#dongle.conf
exten => sms,1,System(echo ${} >> /tmp/log.txt) #exten => 4000,1,Playback(demo-thanks) exten => _40XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm) ( ${SMS} >> /tmp/log.txt) exten => _40XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2}) exten => _41XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2}) exten => _2[1234]XX,1,Dial(SIP/warsaw/${EXTEN}) "/etc/asterisk/extensions.conf" 133L, 4068C written |
#dongle.conf
asterisk -rvvv Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on Asterisk1 (pid = 10382) Asterisk1*CLI> dialplan reload ... Asterisk1*CLI> [dongle0] Got SMS from +375447000505: 'Ку' [Apr 1 12:40:22] WARNING[10502][C-00000000]: pbx.c:6646 __ast_pbx_run: Channel 'Local/sms@dongle-00000000;1' sent to invalid extension but no invalid handler: context,exten,priority=dongle,sms,1 [Apr 1 12:40:57] NOTICE[10406]: chan_sip.c:27846 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102 -- Registered SIP '1102' at 192.168.10.202:61328 [Apr 1 12:41:08] NOTICE[10406]: chan_sip.c:23561 handle_response_peerpoke: Peer '1102' is now Reachable. (5ms / 2000ms) [Apr 1 12:41:08] NOTICE[10406]: chan_sip.c:27846 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102 Asterisk1*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#dongle.conf
asterisk -rvvv Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on Asterisk1 (pid = 10382) Asterisk1*CLI> dialplan reload ... Asterisk1*CLI> [dongle0] Got SMS from +375447000505: 'Ку' [Apr 1 12:40:22] WARNING[10502][C-00000000]: pbx.c:6646 __ast_pbx_run: Channel 'Local/sms@dongle-00000000;1' sent to invalid extension but no invalid handler: context,exten,priority=dongle,sms,1 [Apr 1 12:40:57] NOTICE[10406]: chan_sip.c:27846 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102 -- Registered SIP '1102' at 192.168.10.202:61328 [Apr 1 12:41:08] NOTICE[10406]: chan_sip.c:23561 handle_response_peerpoke: Peer '1102' is now Reachable. (5ms / 2000ms) [Apr 1 12:41:08] NOTICE[10406]: chan_sip.c:27846 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1102 Asterisk1*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#vim /etc/asterisk/extensions.conf
|
#ssh m8
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 11:50:42 2016 from 192.168.80.1 l3-agent is already running: pid=9003; pidfile=/root/.lilalo/l3-agent.pid |
#ssh m8
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 11:50:42 2016 from 192.168.80.1 l3-agent is already running: pid=9003; pidfile=/root/.lilalo/l3-agent.pid |
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on asterick8 (pid = 11954) asterick8*CLI> asterick8*CLI> dialplan reload ... asterick8*CLI> == Using SIP RTP CoS mark 5 -- Executing [80297724454@gr1:1] Dial("SIP/2401-00000001", "Dongle/dongle0/+375") in new stack -- Called Dongle/dongle0/+375 -- Dongle/dongle0-0100000001 is making progress passing it to SIP/2401-00000001 == Everyone is busy/congested at this time (1:0/0/1) -- Auto fallthrough, channel 'SIP/2401-00000001' status is 'CHANUNAVAIL' asterick8*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on asterick8 (pid = 11954) asterick8*CLI> asterick8*CLI> dialplan reload ... asterick8*CLI> == Using SIP RTP CoS mark 5 -- Executing [80297724454@gr1:1] Dial("SIP/2401-00000001", "Dongle/dongle0/+375") in new stack -- Called Dongle/dongle0/+375 -- Dongle/dongle0-0100000001 is making progress passing it to SIP/2401-00000001 == Everyone is busy/congested at this time (1:0/0/1) -- Auto fallthrough, channel 'SIP/2401-00000001' status is 'CHANUNAVAIL' asterick8*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#ssh m1
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 12:30:32 2016 from 192.168.10.1 l3-agent is already running: pid=6921; pidfile=/root/.lilalo/l3-agent.pid |
#ssh m1
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Apr 1 12:30:32 2016 from 192.168.10.1 l3-agent is already running: pid=6921; pidfile=/root/.lilalo/l3-agent.pid |
#apt-cache search dahdi asterisk
asterisk-dahdi - DAHDI devices support for the Asterisk PBX dahdi-linux - DAHDI telephony interface - Linux userspace parts dahdi-source - DAHDI telephony interface - source code for kernel driver dahdi - utilities for using the DAHDI kernel modules libopenr2-3 - MFC/R2 (telephony) call setup library |
#apt-cache search dahdi asterisk
asterisk-dahdi - DAHDI devices support for the Asterisk PBX dahdi-linux - DAHDI telephony interface - Linux userspace parts dahdi-source - DAHDI telephony interface - source code for kernel driver dahdi - utilities for using the DAHDI kernel modules libopenr2-3 - MFC/R2 (telephony) call setup library |
#apt-get install asterisk-dahdi dahdi-linux
Reading package lists... Done Building dependency tree Reading state information... Done asterisk-dahdi is already the newest version. dahdi-linux is already the newest version. dahdi-linux set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. |
#apt-get install asterisk-dahdi dahdi-linux
Reading package lists... Done Building dependency tree Reading state information... Done asterisk-dahdi is already the newest version. dahdi-linux is already the newest version. dahdi-linux set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. |
#vim /etc/asterisk/chan_dahdi.conf
--- /tmp/l3-saved-18675.10850.3705 2016-04-01 12:47:28.979963553 +0300 +++ /etc/asterisk/chan_dahdi.conf 2016-04-01 12:50:04.615966309 +0300 @@ -1615,3 +1615,14 @@ ;[phone-3](phones) ;dahdichan = 3 ;pickupgroup = 3,4 + + +[pri1] + +;echocancel = 64 +group = 1 +context = incoming-beltelekom +channel => 1-8 + +; Dial(DAHDI/group1/+375445005050) + |
#dahdi_
dahdi_cfg dahdi_scan dahdi_genconf dahdi_span_assignments dahdi_hardware dahdi_span_types dahdi_maint dahdi_test dahdi_monitor dahdi_tool dahdi_registration dahdi_waitfor_span_assignments |
#dahdi_
dahdi_cfg dahdi_scan dahdi_genconf dahdi_span_assignments dahdi_hardware dahdi_span_types dahdi_maint dahdi_test dahdi_monitor dahdi_tool dahdi_registration dahdi_waitfor_span_assignments |
#dahdi_genconf
Empty configuration -- no spans /usr/sbin/dahdi_span_assignments: Missing '/sys/bus/dahdi_devices/devices' (DAHDI driver unloaded?) Command failed (status=256): 'dahdi_span_assignments dumpconfig > /etc/dahdi/assigned-spans.conf' at /usr/share/perl5/Dahdi/Config/Gen/Assignedspans.pm line 40, <ATTR> line 8. |
#dahdi_genconf
Empty configuration -- no spans /usr/sbin/dahdi_span_assignments: Missing '/sys/bus/dahdi_devices/devices' (DAHDI driver unloaded?) Command failed (status=256): 'dahdi_span_assignments dumpconfig > /etc/dahdi/assigned-spans.conf' at /usr/share/perl5/Dahdi/Config/Gen/Assignedspans.pm line 40, <ATTR> line 8. |
#/home/user/bin/all l3-agent
|
Время первой команды журнала | 10:54:31 2016- 4- 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 13:05:01 2016- 4- 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 1.98 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.93 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.80 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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