[Asterisk-Users] capi.so problem on startup

Tobi Anton tobianton at gmx.de
Wed Jun 23 03:26:37 MST 2004


Hi,

I'm new to asterisk and try to get it work with capi.so. When I try to 
start asterisk with "asterisk -vvvvc" I get the following errors. I 
couldn't find any hint on the net what may be wrong in my configs.

Has anybody got a hint?

Here is the error output:

  [capi.so] => (Common ISDN API for Asterisk)
   == Parsing '/etc/asterisk/capi.conf': Found
Jun 23 12:04:33 NOTICE[1075622560]: chan_capi.c:2654 load_module: this 
box has 1 capi controller(s)
     -- CAPI[contr1] supports DTMF
     -- CAPI[contr1] supports supplementary services
        > HOLD/RETRIEVE
        > TERMINAL PORTABILITY
        > ECT
        > 3PTY
        > CF
        > CD
        > MCID
        > CCBS
        > MWI
        > CCNR
   == ast_capi_pvt(1272580,1272580,isdndefault,0,2) (0,0,64)
   == ast_capi_pvt(1272580,1272580,isdndefault,0,2) (0,0,64)
Jun 23 12:04:33 WARNING[1075622560]: chan_capi.c:2784 load_module: 
Unused contr1
Jun 23 12:04:33 WARNING[1075622560]: channel.c:174 
ast_channel_register_ex: Already have a handler for type 'CAPI'
Jun 23 12:04:33 ERROR[1075622560]: chan_capi.c:2792 load_module: Unable 
to register channel class CAPI
   == Unregistered channel type 'CAPI'
Jun 23 12:04:33 WARNING[1075622560]: loader.c:328 ast_load_resource: 
capi.so: load_module failed, returning -1
Jun 23 12:04:33 WARNING[1075622560]: chan_capi.c:2810 unload_module: 
Unable to unregister from CAPI!
   == Unregistered channel type 'CAPI'
Jun 23 12:04:33 WARNING[1075622560]: loader.c:423 load_modules: Loading 
module capi.so failed!


and here my modules.conf:

; Module Loader configuration file
;
; Asterisk configuration file
;
; Module Loader configuration file
;
[modules]
autoload=yes
;
; If you want, load the GTK console right away.
; Don't load the KDE console since
; it's not as sophisticated right now.
;
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
;
; Intercom application is obsoleted by
; chan_oss.  Don't load it.
;
noload => app_intercom.so
;
; Explicitly load the chan_modem.so early on to be sure
; it loads before any of the chan_modem_* 's afte rit
;
load => chan_modem.so
load => res_musiconhold.so
;
; Load either OSS or ALSA, not both
; By default, load OSS only (automatically) and do not load ALSA
;
noload => chan_alsa.so
noload => chan_oss.so

load => res_parking.so
load => chan_capi.so

;
; Module names listed in "global" section will have symbols globally
; exported to modules loaded after them.
;
[global]
chan_modem.so=yes
chan_capi.so=yes

"modules.conf" 45L, 921C


Thanks in advance
Tobi




More information about the asterisk-users mailing list