| /l3/users/sergey-tymku-public/nt-voip-2014-apr/debian5/root :1 :2 :3 :4 :5 :6 |
|
|
#tail -F /var/log/asterisk/
tail: error reading `/var/log/asterisk/': Is a directory tail: /var/log/asterisk/: cannot follow end of this type of file; giving up on this name ^[[A^[[A^Z [1]+ Stopped tail -F /var/log/asterisk/ |
|
#tail -F /var/log/asterisk/
cdr-csv/ cdr-custom/ messages queue_log |
|
#tail -F /var/log/asterisk/messages
[Apr 26 10:57:59] NOTICE[15891] pbx_spool.c: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
[Apr 26 10:57:59] NOTICE[15891] pbx_spool.c: Queued call to SIP/2102 expired without completion after 0 attempts
[Apr 26 11:12:00] NOTICE[15995] pbx_spool.c: Call failed to go through, reason (5) Remote end is Busy
[Apr 26 11:12:00] NOTICE[15995] pbx_spool.c: Queued call to SIP/graz/2101 expired without completion after 0 attempts
[Apr 26 11:12:22] ERROR[16027] netsock2.c: getaddrinfo("vienna", "(null)", ...): No address associated with hostname
[Apr 26 11:12:22] WARNING[16027] chan_sip.c: No such host: vienna
[Apr 26 11:12:22] NOTICE[16027] channel.c: Unable to request channel SIP/vienna/2201
[Apr 26 11:12:22] NOTICE[16027] pbx_spool.c: Call failed to go through, reason (0) Call Failure (not BUSY, and not NO_ANSWER, maybe Circuit busy or down?)
[Apr 26 11:12:22] NOTICE[16027] pbx_spool.c: Queued call to SIP/vienna/2201 expired without completion after 0 attempts
[Apr 26 11:12:59] NOTICE[16059] pbx_spool.c: Call completed to SIP/2201
[Apr 26 11:17:14] NOTICE[16212] pbx_spool.c: Call completed to SIP/2201
^C
|
|
#ls /etc/asterisk/*dahdi*
/etc/asterisk/chan_dahdi.conf |
|
#cat /etc/asterisk/chan_
chan_dahdi.conf chan_mobile.conf chan_ooh323.conf |
|
#cat /etc/asterisk/chan_dahdi.conf
; ; DAHDI Telephony Configuration file ; ; You need to restart Asterisk to re-configure the DAHDI channel ; CLI> module reload chan_dahdi.so ; will reload the configuration file, but not all configuration options ; are re-configured during a reload (signalling, as well as PRI and ; SS7-related settings cannot be changed on a reload). ; ; This file documents many configuration variables. Normally unless you know ... ; ; ;[fax](phones) ;dahdichan = 2 ;faxdetect = no ;context = fax ; ;[phone-3](phones) ;dahdichan = 3 ;pickupgroup = 3,4 |
|
#;
extensions.conf extensions.conf.1 extensions.conf.local extensions.conf.SAVED |
|
#vi /etc/asterisk/extensions.conf
|
|
#./
l3script: ./: Is a directory |
|
#ls >?
|
|
#ls ./
all asterisk-core-sounds-ru-wav-current.tar.gz copy_ssh dfdfadf install q |
|
#svn checkout http://chan-datacard.googlecode.com/svn/trunk datacard
A datacard/__helpers.c A datacard/__char_conv.c A datacard/configure A datacard/chan_datacard.h A datacard/Makefile.in A datacard/__cli.c A datacard/COPYRIGHT.txt A datacard/__channel.c A datacard/__manager.c A datacard/__at_fifo_queue.c ... A datacard/__at_response.c A datacard/__ringbuffer.c A datacard/README.txt A datacard/etc A datacard/etc/datacard.conf A datacard/__ringbuffer.h A datacard/chan_datacard.c A datacard/__at_parse.c A datacard/__at_read.c Checked out revision 191. |
|
#cd datacard/
|
|
#./configure
configure complete, now type 'make' |
|
#make
gcc -Wextra -fPIC -DAST_MODULE=\"chan_datacard\" -D_THREAD_SAFE -I. -I/usr/include -O2 -DICONV_CONST="" -D__DEBUG__ -D__MANAGER__ -D__APP__ -c chan_datacard.c chan_datacard.c:30:22: fatal error: asterisk.h: No such file or directory compilation terminated. make: *** [chan_datacard.o] Error 1 |
|
#apr-get install asterisk-dev
l3script: apr-get: command not found |
|
#apt-get install asterisk-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: asterisk-dev 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Need to get 959 kB of archives. After this operation, 2,131 kB of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian/ wheezy/main asterisk-dev all 1:1.8.13.1~dfsg1-3+deb7u3 [959 kB] Fetched 959 kB in 2s (367 kB/s) Selecting previously unselected package asterisk-dev. (Reading database ... 136922 files and directories currently installed.) Unpacking asterisk-dev (from .../asterisk-dev_1%3a1.8.13.1~dfsg1-3+deb7u3_all.deb) ... Setting up asterisk-dev (1:1.8.13.1~dfsg1-3+deb7u3) ... |
|
#make
gcc -Wextra -fPIC -DAST_MODULE=\"chan_datacard\" -D_THREAD_SAFE -I. -I/usr/include -O2 -DICONV_CONST="" -D__DEBUG__ -D__MANAGER__ -D__APP__ -c chan_datacard.c gcc -shared -Xlinker -x chan_datacard.o -o chan_datacard.so chmod 755 chan_datacard.so |
|
#make install
gcc -Wextra -fPIC -DAST_MODULE=\"chan_datacard\" -D_THREAD_SAFE -I. -I/usr/include -O2 -DICONV_CONST="" -D__DEBUG__ -D__MANAGER__ -D__APP__ -c chan_datacard.c gcc -shared -Xlinker -x chan_datacard.o -o chan_datacard.so chmod 755 chan_datacard.so install -d /usr/lib/asterisk/modules/ install -m 755 chan_datacard.so /usr/lib/asterisk/modules/ |
|
#ls
__app.c __at_send.c __channel.c etc __manager.c __at_fifo_queue.c chan_datacard.c __char_conv.c __helpers.c __memmem.c __at_parse.c chan_datacard.h __cli.c LICENSE.txt README.txt __at_read.c chan_datacard.o configure Makefile __ringbuffer.c __at_response.c chan_datacard.so COPYRIGHT.txt Makefile.in __ringbuffer.h |
|
#cd
__app.c chan_datacard.c __cli.c Makefile __ringbuffer.h __at_fifo_queue.c chan_datacard.h configure Makefile.in .svn/ __at_parse.c chan_datacard.o COPYRIGHT.txt __manager.c __at_read.c chan_datacard.so etc/ __memmem.c __at_response.c __channel.c __helpers.c README.txt __at_send.c __char_conv.c LICENSE.txt __ringbuffer.c |
|
#cd
__app.c chan_datacard.c __cli.c Makefile __ringbuffer.h __at_fifo_queue.c chan_datacard.h configure Makefile.in .svn/ __at_parse.c chan_datacard.o COPYRIGHT.txt __manager.c __at_read.c chan_datacard.so etc/ __memmem.c __at_response.c __channel.c __helpers.c README.txt __at_send.c __char_conv.c LICENSE.txt __ringbuffer.c |
|
#cd ./etc/datacard.conf
l3script: cd: ./etc/datacard.conf: Not a directory |
|
#ls ./etc/datacard.conf
./etc/datacard.conf |
|
#cp ./etc/datacard.conf /etc/asterisk/
|
|
#ls /etc/asterisk/datacard.conf
/etc/asterisk/datacard.conf |
|
#./c
chan_datacard.so configure |
|
#./c
chan_datacard.so configure |
|
#./configure
configure complete, now type 'make' |
|
#make clean
|
|
#make
gcc -Wextra -fPIC -DAST_MODULE=\"chan_datacard\" -D_THREAD_SAFE -I. -I/usr/include -O2 -DICONV_CONST="" -D__DEBUG__ -D__MANAGER__ -D__APP__ -c chan_datacard.c gcc -shared -Xlinker -x chan_datacard.o -o chan_datacard.so chmod 755 chan_datacard.so |
|
#make install
gcc -Wextra -fPIC -DAST_MODULE=\"chan_datacard\" -D_THREAD_SAFE -I. -I/usr/include -O2 -DICONV_CONST="" -D__DEBUG__ -D__MANAGER__ -D__APP__ -c chan_datacard.c gcc -shared -Xlinker -x chan_datacard.o -o chan_datacard.so chmod 755 chan_datacard.so install -d /usr/lib/asterisk/modules/ install -m 755 chan_datacard.so /usr/lib/asterisk/modules/ |
|
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
|
#vi /etc/asterisk/datacard.conf
|
|
#vi /etc/asterisk/datacard.conf
--- /tmp/l3-saved-13163.861.1664 2014-04-26 13:34:43.533598574 +0300 +++ /etc/asterisk/datacard.conf 2014-04-26 13:38:31.293602851 +0300 @@ -48,8 +48,8 @@ [datacard0](E1550_t) -audio=/dev/ttyUSB0 ; tty for audio connection -data=/dev/ttyUSB1 ; tty for AT commands +audio=/dev/ttyUSB1 ; tty for audio connection +data=/dev/ttyUSB2 ; tty for AT commands group=1 ; calling group ;[datacard1] |
|
#vi /etc/asterisk/datacard.conf
--- /tmp/l3-saved-13163.22920.5660 2014-04-26 13:51:56.309617963 +0300 +++ /etc/asterisk/datacard.conf 2014-04-26 13:58:49.573625722 +0300 @@ -47,10 +47,10 @@ u2diag=0 ; set U2DIAG parameter (0 = disable everything except modem function) -[datacard0](E1550_t) -audio=/dev/ttyUSB1 ; tty for audio connection -data=/dev/ttyUSB2 ; tty for AT commands -group=1 ; calling group +;[datacard0](E1550_t) +;audio=/dev/ttyUSB1 ; tty for audio connection +;data=/dev/ttyUSB2 ; tty for AT commands +;group=1 ; calling group ;[datacard1] ;context=incoming-datacard ; context for incoming calls |
|
#apt-get install usb-modemswitsh
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package usb-modemswitsh |
|
#apt-get install usb-modeswitsh
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package usb-modeswitsh |
|
#apt-get install usb-modeswitch
Reading package lists... Done Building dependency tree Reading state information... Done usb-modeswitch is already the newest version. usb-modeswitch set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. |
|
#apt-cache list usb-modeswitch
E: Invalid operation list |
|
#apt-cache
apt 0.9.7.9 for amd64 compiled on Nov 16 2013 12:41:38
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]
apt-cache is a low-level tool used to query information
from APT's binary cache files
Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
...
policy - Show policy settings
Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
|
|
#apt-cache
apt 0.9.7.9 for amd64 compiled on Nov 16 2013 12:41:38
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]
apt-cache is a low-level tool used to query information
from APT's binary cache files
Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
...
policy - Show policy settings
Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
|
|
#apt-cache showsrc usb-modeswitch
Package: usb-modeswitch Binary: usb-modeswitch Version: 1.2.3+repack0-1 Maintainer: Didier Raboud <odyx@debian.org> Build-Depends: debhelper (>= 8.9.0~), libusb-dev, jimsh, libjim-dev Architecture: any Standards-Version: 3.9.2 Format: 3.0 (quilt) Files: dab5eebb782fb5b077c508c5a74150e1 1814 usb-modeswitch_1.2.3+repack0-1.dsc ... Checksums-Sha256: c754a67a4898f19071635d16c688667129e7587bec1cd1c649466d68322a901f 1814 usb-modeswitch_1.2.3+repack0-1.dsc f429ae027c0877bb9bb1a3cdc0be3b092136b79fc9b0e78b234b5dc4c0978af6 38909 usb-modeswitch_1.2.3+repack0.orig.tar.bz2 445a55d8c2fb5aed1e71953a3ffca63eff7da8af188a4c2417503f5756b47b33 9838 usb-modeswitch_1.2.3+repack0-1.debian.tar.gz Homepage: http://www.draisberghof.de/usb_modeswitch/ Package-List: usb-modeswitch deb comm extra Directory: pool/main/u/usb-modeswitch Priority: source Section: comm |
|
#apt-cache
apt 0.9.7.9 for amd64 compiled on Nov 16 2013 12:41:38
Usage: apt-cache [options] command
apt-cache [options] showpkg pkg1 [pkg2 ...]
apt-cache [options] showsrc pkg1 [pkg2 ...]
apt-cache is a low-level tool used to query information
from APT's binary cache files
Commands:
gencaches - Build both the package and source cache
showpkg - Show some general information for a single package
showsrc - Show source records
...
policy - Show policy settings
Options:
-h This help text.
-p=? The package cache.
-s=? The source cache.
-q Disable progress indicator.
-i Show only important deps for the unmet command.
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
|
|
#apt-cache dump usb-modeswitch
Using Versioning System: Standard .deb
Package: libuuidm-ocaml-dev
Version: 0.9.4-1
File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages
Depends: ocaml-nox-3.12.1 (null)
Depends: libc6 2.7
Depends: ocaml-findlib (null)
Description Language:
File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages
MD5: 70445dff26b9433b873d0812f1164777
...
Version: 6.2.0-1
File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages
Depends: cl-sql 6.2.0-1
Depends: unixodbc-dev (null)
Depends: cl-sql-mysql (null)
Depends: cl-sql-postgresql (null)
Depends: acl-pro-installer (null)
Description Language:
File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages
MD5: e0c127b2b735addb19b5fe086d91e62a
|
|
#apt-cache dump
Using Versioning System: Standard .deb
Package: libuuidm-ocaml-dev
Version: 0.9.4-1
File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages
Depends: ocaml-nox-3.12.1 (null)
Depends: libc6 2.7
Depends: ocaml-findlib (null)
Description Language:
File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages
MD5: 70445dff26b9433b873d0812f1164777
...
Depends: tftpd-hpa (null)
Description Language:
File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages
MD5: 851985a9c3c6b9ebfe84ece1752a78eb
Description Language: en
File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_i18n_Translation-en
MD5: 851985a9c3c6b9ebfe84ece1752a78eb
Package: console-setup-freebsd
Version: 1.88
File: /var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy_main_binary-amd64_Packages
|
|
#mod
modem-manager modinfo modprobe module-assistant |
|
#usb-devices
usb-devices |
|
#usb
usb-devices usb_modeswitch usbmuxd usbhid-dump usb_modeswitch_dispatcher |
|
#usb_modeswitch
Usage: usb_modeswitch [<params>] [-c filename] -h, --help this help -e, --version print version information and exit -v, --default-vendor NUM vendor ID of original mode (mandatory) -p, --default-product NUM product ID of original mode (mandatory) -V, --target-vendor NUM target mode vendor ID (optional) -P, --target-product NUM target mode product ID (optional) -C, --target-class NUM target mode device class (optional) -b, --busnum NUM system bus number of device (for hard ID) -g, --devnum NUM system device number (for hard ID) ... -c, --config-file <filename> load long configuration from file -t, --stdinput read long configuration from stdin -f, --long-config <text> get long configuration from string -i, --interface NUM select initial USB interface (default 0) -u, --configuration NUM select USB configuration -a, --altsetting NUM select alternative USB interface setting * usb_modeswitch: handle USB devices with multiple modes * Version 1.2.3 (C) Josua Dietze 2012 * Based on libusb0 (0.1.12 and above) ! PLEASE REPORT NEW CONFIGURATIONS ! |
|
#usb_modeswitch -v
usb_modeswitch: option requires an argument -- 'v' Usage: usb_modeswitch [<params>] [-c filename] -h, --help this help -e, --version print version information and exit -v, --default-vendor NUM vendor ID of original mode (mandatory) -p, --default-product NUM product ID of original mode (mandatory) -V, --target-vendor NUM target mode vendor ID (optional) -P, --target-product NUM target mode product ID (optional) -C, --target-class NUM target mode device class (optional) -b, --busnum NUM system bus number of device (for hard ID) ... -W, --verbose print all settings and debug output -D, --sysmode specific result and syslog message -s, --success <seconds> switching result check with timeout -I, --no-inquire do not get SCSI attributes (default on) -c, --config-file <filename> load long configuration from file -t, --stdinput read long configuration from stdin -f, --long-config <text> get long configuration from string -i, --interface NUM select initial USB interface (default 0) -u, --configuration NUM select USB configuration -a, --altsetting NUM select alternative USB interface setting |
|
#usb_modeswitch | less
|
|
#apt-get
__app.c chan_datacard.c __cli.c Makefile __ringbuffer.h __at_fifo_queue.c chan_datacard.h configure Makefile.in .svn/ __at_parse.c chan_datacard.o COPYRIGHT.txt __manager.c __at_read.c chan_datacard.so etc/ __memmem.c __at_response.c __channel.c __helpers.c README.txt __at_send.c __char_conv.c LICENSE.txt __ringbuffer.c |
|
#apt-get
apt 0.9.7.9 for amd64 compiled on Nov 16 2013 12:41:41
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]
apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.
Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
...
-f Attempt to correct a system with broken dependencies in place
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
This APT has Super Cow Powers.
|
|
#apt-get | less
|
|
#vi /etc/asterisk/datacard.conf
--- /tmp/l3-saved-13163.24769.16775 2014-04-26 14:25:13.233655453 +0300 +++ /etc/asterisk/datacard.conf 2014-04-26 14:26:12.197656560 +0300 @@ -47,10 +47,10 @@ u2diag=0 ; set U2DIAG parameter (0 = disable everything except modem function) -[datacard0](E1550_t) -audio=/dev/ttyUSB1 ; tty for audio connection -data=/dev/ttyUSB2 ; tty for AT commands -group=1 ; calling group +;[datacard0](E1550_t) +;audio=/dev/ttyUSB1 ; tty for audio connection +;data=/dev/ttyUSB2 ; tty for AT commands +;group=1 ; calling group ;[datacard1] ;context=incoming-datacard ; context for incoming calls |
|
#d
|
|
#ls -al
total 76 drwxr-xr-x 2 root root 4096 Apr 22 14:33 . drwxr-xr-x 10 root root 4096 Apr 22 12:10 .. -rw-r--r-- 1 root root 69129 May 9 2012 vpb-driver.tar.bz2 |
|
#ls -al
total 34108 drwxr-xr-x 2 root root 4096 Apr 26 14:29 . drwxr-xr-x 10 root root 4096 Apr 22 12:10 .. -rw-r--r-- 1 root root 34844777 Apr 26 14:29 asterisk-11-current.tar.gz -rw-r--r-- 1 root root 69129 May 9 2012 vpb-driver.tar.bz2 |
|
#tar xf asterisk-11-current.tar.gz
|
|
#lsl -al
l3script: lsl: command not found |
|
#ls -al
total 34112 drwxr-xr-x 3 root root 4096 Apr 26 14:30 . drwxr-xr-x 10 root root 4096 Apr 22 12:10 .. drwxr-xr-x 29 root root 4096 Apr 23 17:05 asterisk-11.9.0 -rw-r--r-- 1 root root 34844777 Apr 26 14:29 asterisk-11-current.tar.gz -rw-r--r-- 1 root root 69129 May 9 2012 vpb-driver.tar.bz2 |
|
#cd asterisk-11.9.0/
|
|
#ls -al
total 3160 drwxr-xr-x 29 root root 4096 Apr 23 17:05 . drwxr-xr-x 3 root root 4096 Apr 26 14:30 .. drwxr-xr-x 3 root root 4096 Apr 23 17:05 addons drwxr-xr-x 2 root root 4096 Apr 23 17:05 agi drwxr-xr-x 3 root root 4096 Apr 23 17:05 apps -rw-r--r-- 1 root root 48330 Apr 23 17:05 asterisk-11.9.0-summary.html -rw-r--r-- 1 root root 39731 Apr 23 17:05 asterisk-11.9.0-summary.txt drwxr-xr-x 2 root root 4096 Apr 23 17:05 autoconf -rwxr-xr-x 1 root root 1041 Jan 13 2012 bootstrap.sh ... drwxr-xr-x 2 root root 4096 Apr 23 17:05 tests -rw-r--r-- 1 root root 3871 Jul 16 2012 UPGRADE-10.txt -rw-r--r-- 1 root root 9318 Nov 21 2008 UPGRADE-1.2.txt -rw-r--r-- 1 root root 25890 Aug 18 2009 UPGRADE-1.4.txt -rw-r--r-- 1 root root 13965 May 7 2010 UPGRADE-1.6.txt -rw-r--r-- 1 root root 17779 Sep 6 2012 UPGRADE-1.8.txt -rw-r--r-- 1 root root 18625 Mar 28 17:43 UPGRADE.txt drwxr-xr-x 3 root root 4096 Apr 23 17:05 utils -rw-r--r-- 1 root root 7 Apr 23 16:37 .version -rw-r--r-- 1 root root 1723 Aug 14 2008 Zaptel-to-DAHDI.txt |
|
#ÑÑÑÑÑÐ./con
config.guess configs/ config.sub configure contrib/ |
|
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for initscr in -lcurses... no checking for initscr in -lncurses... no configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing) |
|
#apt-cache search rermcamp
|
|
#apt-cache search termcamp
|
|
#apt-cache search libncurses5-dev
libncurses5-dev - developer's libraries for ncurses |
|
#apt-get install libncurses5-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libtinfo-dev Suggested packages: ncurses-doc The following NEW packages will be installed: libncurses5-dev libtinfo-dev 0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded. ... Get:1 http://ftp.us.debian.org/debian/ wheezy/main libtinfo-dev amd64 5.9-10 [105 kB] Get:2 http://ftp.us.debian.org/debian/ wheezy/main libncurses5-dev amd64 5.9-10 [223 kB] Fetched 328 kB in 1s (186 kB/s) Selecting previously unselected package libtinfo-dev:amd64. (Reading database ... 137068 files and directories currently installed.) Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9-10_amd64.deb) ... Selecting previously unselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-10_amd64.deb) ... Setting up libtinfo-dev:amd64 (5.9-10) ... Setting up libncurses5-dev (5.9-10) ... |
|
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for xml2-config... no configure: *** XML documentation will not be available because the 'libxml2' development package is missing. configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option configure: *** or install the 'libxml2' development package. |
|
#./configure --disable-xml2
configure: WARNING: unrecognized options: --disable-xml2 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes ... checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for xml2-config... no configure: *** XML documentation will not be available because the 'libxml2' development package is missing. configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option configure: *** or install the 'libxml2' development package. |
|
#apt-get install libsqllite3-dev
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libsqllite3-dev |
|
#apt-get install libsqlite3-dev
Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: sqlite3-doc The following NEW packages will be installed: libsqlite3-dev 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Need to get 578 kB of archives. After this operation, 1,382 kB of additional disk space will be used. Get:1 http://ftp.us.debian.org/debian/ wheezy/main libsqlite3-dev amd64 3.7.13-1+deb7u1 [578 kB] Fetched 578 kB in 2s (234 kB/s) Selecting previously unselected package libsqlite3-dev. (Reading database ... 137116 files and directories currently installed.) Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.7.13-1+deb7u1_amd64.deb) ... Setting up libsqlite3-dev (3.7.13-1+deb7u1) ... |
|
#./configure --disable-xml
configure: WARNING: unrecognized options: --disable-xml checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes ... checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for xml2-config... no configure: *** XML documentation will not be available because the 'libxml2' development package is missing. configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option configure: *** or install the 'libxml2' development package. |
|
#./configure --disable-xmldoc
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-gnu configure: Host CPU : x86_64 configure: build-cpu:vendor:os: x86_64 : unknown : linux-gnu : configure: host-cpu:vendor:os: x86_64 : unknown : linux-gnu : |
|
#make usage
make: *** No rule to make target `usage'. Stop. |
|
#make menuconfig
**************************************************
Asterisk Module and Build Option Selection
**************************************************
Press 'h' for help.
--- core ---
[*] app_authenticate
[*] app_cdr
[*] app_celgenuserevent
[*] app_channelredirect
[*] app_chanspy
[*] app_confbridge
[*] app_controlplayback
[*] app_db
[*] app_dial
[*] app_directed_pickup
[*] app_directory
... More ...
Directed Call Pickup Application
Depends on: chan_local(M)
Support Level: core
|
|
#make usage
make: *** No rule to make target `usage'. Stop. |
|
#make ?
make: *** No rule to make target `?'. Stop. |
|
#make /?
make: *** No rule to make target `/?'. Stop. |
|
#make
addons/ install-sh agi/ keys/ apps/ .lastclean asterisk-11.9.0-summary.html LICENSE asterisk-11.9.0-summary.txt main/ autoconf/ Makefile bootstrap.sh Makefile.moddir_rules bridges/ Makefile.rules BSDmakefile makeopts BUGS makeopts.in ... codecs/ README-addons.txt config.guess README-SERIOUSLY.bestpractices.txt config.log res/ configs/ sample.call config.status sounds/ config.sub static-http/ configure tests/ configure.ac UPGRADE-10.txt contrib/ UPGRADE-1.2.txt COPYING UPGRADE-1.4.txt |
|
#make menuconfig
**************************************************
Asterisk Module and Build Option Selection
**************************************************
Press 'h' for help.
--- core ---
[ ] DONT_OPTIMIZE
[ ] DEBUG_THREADS
[*] LOADABLE_MODULES
[ ] DEBUG_FD_LEAKS
XXX BETTER_BACKTRACES
[ ] LOTS_OF_SPANS
[ ] MALLOC_DEBUG
[*] BUILD_NATIVE
--- extended ---
[ ] STATIC_BUILD
XXX REBUILD_PARSERS
... More ...
More than 32 DAHDI spans
Depends on: BFD(E), DLADDR(E)
Support Level: core
|
|
#apt-get search openssl
E: Invalid operation search |
|
#apt-cache search openssl
libace-ssl-6.0.3 - ACE secure socket layer library aolserver4-nsopenssl - AOLserver 4 module: module for SSL mode cryptmount - Management of encrypted file systems libcurl3 - easy-to-use client-side URL transfer library (OpenSSL flavour) libcurl3-dbg - debugging symbols for libcurl (OpenSSL, GnuTLS and NSS flavours) libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour) libengine-pkcs11-openssl - OpenSSL engine for PKCS#11 modules erlang-crypto - Erlang/OTP cryptographic modules fp-units-net - Free Pascal - networking units dependency package fp-units-net-2.6.0 - Free Pascal - networking units ... libruby1.9.1 - Libraries necessary to run Ruby 1.9.1 scrypt - File encryption utility using scrypt for key derivation ssl-cert - simple debconf wrapper for OpenSSL stone - TCP/IP packet repeater in the application layer libjs-strophe - Library for writing XMPP clients tcl-tls - TLS OpenSSL extension to Tcl tinyca - simple graphical program for certification authority management python-tlslite - a pure Python SSL/TLS library libtcnative-1 - Tomcat native library using the apache portable runtime libxmlsec1-openssl - Openssl engine for the XML security library |
|
#apt-cache search openssl dev
cryptmount - Management of encrypted file systems libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour) libengine-pkcs11-openssl - OpenSSL engine for PKCS#11 modules libglobus-common-dev - Globus Toolkit - Common Library Development Files globus-gsi-openssl-error-dbg - Globus Toolkit - Globus OpenSSL Error Handling Debug Symbols libglobus-gsi-openssl-error-dev - Globus Toolkit - Globus OpenSSL Error Handling Development Files libglobus-gsi-openssl-error-doc - Globus Toolkit - Globus OpenSSL Error Handling Documentation Files libglobus-gsi-openssl-error0 - Globus Toolkit - Globus OpenSSL Error Handling globus-openssl-module-dbg - Globus Toolkit - Globus OpenSSL Module Wrapper Debug Symbols globus-openssl-module-progs - Globus Toolkit - Globus OpenSSL Module Wrapper Programs ... libpathfinder-dev - Development files for pathfinder libapache2-mod-php5 - server-side, HTML-embedded scripting language (Apache 2 module) libapache2-mod-php5filter - server-side, HTML-embedded scripting language (apache 2 filter module) libphp5-embed - HTML-embedded scripting language (Embedded SAPI library) php5-cgi - server-side, HTML-embedded scripting language (CGI binary) php5-cli - command-line interpreter for the php5 scripting language php5-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) libpion-common-dev - lightweight HTTP interface library - common development files libpion-net-dev - lightweight HTTP interface library - development files r-cran-digest - GNU R package for 'hash digest' of R data structures |
|
#apt-cache search libssl
dcmtk - OFFIS DICOM toolkit command line utilities libdcmtk2 - OFFIS DICOM toolkit runtime libraries libdcmtk2-dev - OFFIS DICOM toolkit development libraries and headers libssl-ocaml - OCaml bindings for OpenSSL (runtime) libssl-ocaml-dev - OCaml bindings for OpenSSL libssl-dev - SSL development libraries, header files and documentation libssl-doc - SSL development documentation documentation libssl1.0.0 - SSL shared libraries libssl1.0.0-dbg - Symbol tables for libssl and libcrypto libsslcommon2 - enterprise messaging system - common SSL libraries libsslcommon2-dev - enterprise messaging system - common SSL development files |
|
#apt-cache search libssl-dev
libssl-dev - SSL development libraries, header files and documentation |
|
#apt-get install libssl-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libssl-doc zlib1g-dev The following NEW packages will be installed: libssl-dev libssl-doc zlib1g-dev 0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded. Need to get 3,162 kB of archives. After this operation, 8,314 kB of additional disk space will be used. ... (Reading database ... 137127 files and directories currently installed.) Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.7.dfsg-13_amd64.deb) ... Selecting previously unselected package libssl-dev. Unpacking libssl-dev (from .../libssl-dev_1.0.1e-2+deb7u7_amd64.deb) ... Selecting previously unselected package libssl-doc. Unpacking libssl-doc (from .../libssl-doc_1.0.1e-2+deb7u7_all.deb) ... Processing triggers for man-db ... Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ... Setting up libssl-dev (1.0.1e-2+deb7u7) ... Setting up libssl-doc (1.0.1e-2+deb7u7) ... |
|
#apt-get install librt
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package librt |
|
#apt-cache search librtp
|