You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chan-capi/INSTALL

50 lines
1.1 KiB

18 years ago
INSTALL
=======
18 years ago
Modify the Makefile to fit your system, especially the path to the Asterisk
include files.
To build the driver you will need an installed CAPI system, including header
18 years ago
files.
By default, an internal version of libcapi20 is used (you do not need libcapi20 to
be installed on your system). If you do not want this and the installed libcapi20
should be used, add the option
USE_OWN_LIBCAPI=no
to the 'make' command.
To build from/for other Asterisk sources (default is '/' where /usr/include/asterisk
is expected), add option
INSTALL_PREFIX=<where your /usr/include/asterisk is>
to 'make' command. This makes also sense when compiling for other targets or when
cross compiling.
15 years ago
To build the channel module:
18 years ago
---------------------------------
make
For verbose compiling:
---------------------------------
make V=1
To install:
18 years ago
----------------
make install
18 years ago
To install a sample configuration:
----------------------------------
make install_config
18 years ago
In /etc/asterisk/modules.conf insert the line:
load => chan_capi.so
and in the [global] section:
chan_capi.so=yes
15 years ago
Don't forget a trailing newline at the end of modules.conf!