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

Содержание

Журнал

Вторник (03/29/16)

/dev/pts/2
14:17:09
$sudo gedit extensions.conf
** (gedit:6011): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6011): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6011): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6011): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6011): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6011): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6011): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6011): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6011): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6011): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6011): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:6011): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
14:18:11
$sudo asterisk -r
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 = 442)
asterisk4*CLI> dialplan reload
Dialplan reloaded.
[Mar 29 15:18:25] WARNING[5933][C-0000000a]: file.c:701 ast_openstream_full: File /var/tmp/asterisk/message01:wav does not exist in any format
[Mar 29 15:18:25] WARNING[5933][C-0000000a]: file.c:1017 ast_streamfile: Unable to open /var/tmp/asterisk/message01:wav (format (ulaw)): No such file or directory
[Mar 29 15:18:25] WARNING[5933][C-0000000a]: app_playback.c:484 playback_exec: ast_streamfile failed on SIP/1401-00000005 for /var/tmp/asterisk/message01:wav
asterisk4*CLI> exit
Asterisk cleanly ending (0).
Executing last minute cleanups
14:19:02
$sudo gedit extensions.conf
** (gedit:6040): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6040): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6040): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6040): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6040): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6040): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
14:19:13
$sudo asterisk -r
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 = 442)
asterisk4*CLI> dialplan reload
Dialplan reloaded.
...
[Mar 29 15:29:33] WARNING[6179][C-00000016]: file.c:1017 ast_streamfile: Unable to open /var/tmp/asterisk/message01 (format (ulaw)): No such file or directory
[Mar 29 15:29:33] WARNING[6179][C-00000016]: app_playback.c:484 playback_exec: ast_streamfile failed on SIP/1401-00000011 for /var/tmp/asterisk/message01
[Mar 29 15:33:59] NOTICE[477][C-00000013]: chan_sip.c:24446 attempt_transfer: SIP Transfer attempted with no appropriate bridged calls to transfer
[Mar 29 15:33:59] WARNING[6336][C-00000017]: file.c:532 filehelper: unlink(/var/tmp/asterisk/message01.wav) failed: No such file or directory
Asterisk cleanly ending (0).
Executing last minute cleanups
asterisk4*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/4
14:21:33
$cd /etc/asterisk/

14:21:40
$cat extensions.conf
[default]
;exten => 4000,1,Playback(demo-thanks)
;exten => 4000,n,Goto(1)
exten => 4001,1,Record(/var/tmp/asterisk/message01:wav)
exten => 4001,n,Playback(/var/tmp/asterisk/message01)
14:21:48
$sudo gedit extensions.conf
[sudo] password for user:
** (gedit:6162): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6162): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6162): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
...
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6162): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6162): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6162): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6162): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6162): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
прошло 13 минут
14:35:24
$cd /var/tmp/asterisk/

14:35:34
$ls

14:35:35
$sudo chown asterisk:asterisk /var/tmp/asterisk/

прошло 13 минут
14:49:32
$sudo gedit sip.conf
** (gedit:6602): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6602): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6602): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6602): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
...
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6602): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6602): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6602): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6602): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6602): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:6602): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
прошло 15 минут
15:04:33
$sudo gedit extensions.conf
[sudo] password for user:
** (gedit:6640): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:6640): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6640): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6640): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6640): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6640): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6640): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6640): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6640): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6640): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6640): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:6640): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6640): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:6640): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:6640): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:6640): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported

Среда (03/30/16)

/dev/pts/0
09:07:52
$ssh user@192.168.40.1
user@192.168.40.1's password:
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.
You have mail.
Last login: Wed Mar 30 10:07:17 2016 from m3
vipicoeevimnanol3-agent is already running: pid=27049; pidfile=/home/user/.lilalo/l3-agent.pid
09:08:00
$screen -x
/dev/pts/2
09:08:19
$cat /etc/asterisk/sip.conf
[general]
register => vitebsk:1234@192.168.30.2/minsk
context=default
[1401]
type=friend
secret=1234
host=dynamic
[1402]
type=friend
secret=1234
host=dynamic
[minsk]
type=friend
secret=1234
host=dynamic
directmedia=no
defaultuser=vitebsk
09:08:29
$cd /etc/asterisk/

09:11:14
$sudo gedit sip.conf
[sudo] password for user:
** (gedit:914): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:914): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:914): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:914): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:914): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:914): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:914): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
прошло 12 минут
09:23:31
$sudo asterisk -r
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 = 472)
asterisk4*CLI> sip reload
[Mar 30 10:23:40] NOTICE[503]: chan_sip.c:23561 handle_response_peerpoke: Peer '1401' is now Reachable. (21ms / 2000ms)
...
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     OK (15 ms)
1402/1402                 192.168.40.202                           D  Auto (No)  No             5060     OK (37 ms)
minsk/vitebsk             192.168.40.1                             D  Auto (Yes) No             5060     Unmonitored
3 sip peers [Monitored: 2 online, 0 offline Unmonitored: 1 online, 0 offline]
[Mar 30 10:25:51] NOTICE[503]: chan_sip.c:29479 sip_poke_noanswer: Peer '1402' is now UNREACHABLE!  Last qualify: 37
asterisk4*CLI> exit
Asterisk cleanly ending (0).
Executing last minute cleanups
09:29:37
$ls
acl.conf                 config_test.conf        muted.conf
adsi.conf                console.conf            ooh323.conf
agents.conf              dbsep.conf              osp.conf
alarmreceiver.conf       dnsmgr.conf             oss.conf
alsa.conf                dsp.conf                phone.conf
amd.conf                 dundi.conf              phoneprov.conf
app_mysql.conf           enum.conf               queuerules.conf
app_skel.conf            extconfig.conf          queues.conf
asterisk.adsi            extensions.ael          res_config_mysql.conf
asterisk.conf            ~extensions.conf        res_config_sqlite3.conf
...
cel_pgsql.conf           logger.conf             skinny.conf
cel_sqlite3_custom.conf  manager.conf            sla.conf
cel_tds.conf             manager.d               smdi.conf
chan_dahdi.conf          meetme.conf             telcordia-1.adsi
chan_mobile.conf         mgcp.conf               udptl.conf
cli_aliases.conf         minivm.conf             unistim.conf
cli.conf                 misdn.conf              users.conf
cli_permissions.conf     modules.conf            voicemail.conf
codecs.conf              motif.conf              vpb.conf
confbridge.conf          musiconhold.conf        xmpp.conf
09:29:40
$ls -la | grep ~

