[Asterisk-Users] capi.so problem on startup

Thomas Niesel thomas_n at freenet.de
Sun Jun 27 14:23:50 MST 2004


Hallo Tobi Anton
On Wed, 23 Jun 2004 12:26:37 +0200 you wrote:

> 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)
(...)
>    == 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'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Look like you try to load some modules more then once?!

> 
> 
> and here my modules.conf:
> 
> ; Module Loader configuration file
> ;
> ; Asterisk configuration file
> ;
> ; Module Loader configuration file
> ;
> [modules]
> autoload=yes

Here you set to load everything at startup...

> ;
> ; 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

Here you load some modules once again...

Use autoload=yes together with noload=>module_name
Don't use load=>modules_name too!

Use autoload=no together with load=>module_name.


-- 
Tho/\/\as



More information about the asterisk-users mailing list