[Asterisk-Users] capi_chan error - CAPI not loaded.

2003-07-22 Thread Peer Oliver schmidt
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.80/0.80)
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.80/0.80)
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.80/0.80)
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.80/0.80)
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.80/0.80)
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.80/0.80)
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: 0x0009
   internal controller supported
   DTMF supported
B1 protocols support: 0x801f
   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: 0x0a1b
   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: 0x003f
   Transparent
   T.90NL, T.70NL, T.90
   ISO 8208 (X.25 DTE-DTE)
   X.25 DCE
   T.30 for fax group 3
  0100
  0200
  0900
  1f80
  1b0a
  3f00
       
      
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
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] capi_chan error - CAPI not loaded.

2003-07-22 Thread Emanuele Pucciarelli
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 -1

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?

Here's an excerpt from my own lsmod:

Module  Size  Used byTainted: 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

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] capi_chan error - CAPI not loaded.

2003-07-22 Thread Peer Oliver schmidt
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_capi 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
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users