[Asterisk-Users] Asterisk not starting

laine.marko at porilainen.com laine.marko at porilainen.com
Thu May 12 09:08:29 MST 2005


Hi!

I have already tried to uncomment this line and the result is that next warning
is IAX2, and if I try uncomment this too, warning will be chan_agent.
Uncommenting these all asterisk doesn't give any errors anymore, but it is not
starting either.

I have also tried to recompile asterisk.

Any other suggestions?


 Moises Silva <moises.silva at gmail.com>:

> Hi. Well, i guess as the warning says, for some reason the module for
> ILBC codec cannot be loaded. Try uncommenting
>
> ;noload => format_ilbc.so
>
> in modules.conf just as a test. If you can start asterisk, then you
> can be sure thats the problem. Im not sure how to compile again just a
> module of asterisk, you can do some research about it, or may be some
> nice guy in this list will show us the light :-)
> Or, you can recompile All the asterisk system.
>
> Best Regards.
>
> - moy
>
> On 5/11/05, laine.marko at porilainen.com <laine.marko at porilainen.com> wrote:
> > Hi!
> >
> > I have problems with starting asterisk by command "asterisk -vvvvc"
> > My OS is Mandrake 10.1 official and I Am using CAPI with AVM Fritz card and
> > installing it was successful.
> >
> > I have attached lines after "asterisk -vvvvc" with all it's warnings first
> and
> > also my "modules.conf" file.
> >
> > I'm pleased with any suggestions you got
> >
> > Thanks in advance!
> >
> > [root at 192-168-10-93 asterisk]# asterisk -vvvvvc
> >   == Parsing '/etc/asterisk/asterisk.conf': Found
> >   == Parsing '/etc/asterisk/extconfig.conf': Found
> > Asterisk 1.0.1-2mdk, Copyright (C) 1999-2004 Digium.
> > Written by Mark Spencer <markster at digium.com>
> > =========================================================================
> >   == Parsing '/etc/asterisk/logger.conf': Found
> > Asterisk Event Logger Started /var/log/asterisk/event_log
> >   == Manager registered action Ping
> >   == Manager registered action Events
> >   == Manager registered action Logoff
> >   == Manager registered action Hangup
> >   == Manager registered action Status
> >   == Manager registered action Setvar
> >   == Manager registered action Getvar
> >   == Manager registered action Redirect
> >   == Manager registered action Originate
> >   == Manager registered action MailboxStatus
> >   == Manager registered action Command
> >   == Manager registered action ExtensionState
> >   == Manager registered action AbsoluteTimeout
> >   == Manager registered action MailboxCount
> >   == Manager registered action ListCommands
> >   == Parsing '/etc/asterisk/manager.conf': Found
> >   == Parsing '/etc/asterisk/rtp.conf': Found
> >   == RTP Allocating from port range 10000 -> 20000
> > Asterisk PBX Core Initializing
> > Registering builtin applications:
> >  [AbsoluteTimeout]
> >   == Registered application 'AbsoluteTimeout'
> >  [Answer]
> >   == Registered application 'Answer'
> >  [BackGround]
> >   == Registered application 'BackGround'
> >  [Busy]
> >   == Registered application 'Busy'
> >  [Congestion]
> >   == Registered application 'Congestion'
> >  [DigitTimeout]
> >   == Registered application 'DigitTimeout'
> >  [Goto]
> >   == Registered application 'Goto'
> >  [GotoIf]
> >   == Registered application 'GotoIf'
> >  [GotoIfTime]
> >   == Registered application 'GotoIfTime'
> >  [Hangup]
> >   == Registered application 'Hangup'
> >  [NoOp]
> >   == Registered application 'NoOp'
> >  [Prefix]
> >   == Registered application 'Prefix'
> >  [Progress]
> >   == Registered application 'Progress'
> >  [ResetCDR]
> >   == Registered application 'ResetCDR'
> >  [ResponseTimeout]
> >   == Registered application 'ResponseTimeout'
> >  [Ringing]
> >   == Registered application 'Ringing'
> >  [SayNumber]
> >   == Registered application 'SayNumber'
> >  [SayDigits]
> >   == Registered application 'SayDigits'
> >  [SayAlpha]
> >   == Registered application 'SayAlpha'
> >  [SayPhonetic]
> >   == Registered application 'SayPhonetic'
> >  [SetAccount]
> >   == Registered application 'SetAccount'
> >  [SetAMAFlags]
> >   == Registered application 'SetAMAFlags'
> >  [SetGlobalVar]
> >   == Registered application 'SetGlobalVar'
> >  [SetLanguage]
> >   == Registered application 'SetLanguage'
> >  [SetVar]
> >   == Registered application 'SetVar'
> >  [StripMSD]
> >   == Registered application 'StripMSD'
> >  [Suffix]
> >   == Registered application 'Suffix'
> >  [Wait]
> >   == Registered application 'Wait'
> >  [WaitExten]
> >   == Registered application 'WaitExten'
> > Asterisk Dynamic Loader Starting:
> >   == Parsing '/etc/asterisk/modules.conf': Found
> >  [chan_capi.so] => (Common ISDN API for Asterisk)
> >   == Parsing '/etc/asterisk/capi.conf': Found
> >     -- 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(50,*,demo,0,2) (1,2,64)
> >   == ast_capi_pvt(50,*,demo,0,2) (1,2,64)
> >     -- listening on contr1 CIPmask = 0x1fff03ff
> >   == Registered channel type 'CAPI' (Common ISDN API Driver (0.3.5) aLaw
> CVS
> > HEAD)
> >  [res_indications.so] => (Indications Configuration)
> >   == Parsing '/etc/asterisk/indications.conf': Found
> >     -- Registered indication country 'cl'
> >     -- Registered indication country 'tw'
> >     -- Registered indication country 'us'
> >     -- Registered indication country 'au'
> >     -- Registered indication country 'fr'
> >     -- Registered indication country 'de'
> >     -- Registered indication country 'nl'
> >     -- Registered indication country 'uk'
> >     -- Registered indication country 'fi'
> >     -- Registered indication country 'no'
> >     -- Registered indication country 'br'
> >     -- Registered indication country 'za'
> >     -- Registered indication country 'it'
> >     -- Registered indication country 'us-o'
> >     -- Registered indication country 'gr'
> >     -- Registered indication country 'ru'
> >     -- Registered indication country 'nz'
> >     -- Setting default indication country to 'us'
> >   == Registered application 'Playtones'
> >   == Registered application 'StopPlaytones'
> >  [res_features.so] => (Call Parking Resource)
> >   == Parsing '/etc/asterisk/features.conf': Found
> >     -- Registered extension context 'parkedcalls'
> >     -- Added extension '700' priority 1 to parkedcalls
> >   == Registered application 'ParkedCall'
> >   == Registered application 'Park'
> >   == Manager registered action ParkedCalls
> >   == Registered application 'HoldedCall'
> >  [res_agi.so] => (Asterisk Gateway Interface (AGI))
> >   == Registered application 'DeadAGI'
> >   == Registered application 'EAGI'
> >   == Registered application 'AGI'
> >  [res_crypto.so] => (Cryptographic Digital Signatures)
> >     -- Loaded PUBLIC key 'iaxtel'
> >     -- Loaded PUBLIC key 'freeworlddialup'
> >  [res_adsi.so] => (ADSI Resource)
> >   == Parsing '/etc/asterisk/adsi.conf': Found
> >  [res_monitor.so] => (Call Monitoring Resource)
> >   == Registered application 'Monitor'
> >   == Registered application 'StopMonitor'
> >   == Registered application 'ChangeMonitor'
> >   == Manager registered action Monitor
> >   == Manager registered action StopMonitor
> >   == Manager registered action ChangeMonitor
> >  [skipping res_musiconhold.so]
> >  [app_sms.so] => (SMS/PSTN handler)
> >   == Registered application 'SMS'
> >  [app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has
> messages
> > in a given folder.
> >   == Registered application 'HasVoicemail'
> >   == Registered application 'HasNewVoicemail'
> >  [format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
> >   == Registered file format wav49, extension(s) WAV|wav49
> >  [app_url.so] => (Send URL Applications)
> >   == Registered application 'SendURL'
> >  [skipping chan_modem_i4l.so]
> >  [app_test.so] => (Interface Test Application)
> >   == Registered application 'TestClient'
> >   == Registered application 'TestServer'
> >  [skipping chan_mgcp.so]
> >  [app_eval.so] => (Reevaluates strings)
> >   == Registered application 'Eval'
> >  [skipping chan_zap.so]
> >  [app_sendtext.so] => (Send Text Applications)
> >   == Registered application 'SendText'
> >  [app_exec.so] => (Executes applications)
> >   == Registered application 'Exec'
> >  [app_txtcidname.so] => (TXTCIDName)
> >   == Registered application 'TXTCIDName'
> >   == Parsing '/etc/asterisk/enum.conf': Found
> >  [cdr_manager.so] => (Asterisk Call Manager CDR Backend)
> >   == Parsing '/etc/asterisk/cdr_manager.conf': Found
> >  [app_directory.so] => (Extension Directory)
> >   == Registered application 'Directory'
> >  [app_playback.so] => (Trivial Playback Application)
> >   == Registered application 'Playback'
> >  [codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder)
> >   == Registered translator 'adpcmtolin' from format ADPCM to SLINR, cost 1
> >   == Registered translator 'lintoadpcm' from format SLINR to ADPCM, cost 1
> >  [chan_local.so] => (Local Proxy Channel)
> >   == Registered channel type 'Local' (Local Proxy Channel Driver)
> >  [app_groupcount.so] => (Group Management Routines)
> >   == Registered application 'GetGroupCount'
> >   == Registered application 'SetGroup'
> >   == Registered application 'CheckGroup'
> >  [app_adsiprog.so] => (Asterisk ADSI Programming Application)
> >   == Registered application 'ADSIProg'
> >  [app_chanisavail.so] => (Check if channel is available)
> >   == Registered application 'ChanIsAvail'
> >  [app_qcall.so] => (Call from Queue)
> >  [app_softhangup.so] => (Hangs up the requested channel)
> >   == Registered application 'SoftHangup'
> >  [codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder)
> >   == Registered translator 'lpc10tolin' from format LPC10 to SLINR, cost 2
> >   == Registered translator 'lintolpc10' from format SLINR to LPC10, cost 4
> >  [app_setcidname.so] => (Set CallerID Name)
> >   == Registered application 'SetCIDName'
> >  [skipping pbx_gtkconsole.so]
> >  [format_g726.so] => (Raw G.726 (16/24/32/40kbps) data)
> >   == Registered file format g726-40, extension(s) g726-40
> >   == Registered file format g726-32, extension(s) g726-32
> >   == Registered file format g726-24, extension(s) g726-24
> >   == Registered file format g726-16, extension(s) g726-16
> >  [format_g729.so] => (Raw G729 data)
> >   == Registered file format g729, extension(s) g729
> >  [app_userevent.so] => (Custom User Event Application)
> >   == Registered application 'UserEvent'
> >  [codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator)
> >   == Registered translator 'gsmtolin' from format GSM to SLINR, cost 1
> >   == Registered translator 'lintogsm' from format SLINR to GSM, cost 4
> >  [app_authenticate.so] => (Authentication Application)
> >   == Registered application 'Authenticate'
> >  [format_pcm_alaw.so] => (Raw aLaw 8khz PCM Audio support)
> >   == Registered file format alaw, extension(s) alaw|al
> >  [format_ilbc.so]May 11 15:38:14 WARNING[1077080736]: loader.c:257
> > ast_load_resource: No load_module in module
> /usr/lib/asterisk/format_ilbc.so
> > May 11 15:38:14 WARNING[1077080736]: loader.c:264 ast_load_resource: No
> > unload_module in module /usr/lib/asterisk/format_ilbc.so
> > May 11 15:38:14 WARNING[1077080736]: loader.c:271 ast_load_resource: No
> usecount
> > in module /usr/lib/asterisk/format_ilbc.so
> > May 11 15:38:14 WARNING[1077080736]: loader.c:278 ast_load_resource: No
> > description in module /usr/lib/asterisk/format_ilbc.so
> > May 11 15:38:14 WARNING[1077080736]: loader.c:285 ast_load_resource: No key
> > routine in module /usr/lib/asterisk/format_ilbc.so
> > May 11 15:38:14 WARNING[1077080736]: loader.c:292 ast_load_resource: Key
> routine
> > returned NULL in module /usr/lib/asterisk/format_ilbc.so
> > May 11 15:38:14 WARNING[1077080736]: loader.c:301 ast_load_resource: 6
> error(s)
> > loading module /usr/lib/asterisk/format_ilbc.so, aborted
> > May 11 15:38:14 WARNING[1077080736]: loader.c:429 load_modules: Loading
> module
> > format_ilbc.so failed!
> >
> > [root at 192-168-10-93 root]# cat /etc/asterisk/modules.conf
> > ;
> > ; Asterisk configuration file
> > ;
> > ; Module Loader configuration file
> > ;
> >
> > [modules]
> > autoload=yes
> > load => chan_capi.so
> > ;
> > ; 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
> > ;
> > noload => chan_modem.so
> > noload => res_musiconhold.so
> > noload => chan_modem_i4l.so
> > noload => chan_mgcp.so
> > noload => chan_zap.so
> > ;noload => format_ilbc.so
> > ;noload => chan_iax2.so
> > ;noload => chan_agent.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
> > ;
> > ; 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
> >
> > ----------------------------------------------------------------
> > This mail sent through L-secure: http://www.l-secure.net/
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
> --
> "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




----------------------------------------------------------------
This mail sent through L-secure: http://www.l-secure.net/




More information about the asterisk-users mailing list