Date: Sun, 11 Nov 2007 20:39:10 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-isdn@freebsd.org Subject: Re: The CAPI device is not present or accessible Message-ID: <200711112039.11185.hselasky@c2i.net> In-Reply-To: <47374411.9080008@vlines.de> References: <47374411.9080008@vlines.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711112039.11185.hselasky>