09:30:08
$ls -la | grep ~*
grep: ~sip.conf: Permission denied
09:30:17
$cat extensions.conf
[default]
;exten => 4000,1,Playback(demo-thanks)
;exten => 4000,n,Goto(1)
;exten => 4001,1,Record(/var/tmp/asterisk/message01:wav)
;exten => 4001,n,Playback(/var/tmp/asterisk/message01)
;exten => _40XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav)
;exten => _40XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
;exten => _41XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2})
exten => _40XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav)
exten => _40XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
exten => _41XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2})
; ${EXTEN}
; ${CALLERID(num)}
exten => _14XX,1,Dial(SIP/${EXTEN})
;exten => _13XX,1,Dial(SIP/minsk/${EXTEN})
exten => _1[123]XX,1,Dial(SIP/minsk/${EXTEN})
exten => _2[1234]XX,1,Dial(SIP/minsk/${EXTEN})
09:30:34
$cat ~extensions.conf
cat: ~extensions.conf: Permission denied
09:30:40
$sudo gedit extensions.conf
** (gedit:1110): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1110): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1110): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1110): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1110): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1110): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:1110): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
09:35:49
$sudo gedit sip.conf
** (gedit:1130): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1130): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1130): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1130): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1130): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1130): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:1130): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
09:36:58
$sudo gedit extensions.conf
** (gedit:1146): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1146): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1146): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1146): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1146): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1146): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:1146): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1146): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1146): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1146): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1146): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:1146): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
09:40:08
$sudo asterisk -r
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 = 472)
asterisk4*CLI> sip reload
asterisk4*CLI> dialplan reload
Dialplan reloaded.
[Mar 30 10:40:31] NOTICE[503][C-00000001]: chan_sip.c:25628 handle_request_invite: Call from '1401' (192.168.40.201:5060) to extension '1301' rejected because extension not found in context 'gr2'.
asterisk4*CLI> exit
Asterisk cleanly ending (0).
Executing last minute cleanups
09:40:54
$sudo gedit extensions.conf
** (gedit:1176): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1176): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1176): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1176): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1176): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1176): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
09:41:31
$sudo gedit sip.conf
** (gedit:1194): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1194): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1194): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1194): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1194): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1194): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
/dev/pts/4
09:42:13
$cd /etc/asterisk/

09:42:18
$cat extensions.conf
[local]
exten => _14XX,1,Dial(SIP/${EXTEN})
[linphone]
include => local
[phone]
include => local
include => default
[default]
;exten => 4000,1,Playback(demo-thanks)
;exten => 4000,n,Goto(1)
...
;exten => _40XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
;exten => _41XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2})
exten => _40XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav)
exten => _40XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
exten => _41XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2})
; ${EXTEN}
; ${CALLERID(num)}
;exten => _13XX,1,Dial(SIP/minsk/${EXTEN})
exten => _1[123]XX,1,Dial(SIP/minsk/${EXTEN})
exten => _2[1234]XX,1,Dial(SIP/minsk/${EXTEN})
09:42:23
$cat sip.conf
[general]
register => vitebsk:1234@192.168.30.2/minsk
context=linphone
[1401]
type=friend
secret=1234
host=dynamic
qualify=yes
context=phone
[1402]
type=friend
secret=1234
host=dynamic
qualify=yes
[minsk]
type=friend
secret=1234
host=dynamic
directmedia=no
defaultuser=vitebsk
/dev/pts/2
09:43:29
$sudo asterisk -r
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 = 472)
asterisk4*CLI> dialplan reload
Dialplan reloaded.
...
asterisk4*CLI> voicemail reload
Reloading voicemail configuration...
asterisk4*CLI> dialplan reload
Dialplan reloaded.
asterisk4*CLI> dialplan reload
Dialplan reloaded.
[Mar 30 12:58:43] WARNING[1620][C-00000021]: app_dial.c:2330 dial_exec_full: Dial argument takes format (technology/resource)
asterisk4*CLI> exit
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/4
09:47:27
$sudo gedit sip.conf
[sudo] password for user:
** (gedit:1335): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1335): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1335): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1335): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1335): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1335): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
09:51:36
$sudo gedit extensions.conf
[sudo] password for user:
** (gedit:1410): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1410): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1410): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
...
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1410): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1410): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1410): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1410): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1410): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
прошло 119 минут
11:51:02
$sudo gedit voicemail.conf
** (gedit:1440): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
11:51:52
$sudo gedit extensions.conf
** (gedit:1457): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
11:52:16
$sudo gedit voicemail.conf
** (gedit:1473): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1473): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1473): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1473): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1473): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1473): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
11:54:03
$sudo gedit extensions.conf
** (gedit:1492): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1492): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1492): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1492): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1492): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1492): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
11:54:53
$sudo gedit extensions.conf
** (gedit:1611): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1611): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1611): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1611): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1611): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1611): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:1611): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1611): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1611): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1611): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1611): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
/dev/pts/2
11:58:53
$sudo asterisk -rvvv
[sudo] password for user:
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 = 472)
  == Using SIP RTP CoS mark 5
