[Asterisk-Users] chan_capi fails when Asterisk doesn't start under root user

Armin Schindler armin at melware.de
Thu Nov 17 05:32:18 MST 2005


On Thu, 17 Nov 2005, Amaury BOSSE wrote:
> I have a problem with chan_capi-cm-0.6.1.
> 
> It works when I start * directly from the command line with "asterisk
> -vvvgc", but not when I use "/etc/init.d/asterisk" script.
> 
>  
> 
> I have the log bellow in /var/log/asterisk/messages :
> 
>  
> 
> Nov 17 11:26:43 WARNING[5337]: CAPI not installed, CAPI disabled!
> 
> Nov 17 11:26:43 WARNING[5337]: chan_capi.so: load_module failed, returning
> -1
> 
> Nov 17 11:26:43 WARNING[5337]: Loading module chan_capi.so failed!
> 
>  
> 
> I have changed parameters in the starting script in order to start * as root
> instead of as asterisk and It seems to works.

Maybe your permissions on /dev/capi20 are wrong?

Armin




More information about the asterisk-users mailing list