[chan-capi-users] asterisk breaks with capi not installed

Rainer Maier RaMaierLug1 at gmx.de
Wed Mar 24 19:20:24 CET 2010


Hi all,
I always had problems to start former versions of asterisk.
I now recompiled all I thought I needed.
Still when I start asterisk it is stuck when it comes to load the capi driver.

First my questions, later the versions and then what I did.

1. After installing capi_chan you need to set /etc/isdn/capi.conf 
   What value do I need for a 'Dialogic Corporation Diva Server 4BRI-8M PCI (rev 01)' ?
   Is that still an issue with Chan_capi and diva drivers or a left over from former installations ?

2. After installing In /etc/asterisk/modules.conf insert the line:
    load => res_features.so
    load => chan_capi.so

    and in the [global] section:          <: unknown
    chan_capi.so=yes                      <: unknown

   Is the entry in the [global] section of modules.conf still necessary (asterisk-1.6.2.6) ?
   I did not see a global section there for the normal modules.

3. When I try to start asterisk it breaks with:
    sv3000:/etc/asterisk# asterisk -vvvgc
    Asterisk 1.6.2.6, Copyright (C) 1999 - 2010 Digium, Inc. and others.
    Created by Mark Spencer <markster at 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.
    =========================================================================
      == Parsing '/etc/asterisk/asterisk.conf':   == Found
      == Parsing '/etc/asterisk/extconfig.conf':   == Found
                             .
                             (omitted)
                             .
      == Registered translator 'lin16tog722' from format slin16 to g722, cost 2999
     codec_g722.so => (ITU G.722-64kbps G722 Transcoder)
      == Parsing '/etc/asterisk/capi.conf':   == Found
    [Mar 24 19:06:31] WARNING[14048]: chan_capi.c:7834 cc_init_capi: CAPI not installed, chan_capi disabled!
    sv3000:/etc/asterisk# 

   Any idea?
   Do I need the isdn section in the kernel?
   As modules ?
   If yes which part do I need which needs to be left out?

Did I miss something ?
Is there anywhere an overview which modules one needs ?
i.e.
Top: Asterisk
Mid: chan_capi
Bot: Diva driver

------------------------------------------------------------------------------------------
Here is what I did.
-----------------------------
I am running:
Debian Version 5.0.4 (Lenny).
With Dialogic Corporation Diva Server 4BRI-8M PCI (rev 01)

1.0. I compiled a new kernel 2.6.30 without the isdn tree.
1.1. I rebooted on the new kernel.

2.0. I compiled a Melware Diva driver divas4linux-melware-3.1.4-109.75-1
2.1. I installed the driver
2.2. I configured the driver with its standard values.
2.3. I started the cards

3.0. I compiled chan_capi driver (HEAD downloaded 19.03.2010 last version entry in CHANGES is chan_capi-1.1.4)
3.1. I installed the driver.
3.2. I configured the driver.

No errors showed.
I stored all outputs of all compiles, installes and configs.
I can supply them if they can clarify the situation.

Thank you very much for your help.
Best regards
Rainer

-- 
GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://portal.gmx.net/de/go/dsl02


More information about the Chan-capi-users mailing list