/l3/users/alexv/sl-voip-2016-03/asterisk4.unix.sl/user :1 :2 :3 |
|
$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 |
$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 |
$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 |
$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 |
$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) |
$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 |
$cd /var/tmp/asterisk/
|
$ls
|
$sudo chown asterisk:asterisk /var/tmp/asterisk/
|
$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 |
$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 |
$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 |
$screen -x
|
$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 |
$cd /etc/asterisk/
|
$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 |
$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 |
$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 |
$ls -la | grep ~
|
$ls -la | grep ~*
grep: ~sip.conf: Permission denied |
$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}) |
$cat ~extensions.conf
cat: ~extensions.conf: Permission denied |
$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 |
$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 |
$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 |
$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 |
$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 |
$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 |
$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}) |
$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 |
$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 |
$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 |
$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 |
$sudo gedit voicemail.conf
** (gedit:1440): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
$sudo gedit extensions.conf
** (gedit:1457): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
$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 |
$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 |
$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 |
$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 |
$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 |
$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 |
$sudo gedit voicemail.conf
** (gedit:1888): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
$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 |
$mail
bash: mail: command not found |
$sudo apt-get install bsd
bsdcpio bsdiff bsdmainutils bsdutils bsdgames bsd-mailx bsdtar |
$sudo apt-get install bsd
bsdcpio bsdiff bsdmainutils bsdutils bsdgames bsd-mailx bsdtar |
$sudo apt-get install bsd
bsdcpio bsdiff bsdmainutils bsdutils bsdgames bsd-mailx bsdtar |
$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) ... |
$mail
No mail for user |
$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 |
$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 |
$cd /var/mail
|
$ls
user |
$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-- |
$clear
|
$sudo gedit voicemail.conf
** (gedit:3629): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
$sudo gedit extensions.conf
** (gedit:3645): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
$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 |
$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 |
$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) ... |
$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 |
$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 |
$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 |
$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 |
$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 |
$sudo !!
sudo cp ~/Downloads/asterisk-core-sounds-ja-gsm-current.tar.gz /usr/share/asterisk/sounds/ |
$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 |
$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 |
$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 |
$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) ... |
$sudo mkdir ja
[sudo] password for user: |
$tar -xv
agi-bin/ documentation/ ja/ moh/ static-http/ conf/ firmware/ keys/ sounds/ |
$sudo rm ja
rm: cannot remove ‘ja’: Is a directory |
$sudo rm -r ja
|
$cd sounds/
|
$sudo mkdir ja
|
$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 |
$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 |
$sudo rm -f *.gsm
[sudo] password for user: |
$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 |
$cd ja
|
$ls
|
$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 |
$cd ja
|
$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 |
$ls
asterisk-core-sounds-ja-gsm-current.tar.gz queen.mp3 |
$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. |
$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) ... |
$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. |
$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. |
$ls
asterisk-core-sounds-ja-gsm-current.tar.gz queen.mp3 quenn,wav quenn.wav |
$rm quenn,wav
|
$ls
asterisk-core-sounds-ja-gsm-current.tar.gz queen.mp3 quenn.wav |
[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
[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})
[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
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 Q4DkNpLjBnb0qXYyAriR40iOXAA4juRIcnAARo7kuJHGADZyHDeSYkdhnlcGgONGkhspA2D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gCRJkiQJgnRhTSgASJIkSZIoAEiSJEmSKABIkiRJkigA 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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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