chan-capi/INSTALL

50 lines
1.1 KiB
Plaintext
Raw Normal View History

2005-06-07 04:26:12 +00:00
INSTALL
=======
2005-06-02 18:47:35 +00:00
2005-06-07 04:26:12 +00:00
Modify the Makefile to fit your system, especially the path to the Asterisk
include files.
2005-06-02 18:47:35 +00:00
2008-02-22 17:01:46 +00:00
To build the driver you will need an installed Capi system, including header
2005-06-07 04:26:12 +00:00
files.
2009-01-06 13:18:58 +00:00
By default an internal version of libcapi20 is used (you don't need libcapi20 to
be installed on your system). If you don't want this and the installed libcapi20
shall 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.
2008-02-05 11:09:22 +00:00
To build the channel module:
2005-06-07 04:26:12 +00:00
---------------------------------
2005-06-02 18:47:35 +00:00
make
2007-03-11 11:47:28 +00:00
For verbose compiling:
---------------------------------
make V=1
To install:
2005-06-07 04:26:12 +00:00
----------------
2005-06-02 18:47:35 +00:00
make install
2007-03-11 11:47:28 +00:00
2005-06-07 04:26:12 +00:00
To install a sample configuration:
----------------------------------
2006-01-23 19:34:22 +00:00
make install_config
2005-06-02 18:47:35 +00:00
2005-06-07 04:26:12 +00:00
In /etc/asterisk/modules.conf insert the line:
2005-06-02 18:47:35 +00:00
load => chan_capi.so
and in the [global] section:
chan_capi.so=yes
2008-02-05 11:09:22 +00:00
Don't forget a trailing newline at the end of modules.conf!