...
  == Using SIP RTP CoS mark 5
    -- Called SIP/1401
    -- SIP/1401-00000062 is ringing
    -- SIP/1401-00000062 answered SIP/1402-00000061
    -- Remotely bridging SIP/1402-00000061 and SIP/1401-00000062
  == Spawn extension (macro-call, s, 2) exited non-zero on 'SIP/1402-00000061' in macro 'call'
  == Spawn extension (phone, 1401, 1) exited non-zero on 'SIP/1402-00000061'
asterisk4*CLI> exit
Asterisk cleanly ending (0).
Executing last minute cleanups
/dev/pts/4
12:02:01
$sudo gedit extensions.conf
** (gedit:1736): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1736): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1736): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1736): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1736): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1736): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
12:03:06
$sudo gedit voicemail.conf
** (gedit:1868): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1868): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1868): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1868): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1868): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1868): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
12:04:34
$sudo gedit voicemail.conf
** (gedit:1888): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
12:10:37
$sudo gedit extensions.conf
** (gedit:1905): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:1905): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1905): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:1905): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:1905): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:1905): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
прошло 52 минуты
/dev/pts/6
13:03:11
$cd /etc/asterisk/

13:03:16
$mail
bash: mail: command not found
13:03:29
$sudo apt-get install bsd
bsdcpio       bsdiff        bsdmainutils  bsdutils
bsdgames      bsd-mailx     bsdtar
13:03:29
$sudo apt-get install bsd
bsdcpio       bsdiff        bsdmainutils  bsdutils
bsdgames      bsd-mailx     bsdtar
13:03:29
$sudo apt-get install bsd
bsdcpio       bsdiff        bsdmainutils  bsdutils
bsdgames      bsd-mailx     bsdtar
13:03:29
$sudo apt-get install bsd-mailx
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  exim4-base exim4-config exim4-daemon-light psmisc
Suggested packages:
  mail-reader eximon4 exim4-doc-html exim4-doc-info spf-tools-perl swaks
Recommended packages:
  mailx
