List Info

Thread: The CAPI device is not present or accessible




The CAPI device is not present or accessible
country flaguser name
Germany
2007-11-11 12:04:01
Hi, is just installed i4b, and  isdnconfig shows my card:

controller 0 = {
  Layer 1:
    description : HFC-2BDS0 128K PCI ISDN adapter
    type        : passive ISDN (Basic Rate, 2xB)
    channels    : 0x3
    serial      : 0xabcd
    power_save  : on
    dialtone    : enabled
    attached    : yes
    PH-state    : G3: Active
  Layer 2:
    driver_type : DRVR_DSS1_NT
}

But when i try to start callweaver with the
chan_capi.callweaver, i get 
this:

 [chan_capi.so] => (Common ISDN API 2.0, CAPI2.0, for
OpenPBX)
  == Parsing '/usr/local/etc/callweaver/capi.conf': Parsing

/usr/local/etc/callweaver/capi.conf - Found
Nov 11 19:45:04 WARNING[23320]: chan_capi.c:1434
capi_application_alloc: 
The CAPI device is not present or accessible!
Nov 11 19:45:04 WARNING[23320]: chan_capi.c:8357
load_module: CAPI is 
disabled!
Nov 11 19:45:04 WARNING[23320]: loader.c:348
__load_resource: 
chan_capi.so: load_module failed, returning -1
Nov 11 19:45:04 WARNING[23320]: loader.c:488 load_modules:
Loading 
module chan_capi.so failed!

What does the "capi20_is_installed" function check
to tell me: "No Chapi"
The capitest command is working

Kristijan
_______________________________________________
freebsd-isdnfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isdn

To unsubscribe, send any mail to
"freebsd-isdn-unsubscribefreebsd.org"

Re: The CAPI device is not present or accessible
country flaguser name
Norway
2007-11-11 13:39:10
On Sunday 11 November 2007, Kristijan Vrban wrote:
> Hi, is just installed i4b, and  isdnconfig shows my
card:
>
> controller 0 = {
>   Layer 1:
>     description : HFC-2BDS0 128K PCI ISDN adapter
>     type        : passive ISDN (Basic Rate, 2xB)
>     channels    : 0x3
>     serial      : 0xabcd
>     power_save  : on
>     dialtone    : enabled
>     attached    : yes
>     PH-state    : G3: Active
>   Layer 2:
>     driver_type : DRVR_DSS1_NT
> }
>
> But when i try to start callweaver with the
chan_capi.callweaver, i get
> this:
>
>  [chan_capi.so] => (Common ISDN API 2.0, CAPI2.0,
for OpenPBX)
>   == Parsing '/usr/local/etc/callweaver/capi.conf':
Parsing
> /usr/local/etc/callweaver/capi.conf - Found
> Nov 11 19:45:04 WARNING[23320]: chan_capi.c:1434
capi_application_alloc:
> The CAPI device is not present or accessible!
> Nov 11 19:45:04 WARNING[23320]: chan_capi.c:8357
load_module: CAPI is
> disabled!
> Nov 11 19:45:04 WARNING[23320]: loader.c:348
__load_resource:
> chan_capi.so: load_module failed, returning -1
> Nov 11 19:45:04 WARNING[23320]: loader.c:488
load_modules: Loading
> module chan_capi.so failed!
>
> What does the "capi20_is_installed" function
check to tell me: "No Chapi"
> The capitest command is working

This is a permissions issue.

See "capi_delegate" in "man isdnconfig".
You need to delegate CAPI to 
callweaver, hence it does not run like root 

--HPS
_______________________________________________
freebsd-isdnfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isdn

To unsubscribe, send any mail to
"freebsd-isdn-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )