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

Martin Mielke martin.mielke at thales-is.com
Tue Mar 30 10:57:11 MST 2004


Hi all,

I compiled/installed chan_capi.so without problems. When I launch 
Asterisk, I get the following error:

---

 [chan_capi.so] => (Common ISDN API for Asterisk)
  == Parsing '/etc/asterisk/capi.conf': Found
Mar 30 19:47:52 NOTICE[16384]: chan_capi.c:2338 mkif: 
ast_capi_pvt(91xxxxxx,*,pstn,0x2,2) (1,2,64) (0)(0.800000/0.800000) 0
Mar 30 19:47:52 NOTICE[16384]: chan_capi.c:2338 mkif: 
ast_capi_pvt(91xxxxxx,*,pstn,0x2,2) (1,2,64) (0)(0.800000/0.800000) 0
Mar 30 19:47:52 NOTICE[16384]: chan_capi.c:2675 load_module: CAPI not 
installed!
Mar 30 19:47:52 WARNING[16384]: loader.c:312 ast_load_resource: 
chan_capi.so: load_module failed, returning -1
Mar 30 19:47:52 WARNING[16384]: chan_capi.c:2762 unload_module: Unable 
to unregister from CAPI!
  == Unregistered channel type 'CAPI'
Mar 30 19:47:52 WARNING[16384]: loader.c:358 load_modules: Loading 
module chan_capi.so failed!

---

To test, I just modified the default MSN (50) to a real one (91xxxxxx 
<-- faked here).

My capi.conf:
---
pbx:/etc/asterisk # cat capi.conf
;
; CAPI config
;
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8

[interfaces]

msn=91xxxxxxx
incomingmsn=*
controller=1
softdtmf=1
accountcode=
context=pstn
;echosquelch=1
;echocancel=yes
;echotail=64
callgroup=1
deflect=91xxxxxxx
devices=2


;PointToPoint (55512-0)
;for outgoing calls use example 5551212
;and in dialplan you can use callerid like
;exten => _0XXX.,1,StripMSD,1
;exten => _XXX.,2,Dial,CAPI/55512${CALLERIDNUM}:bBYEXTENSION
;============================================================
mode=immediate
;isdnmode=ptp
;msn=55512
;controller=2
;devices=30

---


The messege "CAPI not installed" is weird because CAPI *is* installed:
---
pbx:~ # rpm -qa | grep capi
avmfritzcapi-1.0-194
capisuite-0.4.3-52
capi4linux-2003.9.17-7
---

In this sense: do I need any other special package?


TIA,
Martin





More information about the asterisk-users mailing list