[Asterisk-Users] can't start chan_capi with asterisk group

Armin Schindler armin at melware.de
Thu Apr 6 03:56:20 MST 2006


Okay, so your group settings/permissions are not correct then.

Armin

On Thu, 6 Apr 2006, amaury BOSSE wrote:
> Thanks Armin,
> It works with rw-rw-rw permissions to /dev/capi20.
> 
> Amaury
> 
> -----Message d'origine-----
> De : Armin Schindler 
> Envoyé : mercredi 5 avril 2006 19:49
> À : Asterisk Users Mailing List - Non-Commercial Discussion
> Objet : Re: [Asterisk-Users] can't start chan_capi with asterisk group
> 
> It should work with that permissions. Does it work with other group/user
> settings?
> 
> Just for a try, set /dev/capi20 to rw-rw-rw
> 
> Armin
> 
> On Wed, 5 Apr 2006, amaury BOSSE wrote:
> > Hello,
> > 
> >  
> > 
> > While upgrading * from 1.0.9 to 1.2.5, I have installed chan-capi-head
> > and I can't start asterisk under asterisk group
> > 
> >  
> > 
> > "asterisk -vvvvgc -U asterisk " and "asterisk -vvvvgc -U asterisk -G
> > dialout" work well but "asterisk -vvvvgc -U asterisk -G asterisk" fail.
> > 
> >  
> > 
> > I am thinking about a group permission configuration but I have exactly
> > the same one than with my old 1.0.9 working config.
> > 
> >  
> > 
> >  
> > 
> > Log messages when launching asterisk -vvvvgc -U asterisk -G asterisk :
> > 
> > Apr  5 17:47:21 VERBOSE[5773] logger.c:  [chan_capi.so]Apr  5 17:47:21
> > VERBOSE[5773] logger.c:  [chan_capi.so] => (Common ISDN API for
> > Asterisk)
> > 
> > Apr  5 17:47:21 VERBOSE[5773] logger.c:   == Parsing
> > '/etc/asterisk/capi.conf': Apr  5 17:47:21 VERBOSE[5773] logger.c:   ==
> > Parsing '/etc/asterisk/capi.conf': Found
> > 
> > Apr  5 17:47:21 WARNING[5773] chan_capi.c: CAPI not installed, CAPI
> > disabled!
> > 
> > Apr  5 17:47:21 WARNING[5773] loader.c: chan_capi.so: load_module
> > failed, returning -1
> > 
> > Apr  5 17:47:21 WARNING[5773] loader.c: Loading module chan_capi.so
> > failed!
> > 
> >  
> > 
> > Ls -l /dev/capi20 :
> > 
> > crw-rw----  1 root dialout 68, 0 2006-03-24 14:49 /dev/capi20
> > 
> >  
> > 
> > id asterisk :
> > 
> > uid=105(asterisk) gid=105(asterisk)
> > groupes=105(asterisk),20(dialout),33(www-data)
> > 
> >  
> > 
> > Any idea about why I can't start chan_capi with asterisk group?
> > 
> > 
> 
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 


More information about the asterisk-users mailing list