...
Processing triggers for systemd (215-17+deb8u3) ...
Setting up exim4-config (4.84.2-1) ...
Adding system-user for exim (v4)
Setting up exim4-base (4.84.2-1) ...
exim: DB upgrade, deleting hints-db
Setting up exim4-daemon-light (4.84.2-1) ...
Setting up bsd-mailx (8.1.2-0.20141216cvs-2) ...
update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode
Setting up psmisc (22.21-2) ...
Processing triggers for systemd (215-17+deb8u3) ...
13:05:14
$mail
No mail for user
13:05:50
$mail
Mail version 8.1.2 01/15/2001.  Type ? for help.
"/var/mail/user": 1 message 1 new
>N  1 asterisk@asterisk  Wed Mar 30 14:07  177/11133 [PBX]: New message 3 in ma
& cd ^?/var/mail/user^[[D^[[D^[[D^CInterrupt
& exit
/dev/pts/4
13:06:04
$sudo gedit extensions.conf
[sudo] password for user:
** (gedit:3612): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:3612): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:3612): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:3612): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:3612): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:3612): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
/dev/pts/6
13:08:28
$cd /var/mail/user
bash: cd: /var/mail/user: Not a directory
13:08:39
$cd /var/mail

13:08:45
$ls
user
13:08:47
$cat user
From asterisk@asterisk4.unix.sl Wed Mar 30 14:07:21 2016
Return-path: <asterisk@asterisk4.unix.sl>
Envelope-to: user@localhost
Delivery-date: Wed, 30 Mar 2016 14:07:21 +0300
Received: from asterisk by asterisk4.unix.sl with local (Exim 4.84_2)
        (envelope-from <asterisk@asterisk4.unix.sl>)
        id 1alDy5-0000vJ-IC
        for user@localhost; Wed, 30 Mar 2016 14:07:21 +0300
Date: Wed, 30 Mar 2016 14:07:21 +0300
From: Asterisk PBX <asterisk@asterisk4>
...
SJIkSZIgSBfWhAKAJEmSJIkCgCRJkiSJAoAkSZIkiQKAJEmSJAmCdGFNKABIkiRJkigASJIk
SZIoAEiSJEmSKABIkiRJkiBIF9aEAoAkSZIkiQKAJEmSJIkCgCRJkiSJAoAkSZIkCYJ0YU0o
AEiSJEmSKABIkiRJkigASJIkSZIoAEiSJEmSIEgX1oQCgCRJkiSJAoAkSZIkiQKAJEmSJIkC
gCRJkiQJgnRhTSgASJIkSZIoAEiSJEmSKABIkiRJkigASJIkSZIgSBfWhAKAJEmSJIkCgCRJ
kiSJAoAkSZIkiQKAJEmSJAmCdGFNKABIkiRJkigASJIkSZIoAEiSJEmSKABIkiRJkiBIF9aE
AoAkSZIkiQKAJEmSJIkCgCRJkiSJAoAkSZIkCYJ0YU0oAEiSJEmSKABIkiRJkigASJIkSZIo
AEiSJEmSIEgX1oQCgCRJkiSJAoAkSZIkiQKAJEmSJIkCgCRJkiQJgnRhTSgASJIkSZIoAEiS
JEmSKABIkiRJkigASJIkSZIgSBfWhAKAJEmSJIkCgCRJkiSJAoAkSZIkiQKAJEmSJAmCdGFN
KABIkiRJkigASJIkSZIoAEiSJEmSKABIkiRJkg==
------voicemail_302472385822678--
13:08:51
$clear

прошло 10 минут
/dev/pts/4
13:19:11
$sudo gedit voicemail.conf
** (gedit:3629): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
13:19:38
$sudo gedit extensions.conf
** (gedit:3645): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
13:19:44
$sudo apt-get install asterisk-core-sounds-ru
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  asterisk-core-sounds-ru-gsm
The following NEW packages will be installed:
  asterisk-core-sounds-ru asterisk-core-sounds-ru-gsm
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,078 kB of archives.
After this operation, 2,263 kB of additional disk space will be used.
...
(Reading database ... 85153 files and directories currently installed.)
Preparing to unpack .../asterisk-core-sounds-ru-gsm_1.4.22-1_all.deb ...
Unpacking asterisk-core-sounds-ru-gsm (1.4.22-1) ...
Selecting previously unselected package asterisk-core-sounds-ru.
Preparing to unpack .../asterisk-core-sounds-ru_1.4.22-1_all.deb ...
Unpacking asterisk-core-sounds-ru (1.4.22-1) ...
Setting up asterisk-core-sounds-ru-gsm (1.4.22-1) ...
Setting up asterisk-core-sounds-ru (1.4.22-1) ...
update-alternatives: using /usr/share/asterisk/sounds/ru_RU_f_IvrvoiceRU to provide /usr/share/asterisk/sounds/ru (asterisk-prompt-ru) in auto mode
update-alternatives: using /usr/share/asterisk/sounds/ru_RU_f_IvrvoiceRU to provide /usr/share/asterisk/sounds/ru_RU (asterisk-prompt-ru-ru) in auto mode
13:23:46
$sudo apt-get install asterisk-core-sounds-de
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package asterisk-core-sounds-de
13:23:49
$sudo apt-get install asterisk-prompt-de
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  asterisk-prompt-de
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,449 kB of archives.
After this operation, 1,466 kB of additional disk space will be used.
Get:1 http://192.168.40.1:9999/debian/ jessie/main asterisk-prompt-de all 2.0-1.1 [1,449 kB]
Fetched 1,449 kB in 0s (37.9 MB/s)
Selecting previously unselected package asterisk-prompt-de.
(Reading database ... 85622 files and directories currently installed.)
Preparing to unpack .../asterisk-prompt-de_2.0-1.1_all.deb ...
Unpacking asterisk-prompt-de (2.0-1.1) ...
Setting up asterisk-prompt-de (2.0-1.1) ...
13:24:11
$ls
acl.conf                 config_test.conf        muted.conf
adsi.conf                console.conf            ooh323.conf
agents.conf              dbsep.conf              osp.conf
alarmreceiver.conf       dnsmgr.conf             oss.conf
alsa.conf                dsp.conf                phone.conf
amd.conf                 dundi.conf              phoneprov.conf
app_mysql.conf           enum.conf               queuerules.conf
app_skel.conf            extconfig.conf          queues.conf
asterisk.adsi            extensions.ael          res_config_mysql.conf
asterisk.conf            ~extensions.conf        res_config_sqlite3.conf
...
cel_pgsql.conf           logger.conf             skinny.conf
cel_sqlite3_custom.conf  manager.conf            sla.conf
cel_tds.conf             manager.d               smdi.conf
chan_dahdi.conf          meetme.conf             telcordia-1.adsi
chan_mobile.conf         mgcp.conf               udptl.conf
cli_aliases.conf         minivm.conf             unistim.conf
cli.conf                 misdn.conf              users.conf
cli_permissions.conf     modules.conf            voicemail.conf
codecs.conf              motif.conf              vpb.conf
confbridge.conf          musiconhold.conf        xmpp.conf
/dev/pts/6
13:24:47
$cd /etc/asterisk/

13:27:33
$sudo gedit sip.conf
[sudo] password for user:
** (gedit:3812): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:3812): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:3812): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:3812): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:3812): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:3812): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
(gedit:3812): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:3812): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:3812): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:3812): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:3812): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:3812): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
13:28:32
$sudo gedit voicemail.conf
** (gedit:3831): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:3831): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:3831): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:3831): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:3831): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:3831): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:3831): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
13:28:59
$sudo gedit sip.conf
** (gedit:3847): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found
(gedit:3847): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:3847): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(gedit:3847): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:3847): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported
** (gedit:3847): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
** (gedit:3847): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported
13:29:19
$cp ~/
.bash_history         Downloads/            Pictures/
.bash_logout          .gconf/               .profile
.bash_profile         .gnupg/               Public/
.bashrc               .gstreamer-0.10/      .ssh/
.cache/               .ICEauthority         Templates/
.config/              .l3rc                 Videos/
.dbus/                .lilalo/              .Xauthority
Desktop/              .local/               .xscreensaver
.dmrc                 .mozilla/             .xsession-errors
Documents/            Music/                .xsession-errors.old
13:33:16
$sudo !!
sudo cp ~/Downloads/asterisk-core-sounds-ja-gsm-current.tar.gz /usr/share/asterisk/sounds/
13:33:31
$ls
asterisk-core-sounds-ja-gsm-current.tar.gz  en_US_f_Allison
custom                                      recordings
de                                          ru
en                                          ru_RU
en_US                                       ru_RU_f_IvrvoiceRU
13:33:43
$ls
activated.gsm
added.gsm
agent-alreadyon.gsm
agent-incorrect.gsm
agent-loggedoff.gsm
agent-loginok.gsm
agent-newlocation.gsm
agent-pass.gsm
agent-user.gsm
all-circuits-busy-now.gsm
...
vm-undeleted.gsm
vm-undelete.gsm
vm-unknown-caller.gsm
vm-Urgent.gsm
vm-whichbox.gsm
vm-Work.gsm
vm-youhave.gsm
with.gsm
you-entered.gsm
your.gsm
13:36:43
$ls
activated.gsm
added.gsm
agent-alreadyon.gsm
agent-incorrect.gsm
agent-loggedoff.gsm
agent-loginok.gsm
agent-newlocation.gsm
agent-pass.gsm
agent-user.gsm
all-circuits-busy-now.gsm
...
vm-undeleted.gsm
vm-undelete.gsm
vm-unknown-caller.gsm
vm-Urgent.gsm
vm-whichbox.gsm
vm-Work.gsm
vm-youhave.gsm
with.gsm
you-entered.gsm
your.gsm
13:36:53
$sudo apt-get install ark
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  docbook-xml docbook-xsl fonts-freefont-ttf kate-data katepart kde-runtime
  kde-runtime-data kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools
  liba52-0.7.4 libarchive13 libasn1-8-heimdal libass5 libasyncns0
  libattica0.4 libaudio2 libbasicusageenvironment0 libcddb2 libcdio13
  libchromaprint0 libclucene-core1 libcrystalhd3 libdbusmenu-qt2 libdc1394-22
  libdca0 libdirectfb-1.2-9 libdlrestrictions1 libdvbpsi9 libdvdnav4
