/l3/users/alexv/sl-voip-2016-03/asterisk4.unix.sl/root :1 :2 |
|
#gedit ~/.bash_
.bash_history .bash_profile |
#gedit ~/.bash_profile
** (gedit:11386): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed (gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed Error creating proxy: The connection is closed (g-io-error-quark, 18) (gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed (gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed (gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed ** (gedit:11386): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:11386): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:11386): dconf-WARNING **: failed to commit changes to dconf: The connection is closed ** (gedit:11386): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported |
#sudo apt-get install is
isag isdnlog isomaster isatapd isdnlog-data isomd5sum isc-dhcp-client isdnutils-base isoqlog isc-dhcp-client-dbg isdnutils-doc isoquery isc-dhcp-common isdnutils-xtools ispanish isc-dhcp-dbg isdnvbox ispell isc-dhcp-dev isdnvboxclient isrcsubmit isc-dhcp-relay isdnvboxserver istanbul isc-dhcp-relay-dbg iselect istgt isc-dhcp-server isenkram iswedish isc-dhcp-server-dbg isenkram-cli iswiss isc-dhcp-server-ldap islamic-menus isync iscsitarget iso-codes iscsitarget-dkms isolinux |
#apt-get install isc-dhcp-server
Reading package lists... Done Building dependency tree Reading state information... Done isc-dhcp-server is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
#ls -l /var/log/asterisk/messages
-rw-rw---- 1 asterisk asterisk 9710 Mar 29 15:29 /var/log/asterisk/messages |
#ls -l /var/tmp/asterisk/
total 0 |
#[Mar 29 14:38:33] NOTICE[477] chan_sip.c: Registration from '"1401" <sip:1401@19
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> == Using SIP RTP CoS mark 5 -- Executing [4001@default:1] Record("SIP/1401-00000012", "/var/tmp/asterisk/message01:wav") in new stack > 0x7f1ecc0535f0 -- Probation passed - setting RTP source address to 192.168.40.201:16416 -- <SIP/1401-00000012> Playing 'beep.gsm' (language 'en') > 0x7f1ecc044da0 -- Probation passed - setting RTP source address to 192.168.40.201:16408 [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 == Spawn extension (default, 4001, 1) exited non-zero on 'SIP/1401-00000012' == Spawn extension (default, 4001, 1) exited non-zero on 'SIP/1401-0000000e' asterisk4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#/etc/init.d/asterisk restart
Restarting asterisk (via systemctl): asterisk.service. |
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 472) 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 (21 ms) 1402/1402 192.168.40.202 D Auto (No) No 5060 UNREACHABLE minsk/vitebsk 192.168.40.1 D Auto (No) No 5060 Unmonitored 3 sip peers [Monitored: 1 online, 1 offline Unmonitored: 1 online, 0 offline] [Mar 30 10:24:47] NOTICE[503]: chan_sip.c:23561 handle_response_peerpoke: Peer '1402' is now Reachable. (37ms / 2000ms) asterisk4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#asterisk -rvvvv
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 -- Executing [1402@phone:1] Macro("SIP/1401-00000032", "call") in new stack ... -- Called SIP/1402 -- SIP/1402-00000033 is ringing -- Nobody picked up in 10000 ms -- Executing [s@macro-call:3] GotoIf("SIP/1401-00000032", "0?label1") in new stack -- Executing [s@macro-call:4] Hangup("SIP/1401-00000032", "") in new stack == Spawn extension (macro-call, s, 4) exited non-zero on 'SIP/1401-00000032' in macro 'call' == Spawn extension (phone, 1402, 1) exited non-zero on 'SIP/1401-00000032' asterisk4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#less /etc/asterisk/extensions.conf
|
#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 |
#pwd
/etc/asterisk |
#cd /var/spool/asterisk/monitor/
|
#ls
|
#ls
|
#ls
1401-s-2016-03-30-16:09.wav |
#apt-get install samba
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: attr libaio1 libhdb9-heimdal libkdc2-heimdal python-crypto python-dnspython python-ldb python-ntdb python-samba python-tdb samba-common samba-common-bin samba-dsdb-modules samba-vfs-modules tdb-tools Suggested packages: python-crypto-dbg python-crypto-doc bind9 bind9utils ctdb ldb-tools ntp ... Setting up tdb-tools (1.3.1-1) ... update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode Setting up libkdc2-heimdal:amd64 (1.6~rc2+dfsg-9) ... Setting up samba (2:4.1.17+dfsg-2+deb8u2) ... Adding group `sambashare' (GID 122) ... Done. Setting up attr (1:2.4.47-2) ... Setting up samba-vfs-modules (2:4.1.17+dfsg-2+deb8u2) ... Processing triggers for libc-bin (2.19-18+deb8u3) ... Processing triggers for systemd (215-17+deb8u3) ... |
#cd /var/tmp/asterisk/
|
#ls
message000.wav message01.wav message05.gsm message10.gsm |
#ls
message000.wav message001.wav message01.wav message05.gsm message10.gsm |
#asterisk -rvvvv
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> asterisk4*CLI> == Using SIP RTP CoS mark 5 [Mar 30 16:40:47] NOTICE[503][C-00000049]: chan_sip.c:25628 handle_request_invite: Call from '1401' (192.168.40.201:5060) to extension '4200' rejected because extension not found in context 'phone'. asterisk4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#less /etc/asterisk/extensions.conf
|
#ls
message000.wav message001.wav message01.wav message05.gsm message10.gsm |
#ls
message000.wav message002.wav message004.wav message01.wav message10.gsm message001.wav message003.wav message005.wav message05.gsm |
#ls
message000.wav message002.wav message004.wav message01.wav message10.gsm message001.wav message003.wav message005.wav message05.gsm |
#ls -la
total 1044 drwxr-xr-x 2 asterisk asterisk 4096 Mar 30 16:52 . drwxrwxrwt 5 root root 4096 Mar 30 14:41 .. -rw-rw---- 1 asterisk asterisk 26764 Mar 30 16:37 message000.wav -rw-rw---- 1 asterisk asterisk 19404 Mar 30 16:53 message001.wav -rw-rw---- 1 asterisk asterisk 23564 Mar 30 16:51 message002.wav -rw-rw---- 1 asterisk asterisk 19724 Mar 30 16:51 message003.wav -rw-rw---- 1 asterisk asterisk 17164 Mar 30 16:52 message004.wav -rw-rw---- 1 asterisk asterisk 17804 Mar 30 16:52 message005.wav -rw-rw---- 1 asterisk asterisk 48524 Mar 29 15:47 message01.wav -rw-r--r-- 1 root root 437448 Mar 30 15:00 message05.gsm -rw-r--r-- 1 root root 437448 Mar 30 15:00 message10.gsm |
#ls -la
total 1044 drwxr-xr-x 2 asterisk asterisk 4096 Mar 30 16:52 . drwxrwxrwt 5 root root 4096 Mar 30 14:41 .. -rw-rw---- 1 asterisk asterisk 26764 Mar 30 16:37 message000.wav -rw-rw---- 1 asterisk asterisk 19404 Mar 30 16:53 message001.wav -rw-rw---- 1 asterisk asterisk 23564 Mar 30 16:51 message002.wav -rw-rw---- 1 asterisk asterisk 19724 Mar 30 16:51 message003.wav -rw-rw---- 1 asterisk asterisk 17164 Mar 30 16:52 message004.wav -rw-rw---- 1 asterisk asterisk 17804 Mar 30 16:52 message005.wav -rw-rw---- 1 asterisk asterisk 48524 Mar 29 15:47 message01.wav -rw-r--r-- 1 root root 437448 Mar 30 15:00 message05.gsm -rw-r--r-- 1 root root 437448 Mar 30 15:00 message10.gsm |
#ls /var/tmp/asterisk/
message000.wav message002.wav message004.wav message01.wav message10.gsm message001.wav message003.wav message005.wav message05.gsm |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-13291.18755.31106 2016-03-30 16:56:24.464770823 +0300 +++ /etc/asterisk/extensions.conf 2016-03-30 16:56:43.376771024 +0300 @@ -40,7 +40,7 @@ exten => 4204,1,Read(ORDER,/var/tmp/asterisk/message000) exten => 4204,n,Playback(/var/tmp/asterisk/message001) exten => 4204,n,SayDigits(${ORDER}) -exten => 4204,n,Playback(/var/tmp/asterisk/message0${DB(order/${ORDER})} +exten => 4204,n,Playback(/var/tmp/asterisk/message00${DB(order/${ORDER})} exten => 4200,1,Playback(/var/tmp/asterisk/message000) |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-13291.28263.16644 2016-03-30 16:57:39.332771619 +0300 +++ /etc/asterisk/extensions.conf 2016-03-30 16:57:57.060771807 +0300 @@ -40,7 +40,7 @@ exten => 4204,1,Read(ORDER,/var/tmp/asterisk/message000) exten => 4204,n,Playback(/var/tmp/asterisk/message001) exten => 4204,n,SayDigits(${ORDER}) -exten => 4204,n,Playback(/var/tmp/asterisk/message00${DB(order/${ORDER})} +exten => 4204,n,Playback(/var/tmp/asterisk/message00${DB(order/${ORDER})}) exten => 4200,1,Playback(/var/tmp/asterisk/message000) |
#cd /etc/asterisk/
|
#gedit extensions.conf
** (gedit:2314): WARNING **: Could not open X display Unable to init server: Could not connect: Connection refused (gedit:2314): Gtk-WARNING **: cannot open display: localhost:11.0 |
#ls
acl.conf cel_tds.conf http.conf res_corosync.conf adsi.conf chan_dahdi.conf iax.conf res_curl.conf agents.conf chan_mobile.conf iaxprov.conf res_fax.conf alarmreceiver.conf cli_aliases.conf indications.conf res_ldap.conf alsa.conf cli.conf jabber.conf res_odbc.conf amd.conf cli_permissions.conf jingle.conf res_pgsql.conf app_mysql.conf codecs.conf logger.conf res_pktccops.conf app_skel.conf confbridge.conf manager.conf res_snmp.conf asterisk.adsi config_test.conf manager.d res_stun_monitor.conf asterisk.conf console.conf meetme.conf rtp.conf ... cdr_odbc.conf ~extensions.conf ooh323.conf telcordia-1.adsi cdr_pgsql.conf extensions.conf osp.conf udptl.conf cdr_sqlite3_custom.conf extensions.lua oss.conf unistim.conf cdr_syslog.conf extensions_minivm.conf phone.conf users.conf cdr_tds.conf features.conf phoneprov.conf voicemail.conf cel.conf festival.conf queuerules.conf vpb.conf cel_custom.conf followme.conf queues.conf xmpp.conf cel_odbc.conf func_odbc.conf res_config_mysql.conf cel_pgsql.conf gtalk.conf res_config_sqlite3.conf cel_sqlite3_custom.conf h323.conf res_config_sqlite.conf |
#gedit extensions.conf
** (gedit:2484): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:2484): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found ** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-language not supported (gedit:2484): 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:2484): 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:2484): 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:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:2484): 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:2484): 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:2484): 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:2484): 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:2484): 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:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:2484): 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:2484): 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:2484): 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:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:2484): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#man bash | head -30 | sed '1,14d;23,$d' | text2wave > /tmp/1
|
#man bash | head -30 | sed '1,14d;23,$d' | text2wave > /tmp/1.wav
|
#ls
acl.conf cel_tds.conf http.conf res_corosync.conf adsi.conf chan_dahdi.conf iax.conf res_curl.conf agents.conf chan_mobile.conf iaxprov.conf res_fax.conf alarmreceiver.conf cli_aliases.conf indications.conf res_ldap.conf alsa.conf cli.conf jabber.conf res_odbc.conf amd.conf cli_permissions.conf jingle.conf res_pgsql.conf app_mysql.conf codecs.conf logger.conf res_pktccops.conf app_skel.conf confbridge.conf manager.conf res_snmp.conf asterisk.adsi config_test.conf manager.d res_stun_monitor.conf asterisk.conf console.conf meetme.conf rtp.conf ... cdr_odbc.conf ~extensions.conf ooh323.conf telcordia-1.adsi cdr_pgsql.conf extensions.conf osp.conf udptl.conf cdr_sqlite3_custom.conf extensions.lua oss.conf unistim.conf cdr_syslog.conf extensions_minivm.conf phone.conf users.conf cdr_tds.conf features.conf phoneprov.conf voicemail.conf cel.conf festival.conf queuerules.conf vpb.conf cel_custom.conf followme.conf queues.conf xmpp.conf cel_odbc.conf func_odbc.conf res_config_mysql.conf cel_pgsql.conf gtalk.conf res_config_sqlite3.conf cel_sqlite3_custom.conf h323.conf res_config_sqlite.conf |
#cd /etc/asterisk/
|
#gedit extensions.conf
** (gedit:4235): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:4235): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:4235): 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:4235): 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:4235): 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:4235): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:4235): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit extensions.conf
** (gedit:5605): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:5605): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found ** (gedit:5605): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-language not supported |
#chown asterisk:asterisk /var/lib/asterisk/sounds/tts
|
#gedit /usr/local/bin/
asterisk-festival.pl l3-agent l3-config l3script |
#gedit /usr/local/bin/asterisk-festival.pl
** (gedit:5639): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:5639): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
#gedit extensions.conf
** (gedit:5748): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:5748): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:5748): 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:5748): 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:5748): 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:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:5748): 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:5748): 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:5748): 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:5748): 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:5748): 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:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported ** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-language not supported (gedit:5748): 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:5748): 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:5748): 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:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:5748): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-5976.13301.6968 2016-03-31 14:02:28.463955060 +0300 +++ /etc/asterisk/extensions.conf 2016-03-31 14:03:23.539955645 +0300 @@ -15,7 +15,9 @@ exten => s,n,Hangup [submenu] -exten => s,1(start),Background(/var/tmp/asterisk/message111) +exten => s,1,Answer +exten => s,n(start),Background(/var/tmp/asterisk/message111) + exten => 9,1,Goto(s,start) exten => 0,1,Goto(menu,s,start) |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-5976.4145.5474 2016-03-31 14:03:44.443955867 +0300 +++ /etc/asterisk/extensions.conf 2016-03-31 14:04:09.819956136 +0300 @@ -32,7 +32,7 @@ exten => s,n,Background(/var/tmp/asterisk/message109) exten => s,n,Hangup -exten => 1,1,Goto(submenu,1,start) +exten => 1,1,Goto(submenu,s,start) exten => 9,1,Goto(s,start) exten => 0,1,Hangup |
#gedit extensions.conf
** (gedit:6107): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:6107): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:6107): 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:6107): 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:6107): 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:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:6107): 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:6107): 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:6107): 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:6107): 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:6107): 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:6107): 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:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:6107): 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:6107): 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:6107): 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:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:6107): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#asterisk -rvvvv
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 = 499) asterisk4*CLI> == Using SIP RTP CoS mark 5 ... > 0x7ff3f801bcb0 -- Probation passed - setting RTP source address to 192.168.40.201:16460 -- Executing [s@menu:2] BackGround("SIP/1401-00000043", "/var/tmp/asterisk/message106") in new stack -- <SIP/1401-00000043> Playing '/var/tmp/asterisk/message106.slin' (language 'ja') -- Executing [s@menu:3] WaitExten("SIP/1401-00000043", "2") in new stack == CDR updated on SIP/1401-00000043 -- Executing [0@menu:1] Hangup("SIP/1401-00000043", "") in new stack == Spawn extension (menu, 0, 1) exited non-zero on 'SIP/1401-00000043' asterisk4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#asterisk -rvvvv
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 = 499) asterisk4*CLI> asterisk4*CLI> ... -- <SIP/1401-00000050> Playing '/var/tmp/asterisk/message000.slin' (language 'ja') -- User entered '2' -- Executing [2@menu:2] Playback("SIP/1401-00000050", "/var/tmp/asterisk/message001") in new stack -- <SIP/1401-00000050> Playing '/var/tmp/asterisk/message001.slin' (language 'ja') -- Executing [2@menu:3] SayDigits("SIP/1401-00000050", "2") in new stack -- <SIP/1401-00000050> Playing 'digits/2.gsm' (language 'ja') -- Auto fallthrough, channel 'SIP/1401-00000050' status is 'UNKNOWN' asterisk4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#vim /etc/asterisk/extensions.conf
|
#gedit extensions.conf
** (gedit:6377): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:6377): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
#cd /usr/local/bin
|
#gedit asterisk-festival.pl
** (gedit:6415): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:6415): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:6415): 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:6415): 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:6415): 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:6415): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:6415): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#cd /etc/asterisk/
|
#ls
acl.conf cel_tds.conf http.conf res_corosync.conf adsi.conf chan_dahdi.conf iax.conf res_curl.conf agents.conf chan_mobile.conf iaxprov.conf res_fax.conf alarmreceiver.conf cli_aliases.conf indications.conf res_ldap.conf alsa.conf cli.conf jabber.conf res_odbc.conf amd.conf cli_permissions.conf jingle.conf res_pgsql.conf app_mysql.conf codecs.conf logger.conf res_pktccops.conf app_skel.conf confbridge.conf manager.conf res_snmp.conf asterisk.adsi config_test.conf manager.d res_stun_monitor.conf asterisk.conf console.conf meetme.conf rtp.conf ... cdr_odbc.conf ~extensions.conf ooh323.conf telcordia-1.adsi cdr_pgsql.conf extensions.conf osp.conf udptl.conf cdr_sqlite3_custom.conf extensions.lua oss.conf unistim.conf cdr_syslog.conf extensions_minivm.conf phone.conf users.conf cdr_tds.conf features.conf phoneprov.conf voicemail.conf cel.conf festival.conf queuerules.conf vpb.conf cel_custom.conf followme.conf queues.conf xmpp.conf cel_odbc.conf func_odbc.conf res_config_mysql.conf cel_pgsql.conf gtalk.conf res_config_sqlite3.conf cel_sqlite3_custom.conf h323.conf res_config_sqlite.conf |
#gedit extensions.conf
** (gedit:6450): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:6450): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:6450): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files |
#vim /usr/local/bin/asterisk-festival.pl
--- /tmp/l3-saved-6505.24267.5677 2016-03-31 14:30:32.259972943 +0300 +++ /usr/local/bin/asterisk-festival.pl 2016-03-31 14:32:45.043974354 +0300 @@ -29,5 +29,6 @@ } $wavefile =~ s/.wav$//; -$AGI->exec('Background', $wavefile); +#$AGI->exec('Background', $wavefile); +$AGI->set_variable('FILENAME', $wavefile); |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-6505.2491.23251 2016-03-31 14:32:56.959974480 +0300 +++ /etc/asterisk/extensions.conf 2016-03-31 14:33:28.507974815 +0300 @@ -18,7 +18,9 @@ exten => s,1,Answer exten => s,n(start),Background(/var/tmp/asterisk/message111) exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt) +exten => 1,n,Background(${FILENAME}) exten => 2,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/burunduki.txt) +exten => 2,n,Background(${FILENAME}) exten => 9,1,Goto(s,start) exten => 0,1,Goto(menu,s,start) |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-6702.933.30250 2016-03-31 14:36:57.635977036 +0300 +++ /etc/asterisk/extensions.conf 2016-03-31 14:37:36.795977452 +0300 @@ -17,10 +17,13 @@ [submenu] exten => s,1,Answer exten => s,n(start),Background(/var/tmp/asterisk/message111) + exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt) exten => 1,n,Background(${FILENAME}) + exten => 2,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/burunduki.txt) exten => 2,n,Background(${FILENAME}) + exten => 9,1,Goto(s,start) exten => 0,1,Goto(menu,s,start) |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-6702.27785.15175 2016-03-31 14:37:56.939977666 +0300 +++ /etc/asterisk/extensions.conf 2016-03-31 14:38:14.995977858 +0300 @@ -18,8 +18,8 @@ exten => s,1,Answer exten => s,n(start),Background(/var/tmp/asterisk/message111) -exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt) -exten => 1,n,Background(${FILENAME}) +;exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt) +exten => 1,1,Background(/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70) exten => 2,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/burunduki.txt) exten => 2,n,Background(${FILENAME}) |
#vim /etc/asterisk/extensions.conf
|
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-6702.17192.32477 2016-03-31 14:38:45.987978187 +0300 +++ /etc/asterisk/extensions.conf 2016-03-31 14:39:23.267978583 +0300 @@ -18,8 +18,8 @@ exten => s,1,Answer exten => s,n(start),Background(/var/tmp/asterisk/message111) -;exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt) -exten => 1,1,Background(/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70) +exten => 1,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/belki.txt) +exten => 2,n,Background(${FILENAME}) exten => 2,1,AGI(/usr/local/bin/asterisk-festival.pl,/tmp/burunduki.txt) exten => 2,n,Background(${FILENAME}) |
#gedit extensions.conf
** (gedit:6838): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:6838): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:6838): 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:6838): 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:6838): 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:6838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:6838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:6838): 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:6838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:6838): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit queues.conf
** (gedit:6860): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:6860): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:6860): 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:6860): 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:6860): 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:6860): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:6860): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:6860): 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:6860): 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:6860): 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:6860): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:6860): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#asterisk -rvvvv
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 = 499) asterisk4*CLI> asterisk4*CLI> queue ... asterisk4*CLI> asterisk4*CLI> asterisk4*CLI> queue show queue1 queue1 has 0 calls (max unlimited) in 'ringall' strategy (1s holdtime, 5s talktime), W:0, C:1, A:0, SL:0.0% within 0s Members: SIP/1402 (ringinuse enabled) (Not in use) has taken 1 calls (last was 2 secs ago) No Callers asterisk4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#gedit agents.conf
** (gedit:6986): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:6986): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:6986): 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:6986): 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:6986): 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:6986): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:6986): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit extensions.conf
** (gedit:7008): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7008): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7008): 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:7008): 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:7008): 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:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:7008): 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:7008): 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:7008): 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:7008): 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:7008): 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:7008): 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:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:7008): 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:7008): 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:7008): 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:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7008): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#asterisk -rvvvv
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 = 499) asterisk4*CLI> asterisk4*CLI> == Using SIP RTP CoS mark 5 [Mar 31 14:57:24] NOTICE[801][C-0000005d]: chan_sip.c:25628 handle_request_invite: Call from '1401' (192.168.40.201:5060) to extension '4411' rejected because extension not found in context 'phone'. asterisk4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups |
#vim /etc/asterisk/extensions.conf
|
#gedit agents.conf
** (gedit:7164): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7164): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
#gedit extensions.conf
** (gedit:7180): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7180): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
#gedit queues.conf
** (gedit:7196): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7196): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
#gedit extensions.conf
** (gedit:7212): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7212): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7212): 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:7212): 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:7212): 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:7212): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7212): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit queues.conf
** (gedit:7239): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7239): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7239): 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:7239): 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:7239): 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:7239): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7239): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit queues.conf
** (gedit:7260): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7260): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7260): 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:7260): 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:7260): 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:7260): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7260): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit queues.conf
** (gedit:7276): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7276): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7276): 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:7276): 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:7276): 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:7276): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7276): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit extensions.conf
** (gedit:7293): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7293): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
#gedit extensions.conf
** (gedit:7374): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7374): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7374): 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:7374): 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:7374): 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:7374): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7374): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit extensions
** (gedit:7397): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7397): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found ** (gedit:7397): WARNING **: Error when getting information for file '/etc/asterisk/extensions': No such file or directory |
#gedit extensions.conf
** (gedit:7413): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7413): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found |
#gedit features.conf
** (gedit:7467): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7467): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7467): 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:7467): 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:7467): 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:7467): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7467): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit extensions.conf
** (gedit:7486): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7486): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7486): 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:7486): 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:7486): 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:7486): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7486): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported (gedit:7486): 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:7486): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7486): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit features.conf
** (gedit:7556): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7556): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7556): 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:7556): 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:7556): 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:7556): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7556): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit sip.conf
** (gedit:7574): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7574): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7574): 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:7574): 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:7574): 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:7574): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported ** (gedit:7574): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported |
#gedit confbridge.conf
** (gedit:7605): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-RHo80izQKP: Connection refused ** (gedit:7605): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found (gedit:7605): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:7605): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (gedit:7605): GLib-GObject-CRITICAL **: g_object_freeze_notify: assertion 'G_IS_OBJECT (object)' failed (gedit:7605): Gtk-CRITICAL **: gtk_widget_has_default: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:7605): Gtk-CRITICAL **: gtk_widget_get_receives_default: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:7605): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed (gedit:7605): Gtk-CRITICAL **: gtk_widget_get_display: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:7605): Gdk-CRITICAL **: gdk_display_get_device_manager: assertion 'GDK_IS_DISPLAY (display)' failed (gedit:7605): Gdk-CRITICAL **: gdk_device_manager_list_devices: assertion 'GDK_IS_DEVICE_MANAGER (device_manager)' failed (gedit:7605): Gdk-CRITICAL **: gdk_device_manager_list_devices: assertion 'GDK_IS_DEVICE_MANAGER (device_manager)' failed (gedit:7605): Gdk-CRITICAL **: gdk_device_manager_list_devices: assertion 'GDK_IS_DEVICE_MANAGER (device_manager)' failed (gedit:7605): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (gedit:7605): GLib-GObject-CRITICAL **: g_object_notify: assertion 'G_IS_OBJECT (object)' failed (gedit:7605): Gtk-CRITICAL **: gtk_widget_has_default: assertion 'GTK_IS_WIDGET (widget)' failed (gedit:7605): GLib-GObject-CRITICAL **: g_object_thaw_notify: assertion 'G_IS_OBJECT (object)' failed (gedit:7605): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed |
Время первой команды журнала | 15:44:34 2016- 3-28 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:22:08 2016- 3-31 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 100 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 1.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 3.84 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.43 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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