On Sat, 26 May 2007, CSB wrote:> I have installed Asterisk 1.2.18 am am trying to install chan_capi.
>
> The current RPM
> ftp://ftp.melware.net/Trixbox/chan_capi-1.0.1_1.2.14-1.i386.rpm installs
but
This precompiled RPM is for the previous trixbox asterisk version 1.2.14.
A new RPM will follow soon...
> Asterisk dies on startup. The following appears in the log:
> May 27 03:28:18 asterisk1 kernel: divas: Diva Server V-4BRI-8 IRQ:7
> SerNo:25290
> May 27 03:28:18 asterisk1 kernel: divas: started with major 252
> May 27 03:54:17 asterisk1 init: Trying to re-exec init
>
> The install notes say that the Asterisk version of the rpm must match so I
> guess that's the problem.
exactly.
> Downloading and making
ftp://ftp.melware.net/chan-capi/chan_capi-1.0.1.tar.gz
> gives me a bunch of errors mostly "error: dereferencing pointer to
incomplete
> type"
If you want to compile chan-capi by yourself, you need to install all dev-
packages to have the needed header files. I think this should do it:
yum -y install isdn4k-utils-devel asterisk-devel
But if the trixbox asterisk version again has special patches applied
(something like jitterbuffer patch) which is not known to external modules
like chan-capi, the compiled chan-capi may cause craches because it just
doesn't match with the configured asterisk header files.
Armin