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

Содержание

Журнал

Понедельник (11/24/14)

/dev/pts/6
14:19:02
#more /etc/resolv.conf
/dev/pts/5
14:19:02
#more /etc/resolv.conf
/dev/pts/6
14:19:18
#apt-cache search asterisk
asterisk - Open Source Private Branch Exchange (PBX)
asterisk-config - Configuration files for Asterisk
asterisk-dahdi - DAHDI devices support for the Asterisk PBX
asterisk-dbg - Debugging symbols for Asterisk
asterisk-dev - Development files for Asterisk
asterisk-doc - Source code documentation for Asterisk
asterisk-mobile - Bluetooth phone support for the Asterisk PBX
asterisk-modules - loadable modules for the Asterisk PBX
asterisk-mp3 - MP3 playback support for the Asterisk PBX
asterisk-mysql - MySQL database protocol support for the Asterisk PBX
...
linphone-dbg - Debugging symbols for linphone and its libraries
op-panel - switchboard type application for the Asterisk PBX
libopenr2-3 - MFC/R2 (telephony) call setup library
python-asterisk - Asterisk Manager API interface module for Python
libsipwitch-dev - secure peer-to-peer SIP VoIP server - development files
libsipwitch1 - secure peer-to-peer SIP VoIP server - development files
libsipwitch1-dbg - secure peer-to-peer SIP VoIP server - development files
sipwitch - secure peer-to-peer VoIP server for the SIP protocol
sipwitch-cgi - secure peer-to-peer SIP VoIP server - CGI XML-RPC interface
python-starpy - Asterisk (AMI) protocols for Twisted Python
/dev/pts/5
14:19:18
#apt-cache search asterisk
asterisk - Open Source Private Branch Exchange (PBX)
asterisk-config - Configuration files for Asterisk
asterisk-dahdi - DAHDI devices support for the Asterisk PBX
asterisk-dbg - Debugging symbols for Asterisk
asterisk-dev - Development files for Asterisk
asterisk-doc - Source code documentation for Asterisk
asterisk-mobile - Bluetooth phone support for the Asterisk PBX
asterisk-modules - loadable modules for the Asterisk PBX
asterisk-mp3 - MP3 playback support for the Asterisk PBX
asterisk-mysql - MySQL database protocol support for the Asterisk PBX
...
linphone-dbg - Debugging symbols for linphone and its libraries
op-panel - switchboard type application for the Asterisk PBX
libopenr2-3 - MFC/R2 (telephony) call setup library
python-asterisk - Asterisk Manager API interface module for Python
libsipwitch-dev - secure peer-to-peer SIP VoIP server - development files
libsipwitch1 - secure peer-to-peer SIP VoIP server - development files
libsipwitch1-dbg - secure peer-to-peer SIP VoIP server - development files
sipwitch - secure peer-to-peer VoIP server for the SIP protocol
sipwitch-cgi - secure peer-to-peer SIP VoIP server - CGI XML-RPC interface
python-starpy - Asterisk (AMI) protocols for Twisted Python
прошло 37 минут
/dev/pts/6
14:56:38
#apt-cache search asterisk | wc -l
67
/dev/pts/5
14:56:38
#apt-cache search asterisk | wc -l
67
/dev/pts/6
14:56:51
#apt-get install asterisk
Selecting previously unselected package freetds-common.
Unpacking freetds-common (from .../freetds-common_0.91-2+deb7u1_all.deb) ...
Selecting previously unselected package libsybdb5:amd64.
Unpacking libsybdb5:amd64 (from .../libsybdb5_0.91-2+deb7u1_amd64.deb) ...
Selecting previously unselected package asterisk-config.
Unpacking asterisk-config (from .../asterisk-config_1%3a1.8.13.1~dfsg1-3+deb7u3_all.deb) ...
Selecting previously unselected package libiksemel3.
Unpacking libiksemel3 (from .../libiksemel3_1.2-4_amd64.deb) ...
Selecting previously unselected package libpq5.
Unpacking libpq5 (from .../libpq5_9.1.14-0+deb7u1_amd64.deb) ...
...
Setting up libmail-sendmail-perl (0.79.16-1) ...
Setting up libsox2 (14.4.0-3) ...
Setting up libsox-fmt-alsa (14.4.0-3) ...
Setting up libsox-fmt-base (14.4.0-3) ...
Setting up module-assistant (0.11.4) ...
Setting up rsync (3.0.9-4) ...
update-rc.d: using dependency based boot sequencing
Setting up sox (14.4.0-3) ...
Setting up vpb-driver-source (4.2.55-1) ...
Setting up asterisk-moh-opsound-gsm (2.03-1) ...
/dev/pts/5
14:56:51
#apt-get install asterisk
 │ ITU-T telephone code:                                                                                                         │
 │                                                                                                                               │
 â”3801___________________________________________________________________________________________________________________________ │
 │                                                                                                                               │
 │                                                            <Ok>                                                               │
 │                                                                                                                               │
 └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Selecting previously unselected package libgettextpo0:amd64.
