The CAPI device is not present or accessible

Hans Petter Selasky hselasky at c2i.net
Sun Nov 11 14:39:02 PST 2007


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


More information about the freebsd-isdn mailing list