...
Processing triggers for sgml-base (1.26+nmu4) ...
Setting up kdoctools (4:4.14.2-5) ...
Setting up kdelibs5-plugins (4:4.14.2-5) ...
Setting up libntrack0 (016-1.3) ...
Setting up libntrack-qt4-1 (016-1.3) ...
Setting up kde-runtime (4:4.14.2-2) ...
Setting up ark (4:4.14.2-2) ...
Setting up ntrack-module-libnl-0 (016-1.3) ...
Processing triggers for libc-bin (2.19-18+deb8u3) ...
Processing triggers for dbus (1.8.20-0+deb8u1) ...
/dev/pts/8
13:38:27
$cd /usr/share/asterisk/

13:38:36
$sudo mkdir ja
[sudo] password for user:
13:38:43
$tar -xv
agi-bin/       documentation/ ja/            moh/           static-http/
conf/          firmware/      keys/          sounds/
13:38:43
$sudo rm ja
rm: cannot remove ‘ja’: Is a directory
13:39:03
$sudo rm -r ja

13:39:06
$cd sounds/

13:39:09
$sudo mkdir ja

13:39:12
$ls
activated.gsm
added.gsm
agent-alreadyon.gsm
agent-incorrect.gsm
agent-loggedoff.gsm
agent-loginok.gsm
agent-newlocation.gsm
agent-pass.gsm
agent-user.gsm
all-circuits-busy-now.gsm
...
vm-undeleted.gsm
vm-undelete.gsm
vm-unknown-caller.gsm
vm-Urgent.gsm
vm-whichbox.gsm
vm-Work.gsm
vm-youhave.gsm
with.gsm
you-entered.gsm
your.gsm
13:39:14
$tar -xv
Display all 384 possibilities? (y or n)
activated.gsm
added.gsm
agent-alreadyon.gsm
agent-incorrect.gsm
agent-loggedoff.gsm
agent-loginok.gsm
agent-newlocation.gsm
agent-pass.gsm
agent-user.gsm
...
vm-undeleted.gsm
vm-undelete.gsm
vm-unknown-caller.gsm
vm-Urgent.gsm
vm-whichbox.gsm
vm-Work.gsm
vm-youhave.gsm
with.gsm
you-entered.gsm
your.gsm
/dev/pts/10
13:40:14
$cd /usr/share/asterisk/sounds

13:40:24
$sudo rm -f *.gsm
[sudo] password for user:
13:40:34
$ls
asterisk-core-sounds-ja-gsm-current.tar.gz  followme
CHANGES-asterisk-core-ja-1.5                ja
core-sounds-ja.txt                          letters
CREDITS-asterisk-core-ja-1.5                LICENSE-asterisk-core-ja-1.5
custom                                      phonetic
de                                          recordings
dictate                                     ru
digits                                      ru_RU
en                                          ru_RU_f_IvrvoiceRU
en_US                                       silence
en_US_f_Allison
13:40:36
$cd ja

13:40:45
$ls

/dev/pts/8
13:42:00
$ls
asterisk-core-sounds-ja-gsm-current.tar.gz  followme
CHANGES-asterisk-core-ja-1.5                ja
core-sounds-ja.txt                          letters
CREDITS-asterisk-core-ja-1.5                LICENSE-asterisk-core-ja-1.5
custom                                      phonetic
de                                          recordings
dictate                                     ru
digits                                      ru_RU
en                                          ru_RU_f_IvrvoiceRU
en_US                                       silence
en_US_f_Allison
13:42:06
$cd ja

13:42:10
$ls
activated.gsm                        phonetic
added.gsm                            please-try-again.gsm
agent-alreadyon.gsm                  please-try-call-later.gsm
agent-incorrect.gsm                  pls-hold-while-try.gsm
agent-loggedoff.gsm                  pm-invalid-option.gsm
agent-loginok.gsm                    privacy-incorrect.gsm
agent-newlocation.gsm                privacy-prompt.gsm
agent-pass.gsm                       privacy-thankyou.gsm
agent-user.gsm                       privacy-to-blacklist-last-caller.gsm
all-circuits-busy-now.gsm            privacy-unident.gsm
...
lowercase.gsm                        vm-undelete.gsm
minutes.gsm                          vm-unknown-caller.gsm
number.gsm                           vm-Urgent.gsm
number-not-answering.gsm             vm-whichbox.gsm
num-was-successfully.gsm             vm-Work.gsm
one-moment-please.gsm                vm-youhave.gsm
pbx-invalid.gsm                      with.gsm
pbx-invalidpark.gsm                  you-entered.gsm
pbx-parkingfailed.gsm                your.gsm
pbx-transfer.gsm
/dev/pts/6
13:48:24
$cd ~/Downloads/

13:50:39
$ls
asterisk-core-sounds-ja-gsm-current.tar.gz  queen.mp3
13:50:42
$sudo apt-get install sox
Reading package lists... Done
Building dependency tree
Reading state information... Done
sox is already the newest version.
sox set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
13:50:52
$sudo apt-get install mpg123
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libmpg123-0
Suggested packages:
  alsa-utils jackd nas oss-compat oss4-base pulseaudio
The following NEW packages will be installed:
  libmpg123-0 mpg123
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
...
Selecting previously unselected package mpg123.
Preparing to unpack .../mpg123_1.20.1-2_amd64.deb ...
Unpacking mpg123 (1.20.1-2) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libmpg123-0:amd64 (1.20.1-2) ...
Setting up mpg123 (1.20.1-2) ...
update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mpg123 (mpg123) in auto mode
update-alternatives: using /usr/bin/mpg123.bin to provide /usr/bin/mp3-decoder (mp3-decoder) in auto mode
Processing triggers for libc-bin (2.19-18+deb8u3) ...
13:51:28
$mpg123 -w quenn,wav queen.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.20.1; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes
Playing MPEG stream 1 of 1: queen.mp3 ...
MPEG 1.0 layer III, 256 kbit/s, 44100 Hz stereo
Title:   The Show Must Go On             Artist: Queen
Comment:                                 Album:
Year:    2014                            Genre:  Pop , Rock , R&B
[4:25] Decoding of queen.mp3 finished.
13:51:56
$mpg123 -w quenn.wav queen.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.20.1; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes
Playing MPEG stream 1 of 1: queen.mp3 ...
MPEG 1.0 layer III, 256 kbit/s, 44100 Hz stereo
Title:   The Show Must Go On             Artist: Queen
Comment:                                 Album:
Year:    2014                            Genre:  Pop , Rock , R&B
[4:25] Decoding of queen.mp3 finished.
13:52:02
$ls
asterisk-core-sounds-ja-gsm-current.tar.gz  queen.mp3  quenn,wav  quenn.wav
13:52:03
$rm quenn,wav

13:52:15
$ls
asterisk-core-sounds-ja-gsm-current.tar.gz  queen.mp3  quenn.wav