(Reading database ... 130802 files and directories currently installed.)
Unpacking libgettextpo0:amd64 (from .../libgettextpo0_0.18.1.1-9_amd64.deb) ...
...
Setting up libmail-sendmail-perl (0.79.16-1) ...
Setting up libsox2 (14.4.0-3) ...
Setting up libsox-fmt-alsa (14.4.0-3) ...
Setting up libsox-fmt-base (14.4.0-3) ...
Setting up module-assistant (0.11.4) ...
Setting up rsync (3.0.9-4) ...
update-rc.d: using dependency based boot sequencing
Setting up sox (14.4.0-3) ...
Setting up vpb-driver-source (4.2.55-1) ...
Setting up asterisk-moh-opsound-gsm (2.03-1) ...
/dev/pts/6
15:04:01
#dpkg -i asterisk
dpkg: error processing asterisk (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 asterisk
/dev/pts/5
15:04:01
#dpkg -i asterisk
dpkg: error processing asterisk (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 asterisk
/dev/pts/6
15:04:37
#dpkg -L asterisk-config
/.
/usr
/usr/share
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/asterisk-config
/usr/share/doc
/usr/share/doc/asterisk-config
/usr/share/doc/asterisk-config/NEWS.Debian.gz
/usr/share/doc/asterisk-config/changelog.gz
...
/etc/asterisk/iaxprov.conf
/etc/asterisk/alsa.conf
/etc/asterisk/manager.conf
/etc/asterisk/cdr_adaptive_odbc.conf
/etc/asterisk/extconfig.conf
/etc/asterisk/enum.conf
/etc/asterisk/extensions_minivm.conf
/etc/asterisk/cli.conf
/etc/asterisk/cel_tds.conf
/etc/asterisk/dnsmgr.conf
/dev/pts/5
15:04:37
#dpkg -L asterisk-config
/.
/usr
/usr/share
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/asterisk-config
/usr/share/doc
/usr/share/doc/asterisk-config
/usr/share/doc/asterisk-config/NEWS.Debian.gz
/usr/share/doc/asterisk-config/changelog.gz
...
/etc/asterisk/iaxprov.conf
/etc/asterisk/alsa.conf
/etc/asterisk/manager.conf
/etc/asterisk/cdr_adaptive_odbc.conf
/etc/asterisk/extconfig.conf
/etc/asterisk/enum.conf
/etc/asterisk/extensions_minivm.conf
/etc/asterisk/cli.conf
/etc/asterisk/cel_tds.conf
/etc/asterisk/dnsmgr.conf
/dev/pts/6
15:04:54
#dpkg -L asterisk-config /etc
/.
/usr
/usr/share
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/asterisk-config
/usr/share/doc
/usr/share/doc/asterisk-config
/usr/share/doc/asterisk-config/NEWS.Debian.gz
/usr/share/doc/asterisk-config/changelog.gz
...
/etc/asterisk/manager.conf
/etc/asterisk/cdr_adaptive_odbc.conf
/etc/asterisk/extconfig.conf
/etc/asterisk/enum.conf
/etc/asterisk/extensions_minivm.conf
/etc/asterisk/cli.conf
/etc/asterisk/cel_tds.conf
/etc/asterisk/dnsmgr.conf
dpkg-query: error: --listfiles needs a valid package name but '/etc' is not: illegal package name in specifier '/etc': must start with an alphanumeric character
Use --help for help about querying packages.
/dev/pts/5
15:04:54
#dpkg -L asterisk-config /etc
/.
/usr
/usr/share
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/asterisk-config
/usr/share/doc
/usr/share/doc/asterisk-config
/usr/share/doc/asterisk-config/NEWS.Debian.gz
/usr/share/doc/asterisk-config/changelog.gz
...
/etc/asterisk/manager.conf
/etc/asterisk/cdr_adaptive_odbc.conf
/etc/asterisk/extconfig.conf
/etc/asterisk/enum.conf
/etc/asterisk/extensions_minivm.conf
/etc/asterisk/cli.conf
/etc/asterisk/cel_tds.conf
/etc/asterisk/dnsmgr.conf
dpkg-query: error: --listfiles needs a valid package name but '/etc' is not: illegal package name in specifier '/etc': must start with an alphanumeric character
Use --help for help about querying packages.
/dev/pts/6
15:04:58
#dpkg -L asterisk | less
/dev/pts/5
15:04:58
#dpkg -L asterisk | less
/dev/pts/6
15:05:43
#dpkg -L asterisk-modules | less
/dev/pts/5
15:05:43
#dpkg -L asterisk-modules | less
/dev/pts/6
15:08:45
#dpkg -L asterisk-modules | less | grep app
/usr/lib/asterisk/modules/app_softhangup.so
/usr/lib/asterisk/modules/app_waituntil.so
/usr/lib/asterisk/modules/app_senddtmf.so
/usr/lib/asterisk/modules/app_celgenuserevent.so
/usr/lib/asterisk/modules/app_parkandannounce.so
/usr/lib/asterisk/modules/app_userevent.so
/usr/lib/asterisk/modules/app_transfer.so
/usr/lib/asterisk/modules/app_playback.so
/usr/lib/asterisk/modules/app_waitforring.so
/usr/lib/asterisk/modules/app_read.so
...
/usr/lib/asterisk/modules/app_nbscat.so
/usr/lib/asterisk/modules/app_dictate.so
/usr/lib/asterisk/modules/app_directory.so
/usr/lib/asterisk/modules/app_festival.so
/usr/lib/asterisk/modules/app_test.so
/usr/lib/asterisk/modules/app_authenticate.so
/usr/lib/asterisk/modules/app_externalivr.so
/usr/lib/asterisk/modules/app_amd.so
/usr/lib/asterisk/modules/app_morsecode.so
/usr/lib/asterisk/modules/app_saycountpl.so
/dev/pts/5
15:08:45
#dpkg -L asterisk-modules | less | grep app
/usr/lib/asterisk/modules/app_softhangup.so
/usr/lib/asterisk/modules/app_waituntil.so
/usr/lib/asterisk/modules/app_senddtmf.so
/usr/lib/asterisk/modules/app_celgenuserevent.so
/usr/lib/asterisk/modules/app_parkandannounce.so
/usr/lib/asterisk/modules/app_userevent.so
/usr/lib/asterisk/modules/app_transfer.so
/usr/lib/asterisk/modules/app_playback.so
/usr/lib/asterisk/modules/app_waitforring.so
/usr/lib/asterisk/modules/app_read.so
...
/usr/lib/asterisk/modules/app_nbscat.so
/usr/lib/asterisk/modules/app_dictate.so
/usr/lib/asterisk/modules/app_directory.so
/usr/lib/asterisk/modules/app_festival.so
/usr/lib/asterisk/modules/app_test.so
/usr/lib/asterisk/modules/app_authenticate.so
/usr/lib/asterisk/modules/app_externalivr.so
/usr/lib/asterisk/modules/app_amd.so
/usr/lib/asterisk/modules/app_morsecode.so
/usr/lib/asterisk/modules/app_saycountpl.so
/dev/pts/6
15:08:51
#dpkg -L asterisk-modules | less | grep chan
/usr/lib/asterisk/modules/chan_iax2.so
/usr/lib/asterisk/modules/chan_agent.so
/usr/lib/asterisk/modules/chan_bridge.so
/usr/lib/asterisk/modules/res_calendar_exchange.so
/usr/lib/asterisk/modules/chan_alsa.so
/usr/lib/asterisk/modules/chan_skinny.so
/usr/lib/asterisk/modules/app_chanisavail.so
/usr/lib/asterisk/modules/chan_unistim.so
/usr/lib/asterisk/modules/chan_local.so
/usr/lib/asterisk/modules/chan_jingle.so
...
/usr/lib/asterisk/modules/chan_phone.so
/usr/lib/asterisk/modules/chan_multicast_rtp.so
/usr/lib/asterisk/modules/app_chanspy.so
/usr/lib/asterisk/modules/func_channel.so
/usr/lib/asterisk/modules/chan_vpb.so
/usr/lib/asterisk/modules/chan_gtalk.so
/usr/lib/asterisk/modules/chan_oss.so
/usr/lib/asterisk/modules/chan_sip.so
/usr/share/doc/asterisk-modules/changelog.gz
/usr/share/doc/asterisk-modules/changelog.Debian.gz
/dev/pts/5
15:08:51
#dpkg -L asterisk-modules | less | grep chan
/usr/lib/asterisk/modules/chan_iax2.so
/usr/lib/asterisk/modules/chan_agent.so
/usr/lib/asterisk/modules/chan_bridge.so
/usr/lib/asterisk/modules/res_calendar_exchange.so
/usr/lib/asterisk/modules/chan_alsa.so
/usr/lib/asterisk/modules/chan_skinny.so
/usr/lib/asterisk/modules/app_chanisavail.so
/usr/lib/asterisk/modules/chan_unistim.so
/usr/lib/asterisk/modules/chan_local.so
/usr/lib/asterisk/modules/chan_jingle.so
...
/usr/lib/asterisk/modules/chan_phone.so
/usr/lib/asterisk/modules/chan_multicast_rtp.so
/usr/lib/asterisk/modules/app_chanspy.so
/usr/lib/asterisk/modules/func_channel.so
/usr/lib/asterisk/modules/chan_vpb.so
/usr/lib/asterisk/modules/chan_gtalk.so
/usr/lib/asterisk/modules/chan_oss.so
/usr/lib/asterisk/modules/chan_sip.so
/usr/share/doc/asterisk-modules/changelog.gz
/usr/share/doc/asterisk-modules/changelog.Debian.gz
/dev/pts/6
15:12:45
#dpkg -L asterisk-modules | less
/dev/pts/5
15:12:45
#dpkg -L asterisk-modules | less
/dev/pts/6
15:13:42
#dpkg -L asterisk-modules | sort | less
/dev/pts/5
15:13:42
#dpkg -L asterisk-modules | sort | less
/dev/pts/6
15:17:26
#ps -aux | grep [a]sterisk
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
asterisk 12316  0.1  0.1 755300 30176 ?        Ssl  16:03   0:01 /usr/sbin/asterisk -p -U asterisk
asterisk 12317  0.0  0.0  13916   772 ?        S    16:03   0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 12316
/dev/pts/5
15:17:26
#ps -aux | grep [a]sterisk
warning: bad ps syntax, perhaps a bogus '-'?
See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ
asterisk 12316  0.1  0.1 755300 30176 ?        Ssl  16:03   0:01 /usr/sbin/asterisk -p -U asterisk
asterisk 12317  0.0  0.0  13916   772 ?        S    16:03   0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 12316
/dev/pts/6
15:17:47
#ps aux | grep [a]sterisk
asterisk 12316  0.1  0.1 755300 30176 ?        Ssl  16:03   0:01 /usr/sbin/asterisk -p -U asterisk
asterisk 12317  0.0  0.0  13916   772 ?        S    16:03   0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 12316
/dev/pts/5
15:17:47
#ps aux | grep [a]sterisk
asterisk 12316  0.1  0.1 755300 30176 ?        Ssl  16:03   0:01 /usr/sbin/asterisk -p -U asterisk
asterisk 12317  0.0  0.0  13916   772 ?        S    16:03   0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 12316
/dev/pts/6
15:17:59
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian6 (pid = 12316)
debian6*CLI> exit
/dev/pts/5
15:17:59
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian6 (pid = 12316)
debian6*CLI> exit
/dev/pts/6
15:18:23
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk.
Starting Asterisk PBX: asterisk.
/dev/pts/5
15:18:23
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk.
Starting Asterisk PBX: asterisk.
прошло 18 минут
/dev/pts/6
15:37:22
#pa aux | grep asterisk
bash: pa: command not found
/dev/pts/5
15:37:22
#pa aux | grep asterisk
bash: pa: command not found
/dev/pts/6
15:37:34
#ps aux | grep asterisk
asterisk 12608  1.8  0.1 756100 30292 ?        Ssl  16:37   0:00 /usr/sbin/asterisk -p -U asterisk
asterisk 12609  0.0  0.0  13916   772 ?        S    16:37   0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 12608
root     12667  0.0  0.0   7836   888 pts/10   S+   16:37   0:00 grep asterisk
/dev/pts/5
15:37:34
#ps aux | grep asterisk
asterisk 12608  1.8  0.1 756100 30292 ?        Ssl  16:37   0:00 /usr/sbin/asterisk -p -U asterisk
asterisk 12609  0.0  0.0  13916   772 ?        S    16:37   0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 12608
root     12667  0.0  0.0   7836   888 pts/10   S+   16:37   0:00 grep asterisk
/dev/pts/6
15:37:38
#ps aux | grep [a]sterisk
asterisk 12608  1.3  0.1 756100 30292 ?        Ssl  16:37   0:00 /usr/sbin/asterisk -p -U asterisk
asterisk 12609  0.0  0.0  13916   772 ?        S    16:37   0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 12608
/dev/pts/5
15:37:38
#ps aux | grep [a]sterisk
asterisk 12608  1.3  0.1 756100 30292 ?        Ssl  16:37   0:00 /usr/sbin/asterisk -p -U asterisk
asterisk 12609  0.0  0.0  13916   772 ?        S    16:37   0:00 astcanary /var/run/asterisk/alt.asterisk.canary.tweet.tweet.tweet 12608
/dev/pts/6
15:37:45
#netstat -lnp | grep aster
tcp        0      0 127.0.0.1:5038          0.0.0.0:*               LISTEN      12608/asterisk
tcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN      12608/asterisk
udp        0      0 0.0.0.0:4520            0.0.0.0:*                           12608/asterisk
udp        0      0 0.0.0.0:4569            0.0.0.0:*                           12608/asterisk
udp        0      0 0.0.0.0:5000            0.0.0.0:*                           12608/asterisk
udp        0      0 0.0.0.0:5060            0.0.0.0:*                           12608/asterisk
unix  2      [ ACC ]     STREAM     LISTENING     44934    12608/asterisk      /var/run/asterisk/asterisk.ctl
/dev/pts/5
15:37:45
#netstat -lnp | grep aster
tcp        0      0 127.0.0.1:5038          0.0.0.0:*               LISTEN      12608/asterisk
tcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN      12608/asterisk
udp        0      0 0.0.0.0:4520            0.0.0.0:*                           12608/asterisk
udp        0      0 0.0.0.0:4569            0.0.0.0:*                           12608/asterisk
udp        0      0 0.0.0.0:5000            0.0.0.0:*                           12608/asterisk
udp        0      0 0.0.0.0:5060            0.0.0.0:*                           12608/asterisk
unix  2      [ ACC ]     STREAM     LISTENING     44934    12608/asterisk      /var/run/asterisk/asterisk.ctl
/dev/pts/6
15:40:16
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian6 (pid = 12728)
debian6*CLI> ael reload
[Nov 24 16:40:42] NOTICE[12787]: pbx_ael.c:164 pbx_load_module: Starting AEL load process.
...
translation     uptime          version         warranty
debian6*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
debian6*CLI> sip show users
Username                   Secret           Accountcode      Def.Context      ACL  ForcerPort
debian6*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
debian6*CLI> exit
/dev/pts/5
15:40:16
#asterisk -r
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian6 (pid = 12728)
debian6*CLI> ael reload
[Nov 24 16:40:42] NOTICE[12787]: pbx_ael.c:164 pbx_load_module: Starting AEL load process.
...
translation     uptime          version         warranty
debian6*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
debian6*CLI> sip show users
Username                   Secret           Accountcode      Def.Context      ACL  ForcerPort
debian6*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
debian6*CLI> exit
/dev/pts/6
15:45:51
#mv /etc/asterisk/extensions.conf {,.bak}

/dev/pts/5
15:45:51
#mv /etc/asterisk/extensions.conf {,.bak}

/dev/pts/6
15:46:24
#mv /etc/asterisk/sip.conf {,.bak}

/dev/pts/5
15:46:24
#mv /etc/asterisk/sip.conf {,.bak}

/dev/pts/6
15:46:43
#more /etc/asterisk/sip.bak
/dev/pts/5
15:46:43
#more /etc/asterisk/sip.bak
/dev/pts/6
15:46:48
#more /etc/asterisk/sip.conf.bak
/dev/pts/5
15:46:48
#more /etc/asterisk/sip.conf.bak
/dev/pts/6
15:47:09
#mv /etc/asterisk/extensions.conf{,.bak}
mv: cannot stat `/etc/asterisk/extensions.conf': No such file or directory
/dev/pts/5
15:47:09
#mv /etc/asterisk/extensions.conf{,.bak}
mv: cannot stat `/etc/asterisk/extensions.conf': No such file or directory
/dev/pts/6
15:47:29
#ls -l /etc/asterisk/
total 672
-rw-r----- 1 asterisk asterisk   140 Jan  4  2014 adsi.conf
-rw-r----- 1 asterisk asterisk  2760 Jan  4  2014 agents.conf
-rw-r----- 1 asterisk asterisk  2904 Jan  4  2014 ais.conf
-rw-r----- 1 asterisk asterisk  2084 Jan  4  2014 alarmreceiver.conf
-rw-r----- 1 asterisk asterisk  3498 Jan  4  2014 alsa.conf
-rw-r----- 1 asterisk asterisk   767 Jan  4  2014 amd.conf
-rw-r----- 1 asterisk asterisk  1044 Jan  4  2014 app_mysql.conf
-rw-r----- 1 asterisk asterisk  3254 Jan  4  2014 asterisk.adsi
-rw-r----- 1 asterisk asterisk  3465 Jan  4  2014 asterisk.conf
...
-rw-r----- 1 asterisk asterisk   742 Jan  4  2014 sip_notify.conf
-rw-r----- 1 asterisk asterisk  9185 Jan  4  2014 skinny.conf
-rw-r----- 1 asterisk asterisk  6774 Jan  4  2014 sla.conf
-rw-r----- 1 asterisk asterisk  2669 Jan  4  2014 smdi.conf
-rw-r----- 1 asterisk asterisk  1384 Jan  4  2014 telcordia-1.adsi
-rw-r----- 1 asterisk asterisk   656 Jan  4  2014 udptl.conf
-rw-r----- 1 asterisk asterisk  5096 Jan  4  2014 unistim.conf
-rw-r----- 1 asterisk asterisk  2423 Jan  4  2014 users.conf
-rw-r----- 1 asterisk asterisk 21238 Jan  4  2014 voicemail.conf
-rw-r----- 1 asterisk asterisk  5939 Jan  4  2014 vpb.conf
/dev/pts/5
15:47:29
#ls -l /etc/asterisk/
total 672
-rw-r----- 1 asterisk asterisk   140 Jan  4  2014 adsi.conf
-rw-r----- 1 asterisk asterisk  2760 Jan  4  2014 agents.conf
-rw-r----- 1 asterisk asterisk  2904 Jan  4  2014 ais.conf
-rw-r----- 1 asterisk asterisk  2084 Jan  4  2014 alarmreceiver.conf
-rw-r----- 1 asterisk asterisk  3498 Jan  4  2014 alsa.conf
-rw-r----- 1 asterisk asterisk   767 Jan  4  2014 amd.conf
-rw-r----- 1 asterisk asterisk  1044 Jan  4  2014 app_mysql.conf
-rw-r----- 1 asterisk asterisk  3254 Jan  4  2014 asterisk.adsi
-rw-r----- 1 asterisk asterisk  3465 Jan  4  2014 asterisk.conf
...
-rw-r----- 1 asterisk asterisk   742 Jan  4  2014 sip_notify.conf
-rw-r----- 1 asterisk asterisk  9185 Jan  4  2014 skinny.conf
-rw-r----- 1 asterisk asterisk  6774 Jan  4  2014 sla.conf
-rw-r----- 1 asterisk asterisk  2669 Jan  4  2014 smdi.conf
-rw-r----- 1 asterisk asterisk  1384 Jan  4  2014 telcordia-1.adsi
-rw-r----- 1 asterisk asterisk   656 Jan  4  2014 udptl.conf
-rw-r----- 1 asterisk asterisk  5096 Jan  4  2014 unistim.conf
-rw-r----- 1 asterisk asterisk  2423 Jan  4  2014 users.conf
-rw-r----- 1 asterisk asterisk 21238 Jan  4  2014 voicemail.conf
-rw-r----- 1 asterisk asterisk  5939 Jan  4  2014 vpb.conf
/dev/pts/6
15:47:56
#ls -l /etc/asterisk/ | grep bak

/dev/pts/5
15:47:56
#ls -l /etc/asterisk/ | grep bak

/dev/pts/6
15:52:10
#ls /etc/asterisk/
adsi.conf                cdr_syslog.conf          dundi.conf              manager.conf            res_ldap.conf
agents.conf              cdr_tds.conf             enum.conf               manager.d               res_odbc.conf
ais.conf                 cel.conf                 extconfig.conf          meetme.conf             res_pgsql.conf
alarmreceiver.conf       cel_custom.conf          extensions.ael          mgcp.conf               res_pktccops.conf
alsa.conf                cel_odbc.conf            extensions.lua          minivm.conf             res_snmp.conf
amd.conf                 cel_pgsql.conf           extensions_minivm.conf  misdn.conf              res_stun_monitor.conf
app_mysql.conf           cel_sqlite3_custom.conf  features.conf           modules.conf            rtp.conf
asterisk.adsi            cel_tds.conf             festival.conf           musiconhold.conf        say.conf
asterisk.conf            chan_dahdi.conf          followme.conf           muted.conf              sip_notify.conf
calendar.conf            chan_mobile.conf         func_odbc.conf          osp.conf                skinny.conf
ccss.conf                chan_ooh323.conf         gtalk.conf              oss.conf                sla.conf
cdr_adaptive_odbc.conf   cli_aliases.conf         h323.conf               phone.conf              smdi.conf
cdr.conf                 cli.conf                 http.conf               phoneprov.conf          telcordia-1.adsi
cdr_custom.conf          cli_permissions.conf     iax.conf                queuerules.conf         udptl.conf
cdr_manager.conf         codecs.conf              iaxprov.conf            queues.conf             unistim.conf
cdr_mysql.conf           console.conf             indications.conf        res_config_mysql.conf   users.conf
cdr_odbc.conf            dbsep.conf               jabber.conf             res_config_sqlite.conf  voicemail.conf
cdr_pgsql.conf           dnsmgr.conf              jingle.conf             res_curl.conf           vpb.conf
cdr_sqlite3_custom.conf  dsp.conf                 logger.conf             res_fax.conf
/dev/pts/5
15:52:10
#ls /etc/asterisk/
<