| /l3/users/2014-11-nt-voip/nt-voip/debian6/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 |
|
|
#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 |
|
#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 |
|
#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) ... |
|
#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) ... |
|
#dpkg -i asterisk
dpkg: error processing asterisk (--install): cannot access archive: No such file or directory Errors were encountered while processing: asterisk |
|
#dpkg -i asterisk
dpkg: error processing asterisk (--install): cannot access archive: No such file or directory Errors were encountered while processing: asterisk |
|
#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 |
|
#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 |
|
#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. |
|
#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. |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
|
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#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 |
|
#mv /etc/asterisk/extensions.conf{,.bak}
mv: cannot stat `/etc/asterisk/extensions.conf': No such file or directory |