Peer Oliver schmidt
2003-Jul-22 11:44 UTC
[Asterisk-Users] capi_chan error - CAPI not loaded.
Good day,
*newbie alert*
I try to run * with capi_chan (and later on SIP).
System: Debian 3.0 / apt-getted most stuff except chan_capi and b1.t4
HW: AVM B1 ISA / Celeron 400 / 128MB RAM
Starting * the following ends up in the messages
Jul 22 19:47:03 WARNING[16384]: File chan_mgcp.c, Line 2925
(load_module): Unable to get our IP address, MGCP disabled
Jul 22 19:47:03 WARNING[16384]: File chan_iax2.c, Line 5578
(load_module): Unable to open IAX timing interface: No such file or
directory
Jul 22 19:47:03 WARNING[16384]: File chan_iax2.c, Line 5061
(set_config): Ignoring port for now
Jul 22 19:47:03 NOTICE[16384]: File chan_capi.c, Line 2237 (mkif):
ast_capi_pvt(31,31,remote,1,2) (1,2,64) (0)(0.800000/0.800000)
Jul 22 19:47:03 NOTICE[16384]: File chan_capi.c, Line 2237 (mkif):
ast_capi_pvt(31,31,remote,1,2) (1,2,64) (0)(0.800000/0.800000)
Jul 22 19:47:03 NOTICE[16384]: File chan_capi.c, Line 2237 (mkif):
ast_capi_pvt(57,57,58,kapejod,1,2) (1,2,64) (0)(0.800000/0.800000)
Jul 22 19:47:03 NOTICE[16384]: File chan_capi.c, Line 2237 (mkif):
ast_capi_pvt(57,57,58,kapejod,1,2) (1,2,64) (0)(0.800000/0.800000)
Jul 22 19:47:03 NOTICE[16384]: File chan_capi.c, Line 2237 (mkif):
ast_capi_pvt(56,59,demo,1,2) (1,2,64) (0)(0.800000/0.800000)
Jul 22 19:47:03 NOTICE[16384]: File chan_capi.c, Line 2237 (mkif):
ast_capi_pvt(56,59,demo,1,2) (1,2,64) (0)(0.800000/0.800000)
Jul 22 19:47:03 NOTICE[16384]: File chan_capi.c, Line 2568
(load_module): CAPI not installed!
Jul 22 19:47:03 WARNING[16384]: File loader.c, Line 299
(ast_load_resource): chan_capi.so: load_module failed, returning -1
Jul 22 19:47:03 WARNING[16384]: File chan_capi.c, Line 2653
(unload_module): Unable to unregister from CAPI!
Jul 22 19:47:03 WARNING[16384]: File loader.c, Line 394 (load_modules):
Loading module chan_capi.so failed!
It says CAPI not installed, how ever CAPIINFO returns the following output:
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.03-01 (48.49)
Serial Number: 0204425
BChannels: 2
Global Options: 0x00000009
internal controller supported
DTMF supported
B1 protocols support: 0x8000001f
64 kbit/s with HDLC framing
64 kbit/s bit-transparent operation
V.110 asynconous operation with start/stop byte framing
V.110 synconous operation with HDLC framing
T.30 modem for fax group 3
B2 protocols support: 0x00000a1b
ISO 7776 (X.75 SLP)
Transparent
LAPD with Q.921 for D channel X.25 (SAPI 16)
T.30 fro fax group 3
V.120 asyncronous mode
V.120 bit-transparent mode
B3 protocols support: 0x0000003f
Transparent
T.90NL, T.70NL, T.90
ISO 8208 (X.25 DTE-DTE)
X.25 DCE
T.30 for fax group 3
0100
0200
09000000
1f000080
1b0a0000
3f000000
00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000
FAC GET - Info: Facility not supported (0x300b)
If information is missing, please tell me. If you have suggestions, I am
all open.
TIA
rgds
pos
Emanuele Pucciarelli
2003-Jul-22 12:41 UTC
[Asterisk-Users] capi_chan error - CAPI not loaded.
Il mar, 2003-07-22 alle 20:44, Peer Oliver schmidt ha scritto:> System: Debian 3.0 / apt-getted most stuff except chan_capi and b1.t4 > Jul 22 19:47:03 NOTICE[16384]: File chan_capi.c, Line 2568 > (load_module): CAPI not installed! > Jul 22 19:47:03 WARNING[16384]: File loader.c, Line 299 > (ast_load_resource): chan_capi.so: load_module failed, returning -1Two hints. 1 (the stupid one). Are you running * as root? 2 (the less stupid one). Have you got all the kernel modules in place? Here's an excerpt from my own lsmod: Module Size Used by Tainted: P f2pci 540896 2 fcpci 540832 2 capi 18208 4 capifs 3980 1 [capi] kernelcapi 30304 4 [f2pci fcpci capi] capiutil 22816 0 [kernelcapi] (for those who wonder about f2pci: yes, not only am I cheating, but it SEEMS to work rather fine. Half a meg of RAM is not such a big price to pay, compared to that of an active card.) -- Emanuele
Peer Oliver schmidt
2003-Jul-22 14:53 UTC
[Asterisk-Users] capi_chan error - CAPI not loaded.
Emanuele Pucciarelli wrote:>>System: Debian 3.0 / apt-getted most stuff except chan_capi and b1.t4 > Two hints. > 1 (the stupid one). Are you running * as root? > 2 (the less stupid one). Have you got all the kernel modules in place?Yes to both. I found out the reason for my troubles after starting * with -vf. The additional modules app_capiXXXX did not work. After noload in modules.conf for the modules I am able to call my * box and get the congrats. :) Thanks anyway. rgds pos
Yo, On Tue, Jul 22, 2003 at 23:53:09 +0200, Peer Oliver schmidt wrote:> Emanuele Pucciarelli wrote: > >>System: Debian 3.0 / apt-getted most stuff except chan_capi and b1.t4 > >Two hints. > >1 (the stupid one). Are you running * as root? > >2 (the less stupid one). Have you got all the kernel modules in place? > > Yes to both. I found out the reason for my troubles after starting * > with -vf. The additional modules app_capiXXXX did not work. After noload > in modules.conf for the modules I am able to call my * box and get the > congrats. :)FYI: That problem is caused by these additional modules requiring symbols in "chan_capi.so", which are not exported by default. The "INSTALL"-file included in the chan_capi distribution explains how to fix this properly. <quote> in /etc/asterisk/modules.conf insert the line: load => chan_capi.so and in the [global] section: chan_capi.so=yes HEY, dont forget a trailing newline at the end of modules.conf!!! </quote> Grtz, Oliver