[Asterisk-Users] CAPI problems when loading chan_capi.so

Martin Mielke martin.mielke at thales-is.com
Wed Mar 31 00:40:23 MST 2004


Hi there,


Martin List-Petersen wrote:

>Hi Martin,
>
>Have you checked the rights of your /dev/capi20* interfaces ? 
>  
>

pbx:~ # ls -l /dev/capi*
crw-rw----    1 root     dialout   68,   0 Sep 23  2003 /dev/capi20
crw-rw----    1 root     dialout   68,   1 Sep 23  2003 /dev/capi20.00
crw-rw----    1 root     dialout   68,   2 Sep 23  2003 /dev/capi20.01
crw-rw----    1 root     dialout   68,   3 Sep 23  2003 /dev/capi20.02
crw-rw----    1 root     dialout   68,   4 Sep 23  2003 /dev/capi20.03
crw-rw----    1 root     dialout   68,   5 Sep 23  2003 /dev/capi20.04
crw-rw----    1 root     dialout   68,   6 Sep 23  2003 /dev/capi20.05
crw-rw----    1 root     dialout   68,   7 Sep 23  2003 /dev/capi20.06
crw-rw----    1 root     dialout   68,   8 Sep 23  2003 /dev/capi20.07
crw-rw----    1 root     dialout   68,   9 Sep 23  2003 /dev/capi20.08
crw-rw----    1 root     dialout   68,  10 Sep 23  2003 /dev/capi20.09
crw-rw----    1 root     dialout   68,  11 Sep 23  2003 /dev/capi20.10
crw-rw----    1 root     dialout   68,  12 Sep 23  2003 /dev/capi20.11
crw-rw----    1 root     dialout   68,  13 Sep 23  2003 /dev/capi20.12
crw-rw----    1 root     dialout   68,  14 Sep 23  2003 /dev/capi20.13
crw-rw----    1 root     dialout   68,  15 Sep 23  2003 /dev/capi20.14
crw-rw----    1 root     dialout   68,  16 Sep 23  2003 /dev/capi20.15
crw-rw----    1 root     dialout   68,  17 Sep 23  2003 /dev/capi20.16
crw-rw----    1 root     dialout   68,  18 Sep 23  2003 /dev/capi20.17
crw-rw----    1 root     dialout   68,  19 Sep 23  2003 /dev/capi20.18
crw-rw----    1 root     dialout   68,  20 Sep 23  2003 /dev/capi20.19

/dev/capi:
total 114
drwxr-xr-x    2 root     root            0 Mar 30 19:19 .
drwxr-xr-x   32 root     root       116416 Mar 30 19:17 ..


>Do you run asterisk as a user or root ?
>  
>

It's running as root.

>Either capi is not installed correctly (check with capiinfo) or you have not
>given the user asterisk is using rights to access the capi devices.
>  
>

capiinfo gives:
---
capi not installed - No such device or address (6)
---

How does it come? The capi-packages are installed, as I showed yesterday:
---
pbx:~ # rpm -qa | grep capi
avmfritzcapi-1.0-194
capisuite-0.4.3-52
capi4linux-2003.9.17-7
---

Do I need the -devel ones? :-/


Martin


[ snip ]

PS: please don't CC me your replies :-)






More information about the asterisk-users mailing list