Jean-Michel Hiver
2004-Oct-30 23:13 UTC
[Asterisk-Users] Cannot start asterisk - CAPI issues
Hi List, I have managed to compile asterisk but I can't start it. What I have done so far as asterisk config is concerned is cut and paste the sample config files from the ONLamp article on Asterisk. http://www.onlamp.com/pub/a/onlamp/2003/07/03/asterisk.html When I start asterisk -vvvp I get quite a few messages, notably: "chan_capi.c:2603 load_module: Unable to load config capi.conf" and: load_modules: Loading module chan_capi.so failed! Now I *do* have some kind of ISDN card in the box which I have not worried about yet (Eicon Diva 2.01 S/T PCI according to lspci) and I understand that CAPI has something to do with ISDN, but I have no clue as why asterisk doesn't start... Did I forget something when I compiled asterisk? Any ideas? Cheers, Jean-Michel.
> "chan_capi.c:2603 load_module: Unable to load config capi.conf"You need to create this file /etc/asterisk/capi.conf with the following content : [general] nationalprefix=0 internationalprefix=00 [interfaces] msn=50 incomingmsn=* controller=1 softdtmf=0 accountcodecontext=incoming ;echosquelch=1 echocancel=no ;echotail=64 ;callgroup=1 ;deflect=12345678 devices=30 Adjust devices= with the number of B channels supported by your card. For ISDN BRI, it's 2, for PRI, it's 30.> Now I *do* have some kind of ISDN card in the box which I have not > worried about yet (Eicon Diva 2.01 S/T PCI according to lspci) and I > understand that CAPI has something to do with ISDN, but I have no clue > as why asterisk doesn't start...You need a kernel support for you card and you also need to load a firmware for some cards. If you have a message like "CAPI not installed!", check your kernel.
Jean-Michel Hiver
2004-Nov-01 06:20 UTC
[Asterisk-Users] Cannot start asterisk - CAPI issues - Hurray!
> > In modules.conf put > > noload=>chan_capi.so > > and any other module that gets complained about.Hurray! Asterisk now actually starts! I had to disable quite a few modules though: [skipping chan_capi.so] [skipping app_capiCD.so] [skipping app_capiHOLD.so] [skipping app_capiRETRIEVE.so] [skipping app_capiECT.so] [skipping app_capiMCID.so] [skipping app_capiNoES.so] [skipping rate_engine.so] Funny I had to disable rate_engine.so though... here is the message I got: [rate_engine.so]Nov 1 16:18:48 WARNING[1076992544]: loader.c:299 ast_load_resource: /usr/lib/asterisk/modules/rate_engine.so: undefined symbol: ast_pthread_create Nov 1 16:18:48 WARNING[1076992544]: loader.c:480 load_modules: Loading module rate_engine.so failed! Anyway thanks for the tips! Cheers, Jean-Michel.
Chris A. Icide
2004-Nov-01 08:56 UTC
[Asterisk-Users] Cannot start asterisk - CAPI issues - Hurray!
On 05:20 AM 11/1/2004, Jean-Michel Hiver wrote: >Funny I had to disable rate_engine.so though... here is the message I got: > > [rate_engine.so]Nov 1 16:18:48 WARNING[1076992544]: loader.c:299 >ast_load_resource: /usr/lib/asterisk/modules/rate_engine.so: undefined >symbol: ast_pthread_create >Nov 1 16:18:48 WARNING[1076992544]: loader.c:480 load_modules: Loading >module rate_engine.so failed! > I had the same issue recently. I was upgrading an asterisk install for some of the recent database features, and it broke rate_engine. So I fell back to the last asterisk version that I knew worked with rate_engine. CVS 9-29-04 seems to work fine with rate_engine. -Chris