/l3/users/vadik/nt-voip/linux1.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 |
|
#vi extensions.conf
--- /tmp/l3-saved-2251.24376.1216 2011-10-18 15:54:31.000000000 +0300 +++ extensions.conf 2011-10-18 15:55:26.000000000 +0300 @@ -14,6 +14,8 @@ exten => _31XX,1,Dial(SIP/msk/${EXTEN}) [internal] +exten => 1197,1,VoicemailMain() + exten => 1199,1,Playback(demo-thanks) exten => 1199,n,Playback(demo-thanks) exten => 1199,n,Playback(demo-thanks) |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 <--- SIP read from UDP:192.168.10.200:53558 ---> ... Supported: replaces, timer Expires: 100 Contact: <sip:1102@192.168.10.200:53558;rinstance=2535e764b9d4e490;transport=udp>;expires=100 Date: Tue, 18 Oct 2011 12:59:16 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog 'ODRiYmVlOGY2OTRlZTllZTQwOWJlNDAwOWRkZDA2NWI.' in 32000 ms (Method: REGISTER) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 <--- SIP read from UDP:192.168.10.200:53558 ---> ... Supported: replaces, timer Expires: 100 Contact: <sip:1102@192.168.10.200:53558;rinstance=2535e764b9d4e490;transport=udp>;expires=100 Date: Tue, 18 Oct 2011 12:59:16 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog 'ODRiYmVlOGY2OTRlZTllZTQwOWJlNDAwOWRkZDA2NWI.' in 32000 ms (Method: REGISTER) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#wget http://www.ivrvoice.ru/downloader/download/file/11
--2011-10-18 15:59:36-- http://www.ivrvoice.ru/downloader/download/file/11 Распознаётся www.ivrvoice.ru... 195.242.215.39 Устанавливается соединение с www.ivrvoice.ru|195.242.215.39|:80... соединение установлено. Запрос HTTP послан, ожидается ответ... 302 Found Адрес: http://www.ivrvoice.ru/downloader/download/file/11/asterisk-sounds-ru-gsm-2010-04-28.tar.gz [переход] --2011-10-18 15:59:37-- http://www.ivrvoice.ru/downloader/download/file/11/asterisk-sounds-ru-gsm-2010-04-28.tar.gz Повторное использование соединения с www.ivrvoice.ru:80. Запрос HTTP послан, ожидается ответ... 200 Ok Длина: 2452777 (2,3M) [application/octet-stream] Saving to: «11» 100%[======================================>] 2 452 777 2,80M/s в 0,8s 2011-10-18 15:59:38 (2,80 MB/s) - «11» saved [2452777/2452777] |
#wget http://www.ivrvoice.ru/downloader/download/file/11
--2011-10-18 15:59:36-- http://www.ivrvoice.ru/downloader/download/file/11 Распознаётся www.ivrvoice.ru... 195.242.215.39 Устанавливается соединение с www.ivrvoice.ru|195.242.215.39|:80... соединение установлено. Запрос HTTP послан, ожидается ответ... 302 Found Адрес: http://www.ivrvoice.ru/downloader/download/file/11/asterisk-sounds-ru-gsm-2010-04-28.tar.gz [переход] --2011-10-18 15:59:37-- http://www.ivrvoice.ru/downloader/download/file/11/asterisk-sounds-ru-gsm-2010-04-28.tar.gz Повторное использование соединения с www.ivrvoice.ru:80. Запрос HTTP послан, ожидается ответ... 200 Ok Длина: 2452777 (2,3M) [application/octet-stream] Saving to: «11» 100%[======================================>] 2 452 777 2,80M/s в 0,8s 2011-10-18 15:59:38 (2,80 MB/s) - «11» saved [2452777/2452777] |
#ls
11 mc-root seahorse-nVmB48 gnash-cookies.2274 orbit-Debian-gdm ssh-QXUSft1862 keyring-PSIg5j orbit-user virtual-user.0dKPWm |
#ls
11 mc-root seahorse-nVmB48 gnash-cookies.2274 orbit-Debian-gdm ssh-QXUSft1862 keyring-PSIg5j orbit-user virtual-user.0dKPWm |
#ls -l
11 mc-root/ ssh-QXUSft1862/ gnash-cookies.2274 orbit-Debian-gdm/ virtual-user.0dKPWm/ .ICE-unix/ orbit-user/ .X0-lock keyring-PSIg5j/ seahorse-nVmB48/ .X11-unix/ |
#ls -l 11
-rw-r--r-- 1 root root 2452777 Апр 28 2010 11 |
#ls -l
11 mc-root/ ssh-QXUSft1862/ gnash-cookies.2274 orbit-Debian-gdm/ virtual-user.0dKPWm/ .ICE-unix/ orbit-user/ .X0-lock keyring-PSIg5j/ seahorse-nVmB48/ .X11-unix/ |
#ls -l 11
-rw-r--r-- 1 root root 2452777 Апр 28 2010 11 |
#vi sip.conf
--- /tmp/l3-saved-2251.25740.22757 2011-10-18 16:04:57.000000000 +0300 +++ sip.conf 2011-10-18 16:05:16.000000000 +0300 @@ -6,6 +6,9 @@ tcpbindaddr=0.0.0.0 srvlookup=yes canreinvite=no + +language=ru + register => kv:1234@192.168.20.1/lv register => kv:1234@192.168.50.1/tbs register => kv:1234@192.168.70.1/msk |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> sip reload ... Scheduling destruction of SIP dialog 'ODRiYmVlOGY2OTRlZTllZTQwOWJlNDAwOWRkZDA2NWI.' in 32000 ms (Method: REGISTER) <--- SIP read from UDP:192.168.10.200:53558 ---> <-------------> Really destroying SIP dialog '035bc7a33693e5ff76bd0d6b6744b93d@192.168.10.1' Method: REGISTER Really destroying SIP dialog '55a0de425aea57b823c17a09455c52a4@192.168.10.1' Method: REGISTER Really destroying SIP dialog '1f3a1d4f6e4f351e77b2b92f50fa988a@192.168.10.1' Method: REGISTER Really destroying SIP dialog 'ODRiYmVlOGY2OTRlZTllZTQwOWJlNDAwOWRkZDA2NWI.' Method: REGISTER linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> sip reload ... Scheduling destruction of SIP dialog 'ODRiYmVlOGY2OTRlZTllZTQwOWJlNDAwOWRkZDA2NWI.' in 32000 ms (Method: REGISTER) <--- SIP read from UDP:192.168.10.200:53558 ---> <-------------> Really destroying SIP dialog '035bc7a33693e5ff76bd0d6b6744b93d@192.168.10.1' Method: REGISTER Really destroying SIP dialog '55a0de425aea57b823c17a09455c52a4@192.168.10.1' Method: REGISTER Really destroying SIP dialog '1f3a1d4f6e4f351e77b2b92f50fa988a@192.168.10.1' Method: REGISTER Really destroying SIP dialog 'ODRiYmVlOGY2OTRlZTllZTQwOWJlNDAwOWRkZDA2NWI.' Method: REGISTER linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#less extensions.conf
|
#vi sip.conf
--- /tmp/l3-saved-2251.10119.4885 2011-10-18 16:15:41.000000000 +0300 +++ sip.conf 2011-10-18 16:19:40.000000000 +0300 @@ -19,6 +19,7 @@ host=dynamic callerid="Kiev" context=gr3 +mailbox=3101@default [1102] type=friend |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> sip reload ... Server: Asterisk PBX 1.6.2.9-2+squeeze3 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Length: 0 <------------> == Spawn extension (gr3, 1197, 1) exited non-zero on 'SIP/1101-000003f5' Really destroying SIP dialog '3c26cada7feb-ou126jw5c4pl' Method: BYE linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> sip reload ... Server: Asterisk PBX 1.6.2.9-2+squeeze3 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Length: 0 <------------> == Spawn extension (gr3, 1197, 1) exited non-zero on 'SIP/1101-000003f5' Really destroying SIP dialog '3c26cada7feb-ou126jw5c4pl' Method: BYE linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#ls
adsi.conf extconfig.conf osp.conf adtranvofr.conf extensions.ael oss.conf agents.conf extensions.conf phone.conf ais.conf extensions.conf0 phoneprov.conf alarmreceiver.conf extensions.lua queuerules.conf alsa.conf extensions_minivm.conf queues.conf amd.conf features.conf res_config_sqlite.conf asterisk.adsi festival.conf res_ldap.conf asterisk.conf followme.conf res_odbc.conf cdr_adaptive_odbc.conf func_odbc.conf res_pgsql.conf ... cli_aliases.conf logger.conf sla.conf cli.conf manager.conf smdi.conf cli_permissions.conf manager.d telcordia-1.adsi codecs.conf meetme.conf udptl.conf console.conf mgcp.conf unistim.conf dbsep.conf minivm.conf usbradio.conf dnsmgr.conf misdn.conf users.conf dsp.conf modules.conf voicemail.conf dundi.conf musiconhold.conf voicemail.conf0 enum.conf muted.conf vpb.conf |
#ls
adsi.conf extconfig.conf osp.conf adtranvofr.conf extensions.ael oss.conf agents.conf extensions.conf phone.conf ais.conf extensions.conf0 phoneprov.conf alarmreceiver.conf extensions.lua queuerules.conf alsa.conf extensions_minivm.conf queues.conf amd.conf features.conf res_config_sqlite.conf asterisk.adsi festival.conf res_ldap.conf asterisk.conf followme.conf res_odbc.conf cdr_adaptive_odbc.conf func_odbc.conf res_pgsql.conf ... cli_aliases.conf logger.conf sla.conf cli.conf manager.conf smdi.conf cli_permissions.conf manager.d telcordia-1.adsi codecs.conf meetme.conf udptl.conf console.conf mgcp.conf unistim.conf dbsep.conf minivm.conf usbradio.conf dnsmgr.conf misdn.conf users.conf dsp.conf modules.conf voicemail.conf dundi.conf musiconhold.conf voicemail.conf0 enum.conf muted.conf vpb.conf |
#less voicemail.conf
|
#vi sip.conf
--- /tmp/l3-saved-2251.31405.9490 2011-10-18 16:30:21.000000000 +0300 +++ sip.conf 2011-10-18 16:30:32.000000000 +0300 @@ -19,7 +19,7 @@ host=dynamic callerid="Kiev" context=gr3 -mailbox=3101@default +mailbox=1101@default [1102] type=friend |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> sip reload ... Really destroying SIP dialog '3270f84b79fba4e646f5604a26b3f4ea@192.168.20.1' Method: REGISTER Really destroying SIP dialog '60bada14208d6e622a4324d64b87f61a@192.168.50.1' Method: REGISTER Really destroying SIP dialog '19a34b743a4c19d22473afae50fa7be3@192.168.50.1' Method: REGISTER Really destroying SIP dialog '24c83f84073ed2293749c024245692a5@192.168.10.1' Method: REGISTER Really destroying SIP dialog '4b13e5f215cbf89361c3f5f1567cdf4c@192.168.10.1' Method: REGISTER Really destroying SIP dialog '341d15311b3400002d08bae476de9729@192.168.10.1' Method: REGISTER linux1*CLI> linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> sip reload ... Really destroying SIP dialog '3270f84b79fba4e646f5604a26b3f4ea@192.168.20.1' Method: REGISTER Really destroying SIP dialog '60bada14208d6e622a4324d64b87f61a@192.168.50.1' Method: REGISTER Really destroying SIP dialog '19a34b743a4c19d22473afae50fa7be3@192.168.50.1' Method: REGISTER Really destroying SIP dialog '24c83f84073ed2293749c024245692a5@192.168.10.1' Method: REGISTER Really destroying SIP dialog '4b13e5f215cbf89361c3f5f1567cdf4c@192.168.10.1' Method: REGISTER Really destroying SIP dialog '341d15311b3400002d08bae476de9729@192.168.10.1' Method: REGISTER linux1*CLI> linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> d ... Expires: 120 Contact: <sip:kv@192.168.20.1>;expires=120 Date: Tue, 18 Oct 2011 13:39:29 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog '3270f84b79fba4e646f5604a26b3f4ea@192.168.20.1' in 32000 ms (Method: REGISTER) Really destroying SIP dialog '3c26cddaaee9-6idr41ldp4nn' Method: ACK linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> d ... Expires: 120 Contact: <sip:kv@192.168.20.1>;expires=120 Date: Tue, 18 Oct 2011 13:39:29 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog '3270f84b79fba4e646f5604a26b3f4ea@192.168.20.1' in 32000 ms (Method: REGISTER) Really destroying SIP dialog '3c26cddaaee9-6idr41ldp4nn' Method: ACK linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#[ ]
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> sip reload ... Supported: replaces, timer Expires: 120 Contact: <sip:kv@192.168.50.1>;expires=120 Date: Tue, 18 Oct 2011 13:50:00 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog '19a34b743a4c19d22473afae50fa7be3@192.168.50.1' in 32000 ms (Method: REGISTER) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#[ ]
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> sip reload ... Supported: replaces, timer Expires: 120 Contact: <sip:kv@192.168.50.1>;expires=120 Date: Tue, 18 Oct 2011 13:50:00 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog '19a34b743a4c19d22473afae50fa7be3@192.168.50.1' in 32000 ms (Method: REGISTER) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#vi sip.conf
--- /tmp/l3-saved-2251.18294.6234 2011-10-18 16:50:07.000000000 +0300 +++ sip.conf 2011-10-18 16:50:28.000000000 +0300 @@ -27,6 +27,7 @@ host=dynamic callerid="Kiev" context=gr1 +mailbox=1102@default [lv] type=friend |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 Really destroying SIP dialog '60bada14208d6e622a4324d64b87f61a@192.168.50.1' Method: REGISTER ... Supported: replaces, timer Expires: 120 Contact: <sip:kv@192.168.20.1>;expires=120 Date: Tue, 18 Oct 2011 13:51:30 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog '66efbb6927064aba5119a33254e09f12@192.168.20.1' in 32000 ms (Method: REGISTER) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 Really destroying SIP dialog '60bada14208d6e622a4324d64b87f61a@192.168.50.1' Method: REGISTER ... Supported: replaces, timer Expires: 120 Contact: <sip:kv@192.168.20.1>;expires=120 Date: Tue, 18 Oct 2011 13:51:30 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog '66efbb6927064aba5119a33254e09f12@192.168.20.1' in 32000 ms (Method: REGISTER) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> ... Supported: replaces, timer Expires: 100 Contact: <sip:1102@192.168.10.200:54434;rinstance=bd3a1bc45a1d4f02;transport=udp>;expires=100 Date: Tue, 18 Oct 2011 13:59:29 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog 'OTg5NjEzYTZhZmIwOWNmOTgzYzQ4N2MyNDU5MGViMTQ.' in 32000 ms (Method: REGISTER) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> ... Supported: replaces, timer Expires: 100 Contact: <sip:1102@192.168.10.200:54434;rinstance=bd3a1bc45a1d4f02;transport=udp>;expires=100 Date: Tue, 18 Oct 2011 13:59:29 GMT Content-Length: 0 <------------> Scheduling destruction of SIP dialog 'OTg5NjEzYTZhZmIwOWNmOTgzYzQ4N2MyNDU5MGViMTQ.' in 32000 ms (Method: REGISTER) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#-- ВСТАВКА --
[internal] _1 (1 { } ) exten => _118X,n,VoicemailMain(310${EXTEN:3},s) _1 n( ) n(1 ) exten => _118X,n,Hangup include => local [gr2] [gr2] [gr1] include => internal include => local "extensions.conf" 48L, 1051C записано |
#-- ВСТАВКА --
exten => 1198,1,Record(/var/lib/asterisk/sounds/recorded-voice:gsm,2) exten => 1198,n,Playback(/var/lib/asterisk/sounds/recorded-voice) [gr1] [gr1] include => local [gr2] [gr2] include => local include => internal 35,1 54% [internal] _1 (1 { } ) exten => _118X,n,VoicemailMain(310${EXTEN:3},s) _1 n( ) n(1 ) exten => _118X,n,Hangup [gr1] include => internal include => local "extensions.conf" 48L, 1051C записано |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> dialplan reload ... Contact: <sip:lv@192.168.10.1>;expires=120 Date: Tue, 18 Oct 2011 14:01:03 GMT Content-Length: 0 <-------------> --- (13 headers 0 lines) --- Scheduling destruction of SIP dialog '088776cb33d7554b62d342233089dbb0@192.168.10.1' in 32000 ms (Method: REGISTER) [Oct 18 17:01:03] NOTICE[1303]: chan_sip.c:18392 handle_response_register: Outbound Registration: Expiry for 192.168.20.1 is 120 sec (Scheduling reregistration in 105 s) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> dialplan reload ... Contact: <sip:lv@192.168.10.1>;expires=120 Date: Tue, 18 Oct 2011 14:01:03 GMT Content-Length: 0 <-------------> --- (13 headers 0 lines) --- Scheduling destruction of SIP dialog '088776cb33d7554b62d342233089dbb0@192.168.10.1' in 32000 ms (Method: REGISTER) [Oct 18 17:01:03] NOTICE[1303]: chan_sip.c:18392 handle_response_register: Outbound Registration: Expiry for 192.168.20.1 is 120 sec (Scheduling reregistration in 105 s) linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> ... To: <sip:1101@192.168.10.201:2052;line=zb8mvzkl>;tag=eyfy8fhjhn Call-ID: 3c26702c38c6-rgkezzwo1xcm CSeq: 106 NOTIFY Content-Length: 0 <-------------> --- (7 headers 0 lines) --- Really destroying SIP dialog '3c267382043e-4jjlc67e2exl' Method: BYE linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> ... To: <sip:1101@192.168.10.201:2052;line=zb8mvzkl>;tag=eyfy8fhjhn Call-ID: 3c26702c38c6-rgkezzwo1xcm CSeq: 106 NOTIFY Content-Length: 0 <-------------> --- (7 headers 0 lines) --- Really destroying SIP dialog '3c267382043e-4jjlc67e2exl' Method: BYE linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> ... CSeq: 2 ACK Max-Forwards: 70 Contact: <sip:1101@192.168.10.201:2052;line=zb8mvzkl>;reg-id=1 Content-Length: 0 <-------------> --- (9 headers 0 lines) --- Really destroying SIP dialog '3c2675c6374c-4u0fj58emo9e' Method: ACK linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux1 (pid = 1256) Verbosity is at least 10 linux1*CLI> ... CSeq: 2 ACK Max-Forwards: 70 Contact: <sip:1101@192.168.10.201:2052;line=zb8mvzkl>;reg-id=1 Content-Length: 0 <-------------> --- (9 headers 0 lines) --- Really destroying SIP dialog '3c2675c6374c-4u0fj58emo9e' Method: ACK linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#[local]
;! ;! Automatically generated configuration file ;! Filename: voicemail.conf (/etc/asterisk/voicemail.conf) ;! Generator: AppVoicemail ;! Creation Date: Tue Oct 18 16:27:23 2011 ;! ; ; Voicemail Configuration ; ; ... ;directoryintro=dir-company2 1234 => 5678,Company2 User,root@localhost ; example for our acme compartmentalized company ; ; Pete telecommutes from Chicago, so we'll customize timestamps for him. ; ;[acme] ;111 => 7383,Pete,pete@acme-widgets.com,,tz=central ;112 => 6262,Nancy,nancy@acme-widgets.com ; |
#[local]
;! ;! Automatically generated configuration file ;! Filename: voicemail.conf (/etc/asterisk/voicemail.conf) ;! Generator: AppVoicemail ;! Creation Date: Tue Oct 18 16:27:23 2011 ;! ; ; Voicemail Configuration ; ; ... ; ;[imapvm] ;4324 => 7764,Ellis Redding,red@buxton.us,,imapuser=eredding|imappassword=g3tbusy ;4325 => 2392,Andrew Dufresne,andy@dufresne.info,,imapuser=adufresne|imappassword=rockh@mmer european = Europe/Copenhagen|'vm-received' a d b 'digits/at' HM [default] 1101 => 4321,Test Test,user@linux1.unix.nt ;111 => 7383,Pete,pete@acme-widgets.com,,tz=central ;112 => 6262,Nancy,nancy@acme-widgets.com ; |
#dmesg
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.39-bpo.2-686-pae (Debian 2.6.39-3~bpo60+1) (norbert@tretkowski.de) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Thu Aug 4 11:02:22 UTC 2011 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009bc00 (usable) [ 0.000000] BIOS-e820: 000000000009bc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 0000000020000000 (usable) [ 0.000000] BIOS-e820: 0000000020000000 - 0000000020200000 (reserved) [ 0.000000] BIOS-e820: 0000000020200000 - 0000000040000000 (usable) ... [ 606.346480] usb 2-1.8: Manufacturer: Logitech [ 606.348783] input: Logitech Optical USB Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/input/input7 [ 606.348905] generic-usb 0003:046D:C016.0003: input,hidraw2: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.0-1.8/input0 [ 644.951458] usb 2-1.8: USB disconnect, device number 3 [ 1305.800123] device eth0 entered promiscuous mode [ 1305.805552] device lo entered promiscuous mode [ 1344.983105] device eth0 left promiscuous mode [ 1345.037375] device lo left promiscuous mode [ 1351.257683] device eth0 entered promiscuous mode [ 1782.896069] device eth0 left promiscuous mode |
#dmesg
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.39-bpo.2-686-pae (Debian 2.6.39-3~bpo60+1) (norbert@tretkowski.de) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Thu Aug 4 11:02:22 UTC 2011 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009bc00 (usable) [ 0.000000] BIOS-e820: 000000000009bc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 0000000020000000 (usable) [ 0.000000] BIOS-e820: 0000000020000000 - 0000000020200000 (reserved) [ 0.000000] BIOS-e820: 0000000020200000 - 0000000040000000 (usable) ... [ 606.346480] usb 2-1.8: Manufacturer: Logitech [ 606.348783] input: Logitech Optical USB Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.8/2-1.8:1.0/input/input7 [ 606.348905] generic-usb 0003:046D:C016.0003: input,hidraw2: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:1d.0-1.8/input0 [ 644.951458] usb 2-1.8: USB disconnect, device number 3 [ 1305.800123] device eth0 entered promiscuous mode [ 1305.805552] device lo entered promiscuous mode [ 1344.983105] device eth0 left promiscuous mode [ 1345.037375] device lo left promiscuous mode [ 1351.257683] device eth0 entered promiscuous mode [ 1782.896069] device eth0 left promiscuous mode |
#tail -f /var/log/messages
Oct 18 17:03:16 linux1 dhcpd: DHCPREQUEST for 192.168.10.200 from f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 Oct 18 17:03:16 linux1 dhcpd: DHCPACK on 192.168.10.200 to f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 Oct 18 17:07:36 linux1 dhcpd: DHCPREQUEST for 192.168.10.201 from 00:04:13:24:e5:7e via eth0 Oct 18 17:07:36 linux1 dhcpd: DHCPACK on 192.168.10.201 to 00:04:13:24:e5:7e via eth0 Oct 18 17:08:16 linux1 dhcpd: DHCPREQUEST for 192.168.10.200 from f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 Oct 18 17:08:16 linux1 dhcpd: DHCPACK on 192.168.10.200 to f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 Oct 18 17:12:36 linux1 dhcpd: DHCPREQUEST for 192.168.10.201 from 00:04:13:24:e5:7e via eth0 Oct 18 17:12:36 linux1 dhcpd: DHCPACK on 192.168.10.201 to 00:04:13:24:e5:7e via eth0 Oct 18 17:13:16 linux1 dhcpd: DHCPREQUEST for 192.168.10.200 from f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 Oct 18 17:13:16 linux1 dhcpd: DHCPACK on 192.168.10.200 to f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 ^C |
#tail -f /var/log/messages
Oct 18 17:03:16 linux1 dhcpd: DHCPREQUEST for 192.168.10.200 from f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 Oct 18 17:03:16 linux1 dhcpd: DHCPACK on 192.168.10.200 to f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 Oct 18 17:07:36 linux1 dhcpd: DHCPREQUEST for 192.168.10.201 from 00:04:13:24:e5:7e via eth0 Oct 18 17:07:36 linux1 dhcpd: DHCPACK on 192.168.10.201 to 00:04:13:24:e5:7e via eth0 Oct 18 17:08:16 linux1 dhcpd: DHCPREQUEST for 192.168.10.200 from f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 Oct 18 17:08:16 linux1 dhcpd: DHCPACK on 192.168.10.200 to f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 Oct 18 17:12:36 linux1 dhcpd: DHCPREQUEST for 192.168.10.201 from 00:04:13:24:e5:7e via eth0 Oct 18 17:12:36 linux1 dhcpd: DHCPACK on 192.168.10.201 to 00:04:13:24:e5:7e via eth0 Oct 18 17:13:16 linux1 dhcpd: DHCPREQUEST for 192.168.10.200 from f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 Oct 18 17:13:16 linux1 dhcpd: DHCPACK on 192.168.10.200 to f0:4d:a2:cc:4f:9b (sm-nb014) via eth0 ^C |
#tail -f /var/log/mail.log
Oct 18 17:07:54 linux1 in.qpopper[8873]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386] Oct 18 17:07:54 linux1 in.qpopper[8873]: (v4.0.9) POP login by user "user" at (192.168.10.200) 192.168.10.200 [pop_log.c:244] Oct 18 17:11:44 linux1 in.qpopper[8886]: (v4.0.9) Unable to get canonical name of client 192.168.10.200: Name or service not known (-2) [pop_init.c:1250] Oct 18 17:11:44 linux1 in.qpopper[8886]: (v4.0.9) Servicing request from "192.168.10.200" at 192.168.10.200 [pop_init.c:1408] Oct 18 17:11:45 linux1 in.qpopper[8886]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386] Oct 18 17:11:45 linux1 in.qpopper[8886]: (v4.0.9) POP login by user "user" at (192.168.10.200) 192.168.10.200 [pop_log.c:244] Oct 18 17:12:03 linux1 in.qpopper[8887]: (v4.0.9) Unable to get canonical name of client 192.168.10.200: Name or service not known (-2) [pop_init.c:1250] Oct 18 17:12:03 linux1 in.qpopper[8887]: (v4.0.9) Servicing request from "192.168.10.200" at 192.168.10.200 [pop_init.c:1408] Oct 18 17:12:03 linux1 in.qpopper[8887]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386] Oct 18 17:12:03 linux1 in.qpopper[8887]: (v4.0.9) POP login by user "user" at (192.168.10.200) 192.168.10.200 [pop_log.c:244] Oct 18 17:17:54 linux1 in.qpopper[8999]: (v4.0.9) Unable to get canonical name of client 192.168.10.200: Name or service not known (-2) [pop_init.c:1250] Oct 18 17:17:54 linux1 in.qpopper[8999]: (v4.0.9) Servicing request from "192.168.10.200" at 192.168.10.200 [pop_init.c:1408] Oct 18 17:17:54 linux1 in.qpopper[8999]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386] Oct 18 17:17:54 linux1 in.qpopper[8999]: (v4.0.9) POP login by user "user" at (192.168.10.200) 192.168.10.200 [pop_log.c:244] Oct 18 17:18:25 linux1 in.qpopper[9000]: (v4.0.9) Unable to get canonical name of client 192.168.10.200: Name or service not known (-2) [pop_init.c:1250] Oct 18 17:18:25 linux1 in.qpopper[9000]: (v4.0.9) Servicing request from "192.168.10.200" at 192.168.10.200 [pop_init.c:1408] Oct 18 17:18:25 linux1 in.qpopper[9000]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386] Oct 18 17:18:25 linux1 in.qpopper[9000]: (v4.0.9) POP login by user "user" at (192.168.10.200) 192.168.10.200 [pop_log.c:244] ^C |
#tail -f /var/log/mail.log
Oct 18 17:07:54 linux1 in.qpopper[8873]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386] Oct 18 17:07:54 linux1 in.qpopper[8873]: (v4.0.9) POP login by user "user" at (192.168.10.200) 192.168.10.200 [pop_log.c:244] Oct 18 17:11:44 linux1 in.qpopper[8886]: (v4.0.9) Unable to get canonical name of client 192.168.10.200: Name or service not known (-2) [pop_init.c:1250] Oct 18 17:11:44 linux1 in.qpopper[8886]: (v4.0.9) Servicing request from "192.168.10.200" at 192.168.10.200 [pop_init.c:1408] Oct 18 17:11:45 linux1 in.qpopper[8886]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386] Oct 18 17:11:45 linux1 in.qpopper[8886]: (v4.0.9) POP login by user "user" at (192.168.10.200) 192.168.10.200 [pop_log.c:244] Oct 18 17:12:03 linux1 in.qpopper[8887]: (v4.0.9) Unable to get canonical name of client 192.168.10.200: Name or service not known (-2) [pop_init.c:1250] Oct 18 17:12:03 linux1 in.qpopper[8887]: (v4.0.9) Servicing request from "192.168.10.200" at 192.168.10.200 [pop_init.c:1408] Oct 18 17:12:03 linux1 in.qpopper[8887]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386] Oct 18 17:12:03 linux1 in.qpopper[8887]: (v4.0.9) POP login by user "user" at (192.168.10.200) 192.168.10.200 [pop_log.c:244] Oct 18 17:17:54 linux1 in.qpopper[8999]: (v4.0.9) Unable to get canonical name of client 192.168.10.200: Name or service not known (-2) [pop_init.c:1250] Oct 18 17:17:54 linux1 in.qpopper[8999]: (v4.0.9) Servicing request from "192.168.10.200" at 192.168.10.200 [pop_init.c:1408] Oct 18 17:17:54 linux1 in.qpopper[8999]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386] Oct 18 17:17:54 linux1 in.qpopper[8999]: (v4.0.9) POP login by user "user" at (192.168.10.200) 192.168.10.200 [pop_log.c:244] Oct 18 17:18:25 linux1 in.qpopper[9000]: (v4.0.9) Unable to get canonical name of client 192.168.10.200: Name or service not known (-2) [pop_init.c:1250] Oct 18 17:18:25 linux1 in.qpopper[9000]: (v4.0.9) Servicing request from "192.168.10.200" at 192.168.10.200 [pop_init.c:1408] Oct 18 17:18:25 linux1 in.qpopper[9000]: Unable to open bulletin directory '/var/spool/popbull': No such file or directory (2) [pop_bull.c:386] Oct 18 17:18:25 linux1 in.qpopper[9000]: (v4.0.9) POP login by user "user" at (192.168.10.200) 192.168.10.200 [pop_log.c:244] ^C |
#asterisk -rvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1256) ... Call-ID: 3c2677ad4d5a-vi99392ul2hv CSeq: 2 ACK Max-Forwards: 70 Contact: <sip:1101@192.168.10.201:2052;line=zb8mvzkl>;reg-id=1 Content-Length: 0 <-------------> --- (9 headers 0 lines) --- linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1256) ... Call-ID: 3c2677ad4d5a-vi99392ul2hv CSeq: 2 ACK Max-Forwards: 70 Contact: <sip:1101@192.168.10.201:2052;line=zb8mvzkl>;reg-id=1 Content-Length: 0 <-------------> --- (9 headers 0 lines) --- linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#vi extensions.conf
--- /tmp/l3-saved-2251.46.31212 2011-10-18 17:23:56.000000000 +0300 +++ extensions.conf 2011-10-18 17:25:10.000000000 +0300 @@ -20,6 +20,12 @@ exten => _118X,n(password),VoicemailMain(110${EXTEN:3}) exten => _118X,n,Hangup +exten => asterisk,1,GotoIf($[ "${CALLERID(num)}" != "110${EXTEN:3}" ]?password) +exten => asterisk,n,VoicemailMain(110${EXTEN:3},s) +exten => asterisk,n,Hangup +exten => asterisk,n(password),VoicemailMain(110${EXTEN:3}) +exten => asterisk,n,Hangup + exten => 1197,1,VoicemailMain() exten => 1199,1,Playback(demo-thanks) |
#asterisk -rvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1256) ... Server: Asterisk PBX 1.6.2.9-2+squeeze3 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Length: 0 <------------> [Oct 18 17:27:59] WARNING[9092]: app_voicemail.c:9070 vm_authenticate: Couldn't read username Really destroying SIP dialog '3c267973e8f1-eux8t8uqqd9r' Method: BYE linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1256) ... Server: Asterisk PBX 1.6.2.9-2+squeeze3 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Length: 0 <------------> [Oct 18 17:27:59] WARNING[9092]: app_voicemail.c:9070 vm_authenticate: Couldn't read username Really destroying SIP dialog '3c267973e8f1-eux8t8uqqd9r' Method: BYE linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#vi sip.conf
--- /tmp/l3-saved-2251.1951.28441 2011-10-18 17:29:00.000000000 +0300 +++ sip.conf 2011-10-18 17:29:13.000000000 +0300 @@ -19,7 +19,7 @@ host=dynamic callerid="Kiev" context=gr3 -mailbox=1101@default +;mailbox=1101@default [1102] type=friend @@ -27,7 +27,7 @@ host=dynamic callerid="Kiev" context=gr1 -mailbox=1102@default +;mailbox=1102@default [lv] type=friend |
#asterisk -rvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1256) ... Server: Asterisk PBX 1.6.2.9-2+squeeze3 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Length: 0 <------------> == Spawn extension (gr3, asterisk, 4) exited non-zero on 'SIP/1101-00000440' Really destroying SIP dialog '3c267a9b65c2-qoet5rnebiyc' Method: BYE linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1256) ... Server: Asterisk PBX 1.6.2.9-2+squeeze3 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO Supported: replaces, timer Content-Length: 0 <------------> == Spawn extension (gr3, asterisk, 4) exited non-zero on 'SIP/1101-00000440' Really destroying SIP dialog '3c267a9b65c2-qoet5rnebiyc' Method: BYE linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#vi sip.conf
--- /tmp/l3-saved-2251.27462.22005 2011-10-18 17:33:13.000000000 +0300 +++ sip.conf 2011-10-18 17:33:20.000000000 +0300 @@ -19,7 +19,7 @@ host=dynamic callerid="Kiev" context=gr3 -;mailbox=1101@default +mailbox=1101@default [1102] type=friend @@ -27,7 +27,7 @@ host=dynamic callerid="Kiev" context=gr1 -;mailbox=1102@default +mailbox=1102@default [lv] type=friend |
#asterisk -rvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1256) ... linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, 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. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1256) ... linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#diff voicemail.conf voicemail.conf0
1,6d0 < ;! < ;! Automatically generated configuration file < ;! Filename: voicemail.conf (/etc/asterisk/voicemail.conf) < ;! Generator: AppVoicemail < ;! Creation Date: Tue Oct 18 16:27:23 2011 < ;! 22c16 < format = wav49|gsm|wav --- ... > 1234 => 4242,Example Mailbox,root@localhost > ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10 > ;4300 => 3456,Ben Rigas,ben@american-computer.net > ;4310 => -5432,Sales,sales@marko.net > ;4069 => 6522,Matt Brooks,matt@marko.net,,|tz=central|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|review=yes|operator=yes|envelope=yes|moveheard=yes|sayduration=yes|saydurationm=1 > ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemail.|emailbody=Click on the attachment to listen. > ;4110 => 3443,Rob Flynn,rflynn@blueridge.net > ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european 358a350 > |
#diff voicemail.conf voicemail.conf0
1,6d0 < ;! < ;! Automatically generated configuration file < ;! Filename: voicemail.conf (/etc/asterisk/voicemail.conf) < ;! Generator: AppVoicemail < ;! Creation Date: Tue Oct 18 16:27:23 2011 < ;! 22c16 < format = wav49|gsm|wav --- ... > 1234 => 4242,Example Mailbox,root@localhost > ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10 > ;4300 => 3456,Ben Rigas,ben@american-computer.net > ;4310 => -5432,Sales,sales@marko.net > ;4069 => 6522,Matt Brooks,matt@marko.net,,|tz=central|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|review=yes|operator=yes|envelope=yes|moveheard=yes|sayduration=yes|saydurationm=1 > ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemail.|emailbody=Click on the attachment to listen. > ;4110 => 3443,Rob Flynn,rflynn@blueridge.net > ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european 358a350 > |
#vi voicemail.conf
--- /tmp/l3-saved-2251.1148.7067 2011-10-18 17:35:06.000000000 +0300 +++ voicemail.conf 2011-10-18 17:35:17.000000000 +0300 @@ -334,16 +334,6 @@ [default] 1101 => 4321,Test Test,user@linux1.unix.nt - - - - - - - - - - 1102 => 1234,Test Test,user@linux1.unix.nt |
#diff voicemail.conf voicemail.conf0
1,6d0 < ;! < ;! Automatically generated configuration file < ;! Filename: voicemail.conf (/etc/asterisk/voicemail.conf) < ;! Generator: AppVoicemail < ;! Creation Date: Tue Oct 18 16:27:23 2011 < ;! 22c16 < format = wav49|gsm|wav --- ... > 1234 => 4242,Example Mailbox,root@localhost > ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central|maxmsg=10 > ;4300 => 3456,Ben Rigas,ben@american-computer.net > ;4310 => -5432,Sales,sales@marko.net > ;4069 => 6522,Matt Brooks,matt@marko.net,,|tz=central|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|review=yes|operator=yes|envelope=yes|moveheard=yes|sayduration=yes|saydurationm=1 > ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemail.|emailbody=Click on the attachment to listen. > ;4110 => 3443,Rob Flynn,rflynn@blueridge.net > ;4235 => 1234,Jim Holmes,jim@astricon.ips,,Tz=european 348a350 > |
Время первой команды журнала | 14:20:06 2011-10-18 | ||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:35:17 2011-10-18 | ||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 2.97 | ||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.68 | ||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.00 | ||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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