I recently downloaded the latest version of asterisk 126.96.36.199 and ran:
make: Leaving directory `/usr/asterisk-188.8.131.52/stdtime' +---- Asterisk Installation Complete -------+ + + + YOU MUST READ THE SECURITY DOCUMENT + + + + Asterisk has successfully been installed. + + If you would like to install the sample + + configuration files (overwriting any + + existing config files), run: + + + + make samples + + + +----------------- or ---------------------+ + + + You can go ahead and install the asterisk + + program documentation now or later run: + + + + make progdocs + + + + **Note** This requires that you have + + doxygen installed on your local system + +-------------------------------------------+
Seems like the install was successful but when I run
I get the following:
[root@localhost asterisk-184.108.40.206]# asterisk -vvvc Asterisk 220.127.116.11, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer <firstname.lastname@example.org> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'show license' for details. ========================================================================= Unable to open logger.conf: No such file or directory Asterisk Event Logger Started /var/log/asterisk/event_log Asterisk Dynamic Loader loading preload modules: == 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 Command == Manager registered action ExtensionState == Manager registered action AbsoluteTimeout == Manager registered action MailboxStatus == Manager registered action MailboxCount == Manager registered action ListCommands Jun 8 16:03:20 NOTICE: manager.c:1678 init_manager: Unable to open management configuration manager.conf. Call management disabled. Jun 8 16:03:20 NOTICE: cdr.c:1191 do_reload: CDR simple logging enabled. == RTP Allocating from port range 5000 -> 31000 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' [ExecIfTime] == Registered application 'ExecIfTime' [Hangup] == Registered application 'Hangup' [NoOp] == Registered application 'NoOp' [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' [Set] == Registered application 'Set' [SetVar] == Registered application 'SetVar' [ImportVar] == Registered application 'ImportVar' [Wait] == Registered application 'Wait' [WaitExten] == Registered application 'WaitExten' Asterisk Dynamic Loader Starting: [res_musiconhold.so] => (Music On Hold Resource) == Registered application 'MusicOnHold' == Registered application 'WaitMusicOnHold' == Registered application 'SetMusicOnHold' == Registered application 'StartMusicOnHold' == Registered application 'StopMusicOnHold' [res_monitor.so] => (Call Monitoring Resource).c:1217 load_module: No music on hold classes configured, disabling music on hold. == Registered application 'Monitor' == Registered application 'StopMonitor' == Registered application 'ChangeMonitor' == Manager registered action Monitor == Manager registered action StopMonitor == Manager registered action ChangeMonitor [res_agi.so] => (Asterisk Gateway Interface (AGI)) == Registered application 'DeadAGI' == Registered application 'EAGI' == Registered application 'AGI' [res_features.so] => (Call Features Resource) -- Registered extension context 'parkedcalls' -- Added extension '700' priority 1 to parkedcalls == Registered application 'ParkedCall' == Registered application 'Park' == Manager registered action ParkedCalls [res_crypto.so] => (Cryptographic Digital Signatures) -- Loaded PUBLIC key 'freeworlddialup' -- Loaded PUBLIC key 'iaxtel' [res_indications.so] => (Indications Configuration) == Registered application 'PlayTones' == Registered application 'StopPlayTones' [res_adsi.so] => (ADSI Resource) [pbx_realtime.so] => (Realtime Switch) [pbx_config.so] => (Text Extension Configuration) Jun 8 16:03:20 WARNING: pbx.c:3762 ast_merge_contexts_and_delete: Requested contexts didn't get merged [pbx_ael.so] => (Asterisk Extension Language Compiler) Jun 8 16:03:20 WARNING: pbx_ael.c:1146 ast_ael_compile: Unable to open '/etc/asterisk/extensions.ael': No such file or directory Jun 8 16:03:20 WARNING: pbx.c:3762 ast_merge_contexts_and_delete: Requested contexts didn't get merged [pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi)) Jun 8 16:03:20 ERROR: pbx_dundi.c:4574 set_config: Unable to load config dundi.conf == Using TOS bits 0 == DUNDi Ready and Listening on 0.0.0.0 port 4520 == Registered application 'DUNDiLookup' == Registered custom function DUNDILOOKUP [pbx_functions.so] => (Builtin dialplan functions) == Registered custom function MD5 == Registered custom function CHECK_MD5 == Registered custom function MATH == Registered custom function GROUP_COUNT == Registered custom function GROUP_MATCH_COUNT == Registered custom function GROUP == Registered custom function GROUP_LIST == Registered custom function FIELDQTY == Registered custom function REGEX == Registered custom function LEN == Registered custom function STRFTIME == Registered custom function EVAL == Registered custom function CDR == Registered custom function ISNULL == Registered custom function SET == Registered custom function EXISTS == Registered custom function IF == Registered custom function IFTIME == Registered custom function ENV == Registered custom function DB == Registered custom function DB_EXISTS == Registered custom function TIMEOUT == Registered custom function LANGUAGE == Registered custom function MUSICCLASS [pbx_spool.so] => (Outgoing Spool Support) [pbx_loopback.so] => (Loopback Switch) [chan_sip.so] => (Session Initiation Protocol (SIP)) Jun 8 16:03:20 NOTICE: chan_sip.c:12485 reload_config: Unable to load config sip.conf == Registered channel type 'SIP' (Session Initiation Protocol (SIP)) == Registered application 'SIPDtmfMode' == Registered application 'SIPAddHeader' == Registered application 'SIPGetHeader' == Registered custom function SIP_HEADER == Registered custom function SIPPEER == Registered custom function SIPCHANINFO == Registered custom function CHECKSIPDOMAIN == Manager registered action SIPpeers == Manager registered action SIPshowpeer [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2)) == Registered custom function IAXPEER == Registered application 'IAX2Provision' == Manager registered action IAXpeers == Manager registered action IAXnetstats Jun 8 16:03:20 ERROR: chan_iax2.c:8633 set_config: Unable to load config iax.conf == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2)) == IAX Ready and Listening == Loaded firmware 'iaxy.bin' Jun 8 16:03:20 NOTICE: iax2-provision.c:515 iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled. [chan_local.so] => (Local Proxy Channel) == Registered channel type 'Local' (Local Proxy Channel Driver) [chan_features.so] => (Feature Proxy Channel) == Registered channel type 'Feature' (Feature Proxy Channel Driver) [chan_mgcp.so] => (Media Gateway Control Protocol (MGCP)) Jun 8 16:03:20 NOTICE: chan_mgcp.c:4113 reload_config: Unable to load config mgcp.conf, MGCP disabled == Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP)) [chan_phone.so] => (Linux Telephony API Support) Jun 8 16:03:20 ERROR: chan_phone.c:1305 load_module: Unable to load config phone.conf Jun 8 16:03:20 WARNING: loader.c:414 __load_resource: chan_phone.so: load_module failed, returning -1 Jun 8 16:03:20 WARNING: loader.c:554 load_modules: Loading module chan_phone.so failed!
If I run asterisk -r I get this error:
[root@localhost asterisk-18.104.22.168]# asterisk -r Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?) [root@localhost asterisk-22.214.171.124]#
Any ideas what may be wrong?
BTW, I am running it on Fedora core 5.
Funny thing is that I cannot find the asterisk.conf file. I looked in /etc/asterisk and that dir is empty. I issue a #>find / | grep asterisk.conf and all I get is a asterisk.conf.README