From owner-freebsd-isdn@FreeBSD.ORG Tue Dec 13 15:46:46 2011 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CF031065673 for ; Tue, 13 Dec 2011 15:46:46 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 272D78FC17 for ; Tue, 13 Dec 2011 15:46:45 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.4.2) with ESMTPA id 49252994; Tue, 13 Dec 2011 16:36:41 +0100 From: Hans Petter Selasky To: Paul Schenkeveld Date: Tue, 13 Dec 2011 16:34:07 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <20111213103406.GA19223@psconsult.nl> In-Reply-To: <20111213103406.GA19223@psconsult.nl> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112131634.07421.hselasky@c2i.net> Cc: freebsd-isdn@freebsd.org Subject: Re: chan_capi in a jail X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2011 15:46:46 -0000 On Tuesday 13 December 2011 11:34:06 Paul Schenkeveld wrote: > Hi Hans Petter, > > I'd like to run my asterisk pbx inside a jail but it appears that the > capi driver refuses to respond to jailed processes. I have made > /dev/capi* visible inside the jail (and for test I made all of /dev > visible) but chan_capi responds with: > > [Dec 13 02:58:47] WARNING[49242] chan_capi.c: The CAPI device is not > present or accessible! [Dec 13 02:58:47] WARNING[49242] chan_capi.c: CAPI > is disabled! > > Using 'capitest -d 255 -i -o ' outside the jail I can call > my own number and hear the phone ring, the same command run inside a jail > terminates with: > > CAPI 2.0 not installed! Or insufficient access rights. > > Using 8.2p4 and freshly downloaded i4b and chan_capi here. > > Any suggestions appreciated. Is this the SVN version of i4b + chan_capi. I recently removed delegate support. See keyword delegate in isdnconfig manual page. Before: use isdnconfig delegate XXX:YYY New: use chown XXX:YYY /dev/capi --HPS