Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 16:34:07 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Paul Schenkeveld <freebsd@psconsult.nl>
Cc:        freebsd-isdn@freebsd.org
Subject:   Re: chan_capi in a jail
Message-ID:  <201112131634.07421.hselasky@c2i.net>
In-Reply-To: <20111213103406.GA19223@psconsult.nl>
References:  <20111213103406.GA19223@psconsult.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mynum> -o <mynum>' 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112131634.07421.hselasky>