Файлы

  • /etc/asterisk/sip.conf
  • extensions.conf
  • sip.conf
  • user
  • /etc/asterisk/sip.conf
    >
    [general]
    register => vitebsk:1234@192.168.30.2/minsk
    context=default
    [1401]
    type=friend
    secret=1234
    host=dynamic
    [1402]
    type=friend
    secret=1234
    host=dynamic
    [minsk]
    type=friend
    secret=1234
    host=dynamic
    directmedia=no
    defaultuser=vitebsk
    
    extensions.conf
    >
    [local]
    exten => _14XX,1,Dial(SIP/${EXTEN})
    [linphone]
    include => local
    [phone]
    include => local
    include => default
    [default]
    ;exten => 4000,1,Playback(demo-thanks)
    ;exten => 4000,n,Goto(1)
    ;exten => 4001,1,Record(/var/tmp/asterisk/message01:wav)
    ;exten => 4001,n,Playback(/var/tmp/asterisk/message01)
    ;exten => _40XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav)
    ;exten => _40XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
    ;exten => _41XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2})
    exten => _40XX,1,Record(/var/tmp/asterisk/message${EXTEN:2}:wav)
    exten => _40XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
    exten => _41XX,1,Playback(/var/tmp/asterisk/message${EXTEN:2})
    ; ${EXTEN}
    ; ${CALLERID(num)}
    ;exten => _13XX,1,Dial(SIP/minsk/${EXTEN})
    exten => _1[123]XX,1,Dial(SIP/minsk/${EXTEN})
    exten => _2[1234]XX,1,Dial(SIP/minsk/${EXTEN})
    
    sip.conf
    >
    [general]
    register => vitebsk:1234@192.168.30.2/minsk
    context=linphone
    [1401]
    type=friend
    secret=1234
    host=dynamic
    qualify=yes
    context=phone
    [1402]
    type=friend
    secret=1234
    host=dynamic
    qualify=yes
    [minsk]
    type=friend
    secret=1234
    host=dynamic
    directmedia=no
    defaultuser=vitebsk
    
    user
    >
    From asterisk@asterisk4.unix.sl Wed Mar 30 14:07:21 2016
    Return-path: <asterisk@asterisk4.unix.sl>
    Envelope-to: user@localhost
    Delivery-date: Wed, 30 Mar 2016 14:07:21 +0300
    Received: from asterisk by asterisk4.unix.sl with local (Exim 4.84_2)
            (envelope-from <asterisk@asterisk4.unix.sl>)
            id 1alDy5-0000vJ-IC
            for user@localhost; Wed, 30 Mar 2016 14:07:21 +0300
    Date: Wed, 30 Mar 2016 14:07:21 +0300
    From: Asterisk PBX <asterisk@asterisk4>
    To: "User" <user@localhost>
    Subject: [PBX]: New message 3 in mailbox 02
    Message-ID: <Asterisk-3-1259824264-02-472@asterisk4>
    X-Asterisk-CallerID: 1401
    X-Asterisk-CallerIDName: Vitebsk-phone
    MIME-Version: 1.0
    Content-Type: multipart/mixed; boundary="----voicemail_302472385822678"
    This is a multi-part message in MIME format.
    ------voicemail_302472385822678
    Content-Type: text/plain; charset=ISO-8859-1
    Content-Transfer-Encoding: 8bit
    Dear User:
            Just wanted to let you know you were just left a 0:04 long message (number 3)
    in mailbox 02 from Vitebsk-phone, on Wednesday, March 30, 2016 at 02:07:21 PM so you might
    want to check it when you get a chance.  Thanks!
                                    --Asterisk
    ------voicemail_302472385822678
    Content-Type: audio/x-WAV; name="msg0002.WAV"
    Content-Transfer-Encoding: base64
    Content-Description: Voicemail sound attachment.
    Content-Disposition: attachment; filename="msg0002.WAV"
    UklGRiIcAABXQVZFZm10IBQAAAAxAAEAQB8AAFkGAABBAAAAAgBAAWZhY3QEAAAAgIkAAGRh
    dGHuGwAAniafHoVCYNvIbSSpY4AcyW3k5gRg28aR2yYkgBxHbhvXddNpUUoCuI3kNpJsAraN
    3EZuzAS2cdw2cjYARnLkNnJiV1da5SZg3MaR5MYDYNzIjeP2IoDcOI7jGCdgI8eN4ziGtOGx
    OwA2chxJjlMCyI3jSI4rAjaO3EhyUQBIjttIciRYmZYJJmDcyHHkxiOA5DZyIxkFYCS3ceOW
    Q4DkNpLjBnb0qXYyAriR40iOXAA4juRIcnAARo7kuJHGADZyHDeSYkdhnlcGgONGkhspA2Dc
    Ro4bRyeAI8ltI/cjgCtHjiQ3dnXpdS8ARnLjxnFSAEZyIzmSTwDGcSTJjcoCSI4kubHfV5tW
    JwWA4ziS5PgMgOO2kdxWRYDjyJHkeAVgHEmOI1d6MyJ2NQLGcRzJkSkGxnHktpFjADaS20aS
    KAC2kRvHkWIX1SYnRWBiyXEkqUNgI8mNHDdmYNxIcuQWBIDUSHLc2Gn0sW1EAEaSK7mRsATI
    bePIcb4EyI1cOW4+AMiRI0mJoNcea8hiYOW2ceS6C4DjNnLkSE9gJDmWzHgPYCM5kSTnaRB2
    QrsAyEklyWltA0hSrZOWsgSaUTR1cTcPVNLLxm5XN+0eZotgJRWaXGZzgKy2dmG31kDcvFXj
    1g6g+qdFr1pt8fZC6AzYZWW5TdMKOnZkyJLmCKZ1XEemeAkkc9tGepMnMSME1YBq5SLuKMuA
    3DZ2W4bMgBvJRSwp02CSOVYkU22TH2K1CtpxkSlW6AQs8Oygl+cKRm4TSzIzA9aNXZutkzfx
    JmSOgGTGbuSKViA015AcmQ4gLJOeomROwORGC2o3iVhjYrQGUokrx07uBmQPNSVa7w64cRtH
    M9QMNJYbu4hReC8eVEugtrLxFesuYIjbUoi5KsDlNEqt/cxg2thOo9eYFPOB8wCSsaZCurkE
    1LVRqTbyAtCKXthGOwWsbupaTozKK1tENyD8lJIWqDPASql9JFMswG6zab4yboBuwJejwLB8
    Kmk6A2zOw87MdwO2TplZSrwCXEajSW28AbxO1EjNy9qplsZzINZU0dS2U6CTR80LxzNAtVTO
    23g3gLQyktvGnB2jYTwHLqykKVE7BVyNYzmV9ABGKuvaDHcD9oiEqXHRljda2EuA36RbsdYL
    YLYUm6tyN8CcNdnbUg7A66O926hlUqeB1Qi4UlhLZigJVnqjxlK8DCg3pDiy+AjElZNJTqC2
    7i6EL6AyVW4ktSuA5JNdHjsuICK3vdHiDMC0qMoatm3Qtko+B7zC0spK5wDeVdjZsKkCMpms
    swr0DrpuHFcynffmYrjLoOQYlqMIDSBzNeryZC+AH6epdchTwOIostVIYlC1kfIExFaUZRVf
    AUYyHlqK0QRWiaIvgKwG+C3OqC0Rd7NnyhujJcSWg/jKgpTMQixrq2IkKVIekerhhi5x8iJx
    HXOpNDPOxaZGkrMlwK7ZVmYzRdZR64xd1CqYLiUJz1P3a2PK0wf1Jo7dtgpmn9BzImk1h+lK
    ZadWVsObk56Y7qTdfsnnPkR5e7ZLsiguuNMaceQySHJwJXYyIUR1ZbGSUPlrol5e4mlZiTYM
    u6ItrLSTOFPiGOt0KkezQmaOkUYJnR+e8StXTKWsh9UzOxhSpFZ0tTQGP1o3rtEqspJEv+xS
    +OlZ/hYj45wdNFNL41I5WXOYTcMkyDasxPtknC6xkduYP97NyzUyV/lWMiwtRK2MeOj3KhY2
    NeqQvzqYWuEXrkz7nd0qawLutLWZKi/iEjm1mucMQf5Apsbc7oGTq6kewbAfks3xEnhuo0zt
    yxwEullHkjEfplJ7xJLDGWCKlMoRD/ljkuyrgaPkEuz67kFVKT6hu6pBXNqpyj3bYVN4btR+
    Wd8ixkAblEq1Bv0wJSRS/MLR8SBchOW2UegSOpmoGbXP2GnLrAZBrExJr4jHgBlolhtsz0B1
    JxLkDQth5DCy3QqBv27I1xS0kl6m9awMpq6J26vRDihyK5su2AhkkczYiRL4K5YYL4AW3MzL
    7I2ApNbNjHqzoBJXh81stYAblRcp25R/dqq1CDRt3rZu0xYWci4Bvy4juKwc2aFRJTwSK/Ea
    zfgvouyyIrxkSmTXUsGphZOg5RLhIerAo9QyglyuXCSlvN8h0q0kaJId7rCsJISuixuxthxm
    4HRoTUsfSDIqRQdL+idX3HKBm85wLdMK4an0UfKSTeHMGK/T1jrhmUcy3Zh1FHpi2hDIrqe0
    1iwlNJXkNH2sFDqxLiypvhKYEj/kSZRI6xe4UoLdNp1ZtUpBTbW1xmrVYatE0SVhFUG2mVC0
    tX0ufsIrHYiy3DLaKydC6QwreasiOE08M7VVEx7ViRuxFkfnL7iSYTXGjeNkrWG+wO0TqZIg
    b6uErUa1QNdsUPyyee65YioTGFuctlJUF5iaSTlSKhNEyuTUzaoKgLm1QEcXB+VfBC6C0nhS
    IrlLoQTrbkyZWkHVrIoxht+D21YPOilpWquhKkEqrCS3zb8iwqUjH/TpPDSR28rs1By0oV5H
    gZVlP2EaDeMcpZbcllKBVLNuR5x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o3R40c9RlyMoSpHoiKxlSLa6NJLd8
    Tvtf4bp24hQndwy9UgKUdkmlqvKBLWRPK7UyomLBldvEtH8ljtUYzs0BbW7VEOamzWZjqytG
    MqKbJys7+i3tiL0P+O14yTIDKYtmLf5WBLOzWaqyKuTTOo4iyUxC13a40iKB3U2XcxqcdGVz
    yOsguqlbj0msGmQL5LgywhbYMmNHzVOXqebsTmGUN60XYU9hacmGLLssIZwrcfF59iHkXIwr
    HX724XEsNThO9ZSe08dHbixOKqvO2X2Qu226jLn2gnEOmhjZVtdM+iUxrwV9rFislktkqIb2
    jXSOy8imL8xBdC6kjS5qmnH24JLUZklszHhsrGo1dqI08lALy/CsFoJeTsFa6ByjxRLKVkJy
    BVMMyaY+sITbLgrZajmrBrSobMS3wq6NzKle26ToaRN9jHanYEsj6eEz3baxGtzQxto8aV0F
    UtEI6aNJ64d+K5XnsoUjwMLPmWZHoxN70YBZx6LkNmocL4bQ5ZHaT1inpUQX888ZflJXzKjY
    0ZClRlM3lPcZ2kkupwmVGikH1e8wl8z87jqhJx9wVTf6NdYuyivsfJu5dDVmrtBhVVe/4Xgg
    UzYrv5lTYnYp4MDpssuwl9Wey0RnWY5eil0SU+2Yk0aWmDvuucu2kXgNV1xH3WB9h0p94DaS
    c9eBdGExPatBrhvNbS90R5Cst3FmPMnhYrlp2GxJDiC5kVtYWdYEPpjkyI39Nn6YJMltzBeD
    h3e3bSPJhUwguW0bGXx0YS1yyLZtJHduKQJakppatVYG1pLU1MptAqipVTuSQVdV1mQEgCQ5
    kiQnBoDjOHIkiQeAHEmOJBkEgCRJkiQZcJNdTWMASJIkSZIoAEiSJEmSKAI2kiRJkikASJIk
    SZKBRxfWNEeAJEmSJKcCgCRJkiSpAoAkSZIkmQKAJEmSJBl8dGFNKQBIkiRJkioASJIkSZIq
    BEiSJElyKQRIkiRJcoFHF9aEAoAkSZIkmQKAJEmSJKkCgCRJkiSZAoAkSZIkGXh0YU0qAEiS
    JEmSKABIkiRJkisASJIkSZIo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JIkSZIoAEiSJEmSIEgX1oQC
    gCRJkiSJAoAkSZIkiQKAJEmSJIkCgCRJkiQJgnRhTSgASJIkSZIoAEiSJEmSKABIkiRJkigA
    SJIkSZIgSBfWhAKAJEmSJIkCgCRJkiSJAoAkSZIkiQKAJEmSJAmCdGFNKABIkiRJkigASJIk
    SZIoAEiSJEmSKABIkiRJkiBIF9aEAoAkSZIkiQKAJEmSJIkCgCRJkiSJAoAkSZIkCYJ0YU0o
    AEiSJEmSKABIkiRJkigASJIkSZIoAEiSJEmSIEgX1oQCgCRJkiSJAoAkSZIkiQKAJEmSJIkC
    gCRJkiQJgnRhTSgASJIkSZIoAEiSJEmSKABIkiRJkigASJIkSZIgSBfWhAKAJEmSJIkCgCRJ
    kiSJAoAkSZIkiQKAJEmSJAmCdGFNKABIkiRJkigASJIkSZIoAEiSJEmSKABIkiRJkiBIF9aE
    AoAkSZIkiQKAJEmSJIkCgCRJkiSJAoAkSZIkCYJ0YU0oAEiSJEmSKABIkiRJkigASJIkSZIo
    AEiSJEmSIEgX1oQCgCRJkiSJAoAkSZIkiQKAJEmSJIkCgCRJkiQJgnRhTSgASJIkSZIoAEiS
    JEmSKABIkiRJkigASJIkSZIgSBfWhAKAJEmSJIkCgCRJkiSJAoAkSZIkiQKAJEmSJAmCdGFN
    KABIkiRJkigASJIkSZIoAEiSJEmSKABIkiRJkg==
    ------voicemail_302472385822678--
    

    Статистика

    Время первой команды журнала14:17:09 2016- 3-29
    Время последней команды журнала13:52:15 2016- 3-30
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, % 5.94
    Процент синтаксически неверно набранных команд, % 3.96
    Суммарное время работы с терминалом *, час 2.66
    Количество командных строк в единицу времени, команда/мин 0.63
    Частота использования команд
    sudo51|=================================| 33.12%
    gedit28|==================| 18.18%
    ls17|===========| 11.04%
    cd14|=========| 9.09%
    apt-get10|======| 6.49%
    cat7|====| 4.55%
    asterisk6|===| 3.90%
    rm4|==| 2.60%
    mail3|=| 1.95%
    mkdir2|=| 1.30%
    mpg1232|=| 1.30%
    grep2|=| 1.30%
    tar2|=| 1.30%
    !!1|| 0.65%
    screen1|| 0.65%
    chown1|| 0.65%
    cp1|| 0.65%
    ssh1|| 0.65%
    clear1|| 0.65%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    О программе

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

    $Id$