Asterisk won't start

Hi there,

After I installed FreePBX, everything went fine for a while. However, after using it a bit (really only adding 1 extension and incoming route), asterix will not start anymore.

I’ve been through this 3 times now, each time completely purging and reinstalling both asterisk and FreePBX.

asterisk does not give any indication of what’s wrong, nor does it segfault. It just silently quits during startup. Here’s the complete log:

Hmm, guess the log message field was not the place to paste the log…

Debugging Asterisk PBX: /usr/sbin/asterisk -p -U asterisk -cnvvvvvddddd
Asterisk 1.4.17~dfsg-2ubuntu1, Copyright © 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core 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 ‘core show license’ for details.

This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk

== Parsing ‘/etc/asterisk/asterisk.conf’: Parsing /etc/asterisk/asterisk.conf
Found
Set to realtime thread
Running as user ‘asterisk’
== Parsing ‘/etc/asterisk/extconfig.conf’: Parsing /etc/asterisk/extconfig.conf
Found
== Parsing ‘/etc/asterisk/logger.conf’: Parsing /etc/asterisk/logger.conf
Found
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader Starting:
== Parsing ‘/etc/asterisk/modules.conf’: Found
== Parsing ‘/etc/asterisk/dnsmgr.conf’: Found
== Parsing ‘/etc/asterisk/http.conf’: Found
== Manager registered action Ping
== Manager registered action Events
== Manager registered action Logoff
== Manager registered action Hangup
== Manager registered action Message
== Manager registered action Status
== Manager registered action Setvar
== Manager registered action Getvar
== Manager registered action GetConfig
== Manager registered action UpdateConfig
== 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
== Manager registered action UserEvent
== Manager registered action WaitEvent
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
Asterisk Management interface listening on port 5038
== Parsing ‘/etc/asterisk/cdr.conf’: Found
== Parsing ‘/etc/asterisk/rtp.conf’: Found
== RTP Allocating from port range 10000 -> 20000
== Parsing ‘/etc/asterisk/udptl.conf’: Found
== UDPTL allocating from port range 4000 -> 4999
Asterisk PBX Core Initializing
Registering builtin applications:
[Answer]
== Registered application ‘Answer’
[BackGround]
== Registered application ‘BackGround’
[Busy]
== Registered application ‘Busy’
[Congestion]
== Registered application ‘Congestion’
[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’
[Ringing]
== Registered application ‘Ringing’
[SayNumber]
== Registered application ‘SayNumber’
[SayDigits]
== Registered application ‘SayDigits’
[SayAlpha]
== Registered application ‘SayAlpha’
[SayPhonetic]
== Registered application ‘SayPhonetic’
[SetAMAFlags]
== Registered application ‘SetAMAFlags’
[SetGlobalVar]
== Registered application ‘SetGlobalVar’
[Set]
== Registered application ‘Set’
[ImportVar]
== Registered application ‘ImportVar’
[Wait]
== Registered application ‘Wait’
[WaitExten]
== Registered application ‘WaitExten’
== Manager registered action DBget
== Manager registered action DBput
== Manager registered action DBdel
== Parsing ‘/etc/asterisk/enum.conf’: Found
Asterisk Dynamic Loader Starting:
== Parsing ‘/etc/asterisk/modules.conf’: Found
== Registered application ‘MusicOnHold’
== Registered application ‘WaitMusicOnHold’
== Registered application ‘SetMusicOnHold’
== Registered application ‘StartMusicOnHold’
== Registered application ‘StopMusicOnHold’
== Parsing ‘/etc/asterisk/musiconhold.conf’: Found
== Parsing ‘/etc/asterisk/musiconhold_custom.conf’: Found
== Parsing ‘/etc/asterisk/musiconhold_additional.conf’: Found
res_musiconhold.so => (Music On Hold Resource)
res_speech.so => (Generic Speech Recognition API)
== Parsing ‘/etc/asterisk/res_pgsql.conf’: Found
Postgresql RealTime driver loaded.
res_config_pgsql.so => (PostgreSQL RealTime Configuration Driver)
== Parsing ‘/etc/asterisk/esel.conf’: Found
res_esel.so => (Extension State Export Logic (E.S.E.L.) Resource)
== Parsing ‘/etc/asterisk/features.conf’: Found
== Parsing ‘/etc/asterisk/features_general_additional.conf’: Found
== Parsing ‘/etc/asterisk/features_general_custom.conf’: Found
== Parsing ‘/etc/asterisk/features_applicationmap_additional.conf’: Found
== Parsing ‘/etc/asterisk/features_applicationmap_custom.conf’: Found
== Parsing ‘/etc/asterisk/features_featuremap_additional.conf’: Found
== Parsing ‘/etc/asterisk/features_featuremap_custom.conf’: Found
– Registered extension context ‘parkedcalls’
– Added extension ‘700’ priority 1 to parkedcalls
== Registered application ‘ParkedCall’
== Registered application ‘Park’
== Manager registered action ParkedCalls
== Manager registered action Park
== Registered application ‘HoldedCall’
== Registered application ‘AutoanswerLogin’
== Registered application 'Autoanswer’
res_features.so => (Call Features Resource)
== Parsing ‘/etc/asterisk/res_odbc.conf’: Found
res_odbc.so => (ODBC Resource)
== Parsing ‘/etc/asterisk/jabber.conf’: Found
== Manager registered action JabberSend
== Registered application ‘JabberSend’
== Registered application 'JabberStatus’
res_jabber.so => (AJI - Asterisk Jabber Interface)
– Loaded PUBLIC key ‘jnctn’
– Loaded PUBLIC key ‘iaxtel’
– Loaded PUBLIC key 'freeworlddialup’
res_crypto.so => (Cryptographic Digital Signatures)
== Parsing ‘/etc/asterisk/indications.conf’: Found
– Registered indication country ‘at’
– Registered indication country ‘au’
– Registered indication country ‘br’
– Registered indication country ‘be’
– Registered indication country ‘bg’
– Registered indication country ‘ch’
– Registered indication country ‘cl’
– Registered indication country ‘cn’
– Registered indication country ‘cz’
– Registered indication country ‘de’
– Registered indication country ‘dk’
– Registered indication country ‘ee’
– Registered indication country ‘fi’
– Registered indication country ‘fr’
– Registered indication country ‘gr’
– Registered indication country ‘hk’
– Registered indication country ‘hu’
– Registered indication country ‘in’
– Registered indication country ‘il’
– Registered indication country ‘it’
– Registered indication country ‘jp’
– Registered indication country ‘lt’
– Registered indication country ‘mx’
– Registered indication country ‘nl’
– Registered indication country ‘no’
– Registered indication country ‘nz’
– Registered indication country ‘phl’
– Registered indication country ‘pl’
– Registered indication country ‘pt’
– Registered indication country ‘ru’
– Registered indication country ‘sg’
– Registered indication country ‘za’
– Registered indication country ‘es’
– Registered indication country ‘se’
– Registered indication country ‘tr’
– Registered indication country ‘uk’
– Registered indication country ‘us’
– Registered indication country ‘us-o’
– Registered indication country ‘tw’
– Registered indication country ‘ve’
– Setting default indication country to ‘us’
== Registered application ‘PlayTones’
== Registered application 'StopPlayTones’
res_indications.so => (Indications Resource)
== Parsing ‘/etc/asterisk/res_snmp.conf’: Found
Loading [Sub]Agent Module
res_snmp.so => (SNMP [Sub]Agent for Asterisk)
== Parsing ‘/etc/asterisk/smdi.conf’: Found
== Registered application 'Segfault’
app_segfault.so => (Application for crashing Asterisk with a segmentation fault)
== Registered application ‘StealChan’
== Registered application ‘PickupChan’
== Registered application ‘PickDown’
== Registered application ‘Steal’
== Registered application 'PickUp’
app_pickup.so => (PickUp/PickDown/Steal/PickupChan/StealChan)
== Parsing ‘/etc/asterisk/adsi.conf’: Found
res_adsi.so => (ADSI Resource)
== Registered application ‘DeadAGI’
== Registered application ‘EAGI’
== Registered application ‘XAGI’
== Registered application 'AGI’
res_agi.so => (Asterisk Gateway Interface (AGI))
res_config_odbc loaded.
res_config_odbc.so => (ODBC Configuration)
== Registered application ‘Monitor’
== Registered application ‘StopMonitor’
== Registered application ‘ChangeMonitor’
== Registered application ‘PauseMonitor’
== Registered application ‘UnpauseMonitor’
== Manager registered action Monitor
== Manager registered action StopMonitor
== Manager registered action ChangeMonitor
== Manager registered action PauseMonitor
== Manager registered action UnpauseMonitor
res_monitor.so => (Call Monitoring Resource)
== Parsing ‘/etc/asterisk/watchdog.conf’: Found
res_watchdog.so => (Watchdog Resource)
== Registered file format wav, extension(s) wav
format_wav.so => (Microsoft WAV format (8000Hz Signed Linear))
== Registered file format pcm, extension(s) pcm|ulaw|ul|mu
== Registered file format alaw, extension(s) alaw|al
== Registered file format au, extension(s) au
== Registered file format g722, extension(s) g722
format_pcm.so => (Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.722 16Khz)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– codec_adpcm: using generic PLC
== Registered translator ‘adpcmtolin’ from format adpcm to slin, cost 1
== Registered translator ‘lintoadpcm’ from format slin to adpcm, cost 1
codec_adpcm.so => (Adaptive Differential PCM Coder/Decoder)
== Registered application ‘While’
== Registered application ‘EndWhile’
== Registered application ‘ExitWhile’
== Registered application 'ContinueWhile’
app_while.so => (While Loops and Conditional Execution)
== Registered custom function CUT
== Registered custom function SORT
func_cut.so => (Cut out information from a string)
cdr_sqlite.so => (SQLite CDR Backend)
== Registered application 'SendText’
app_sendtext.so => (Send Text Applications)
== Registered application ‘TrySystem’
== Registered application 'System’
app_system.so => (Generic System() application)
== Registered application 'GetCPEID’
app_getcpeid.so => (Get ADSI CPE ID)
== Registered application ‘Exec’
== Registered application ‘TryExec’
== Registered application 'ExecIf’
app_exec.so => (Executes dialplan applications)
== Registered custom function ENUMLOOKUP
== Registered custom function TXTCIDNAME
func_enum.so => (ENUM related dialplan functions)
== Parsing ‘/etc/asterisk/cdr_manager.conf’: Found
cdr_manager.so => (Asterisk Manager Interface CDR Backend)
== Registered application 'Milliwatt’
app_milliwatt.so => (Digital Milliwatt (mu-law) Test Application)
== Registered application 'LookupCIDName’
app_lookupcidname.so => (Look up CallerID Name from local database)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– codec_alaw: using generic PLC
== Registered translator ‘alawtolin’ from format alaw to slin, cost 1
== Registered translator ‘lintoalaw’ from format slin to alaw, cost 1
codec_alaw.so => (A-law Coder/Decoder)
== Registered file format gsm, extension(s) gsm
format_gsm.so => (Raw GSM data)
== Registered application 'PrivacyManager’
app_privacy.so => (Require phone number to be entered, if no CallerID sent)
== Registered application 'Random’
app_random.so => (Random goto)
== Registered application 'SendImage’
app_image.so => (Image Transmission Application)
== Registered application ‘SetCDRUserField’
== Registered application ‘AppendCDRUserField’
== Manager registered action SetCDRUserField
app_setcdruserfield.so => (CDR user field apps)
== Registered custom function GROUP_COUNT
== Registered custom function GROUP_MATCH_COUNT
== Registered custom function GROUP_LIST
== Registered custom function GROUP
func_groupcount.so => (Channel group dialplan functions)
== Parsing ‘/etc/asterisk/capi.conf’: Found
– Registering at CAPI (blocksize=160 maxlogicalchannels=2)
== This box has 1 capi controller(s).
– CAPI/contr1 supports DTMF
– CAPI/contr1 supports supplementary services
> supplementary services : 0x000003ff
> HOLD/RETRIEVE TERMINAL-PORTABILITY ECT 3PTY CF CD MCID CCBS MWI CCNR
– CAPI/contr1 private options=0x01000001
== Reading config for ISDN1
– capi D ISDN1#00 (:from-trunk) contr=1 devs=2 EC=0,opt=4,tail=0
– capi B ISDN1#01 (
:from-trunk) contr=1 devs=2 EC=0,opt=4,tail=0
– capi B ISDN1#02 (*:from-trunk) contr=1 devs=2 EC=0,opt=4,tail=0
– Registering at CAPI (blocksize=160 maxlogicalchannels=3)
– listening on contr1 CIPmask = 0x1fff03ff
== Registered channel type ‘CAPI’ (Common ISDN API Driver (1.0.2))
== Registered application 'capiCommand’
chan_capi.so => (Common ISDN API Driver (1.0.2))
== Registered application ‘SayUnixTime’
== Registered application 'DateTime’
app_sayunixtime.so => (Say time)
== Registered channel type ‘DS’ (Application for sending device state messages)
== Manager registered action Devstate
== Registered application 'Devstate’
app_devstate.so => (Simple Devstate Application)
== Registered application 'Dictate’
app_dictate.so => (Virtual Dictation Machine)
== Registered custom function MATH
func_math.so => (Mathematical dialplan function)
== Setting global variable ‘CONSOLE’ to ‘Console/dsp’
== Setting global variable ‘IAXINFO’ to ‘guest’
== Setting global variable ‘TRUNK’ to ‘Zap/g2’
== Setting global variable ‘TRUNKMSD’ to ‘1’
– Registered extension context ‘ael-dundi-e164-canonical’
– Registered extension context ‘ael-dundi-e164-customers’
– Registered extension context ‘ael-dundi-e164-via-pstn’
– Registered extension context ‘ael-dundi-e164-local’
– Including context ‘ael-dundi-e164-canonical’ in context ‘ael-dundi-e164-local’
– Including context ‘ael-dundi-e164-customers’ in context ‘ael-dundi-e164-local’
– Including context ‘ael-dundi-e164-via-pstn’ in context ‘ael-dundi-e164-local’
– Registered extension context ‘ael-dundi-e164-switch’
– Including switch ‘DUNDi/e164’ in context ‘ael-dundi-e164-switch’
– Registered extension context ‘ael-dundi-e164-lookup’
– Including context ‘ael-dundi-e164-local’ in context ‘ael-dundi-e164-lookup’
– Including context ‘ael-dundi-e164-switch’ in context ‘ael-dundi-e164-lookup’
– Registered extension context ‘macro-ael-dundi-e164’
– Registered extension context ‘ael-iaxtel700’
– Registered extension context ‘ael-iaxprovider’
– Registered extension context ‘ael-trunkint’
– Including context ‘ael-dundi-e164-lookup’ in context ‘ael-trunkint’
– Registered extension context ‘ael-trunkld’
– Including context ‘ael-dundi-e164-lookup’ in context ‘ael-trunkld’
– Registered extension context ‘ael-trunklocal’
– Registered extension context ‘ael-trunktollfree’
– Registered extension context ‘ael-international’
– Including context ‘ael-longdistance’ in context ‘ael-international’
– Including context ‘ael-trunkint’ in context ‘ael-international’
– Registered extension context ‘ael-longdistance’
– Including context ‘ael-local’ in context ‘ael-longdistance’
– Including context ‘ael-trunkld’ in context ‘ael-longdistance’
– Registered extension context ‘ael-local’
– Including context ‘ael-default’ in context ‘ael-local’
– Including context ‘ael-trunklocal’ in context ‘ael-local’
– Including context ‘ael-iaxtel700’ in context ‘ael-local’
– Including context ‘ael-trunktollfree’ in context ‘ael-local’
– Including context ‘ael-iaxprovider’ in context ‘ael-local’
– Registered extension context ‘macro-ael-std-exten-ael’
– Registered extension context ‘ael-demo’
– Registered extension context ‘ael-default’
– Including context ‘ael-demo’ in context ‘ael-default’
– Added extension ‘s’ priority 1 to macro-ael-dundi-e164
– Added extension ‘s’ priority 2 to macro-ael-dundi-e164
– Added extension ‘s’ priority 3 to macro-ael-dundi-e164
– Added extension ‘s’ priority 4 to macro-ael-dundi-e164
– Added extension ‘_91700XXXXXXX’ priority 1 to ael-iaxtel700
– Added extension ‘_9011.’ priority 1 to ael-trunkint
– Added extension ‘_9011.’ priority 2 to ael-trunkint
– Added extension ‘_91NXXNXXXXXX’ priority 1 to ael-trunkld
– Added extension ‘_91NXXNXXXXXX’ priority 2 to ael-trunkld
– Added extension ‘_9NXXXXXX’ priority 1 to ael-trunklocal
– Added extension ‘_91800NXXXXXX’ priority 1 to ael-trunktollfree
– Added extension ‘_91888NXXXXXX’ priority 1 to ael-trunktollfree
– Added extension ‘_91877NXXXXXX’ priority 1 to ael-trunktollfree
– Added extension ‘_91866NXXXXXX’ priority 1 to ael-trunktollfree
– Added extension ‘s’ priority 1 to macro-ael-std-exten-ael
– Added extension ‘s’ priority 2 to macro-ael-std-exten-ael
– Added extension ‘s’ priority 3 to macro-ael-std-exten-ael
– Added extension ‘s’ priority 4 to macro-ael-std-exten-ael
– Added extension ‘s’ priority 5 to macro-ael-std-exten-ael
– Added extension ‘s’ priority 6 to macro-ael-std-exten-ael
– Added extension ‘s’ priority 7 to macro-ael-std-exten-ael
– Added extension ‘a’ priority 1 to macro-ael-std-exten-ael
– Added extension ‘a’ priority 2 to macro-ael-std-exten-ael
– Added extension ‘a’ priority 3 to macro-ael-std-exten-ael
– Added extension ‘_sw-1-.’ priority 10 to macro-ael-std-exten-ael
– Added extension ‘_sw-1-.’ priority 11 to macro-ael-std-exten-ael
– Added extension ‘sw-1-’ priority 10 to macro-ael-std-exten-ael
– Added extension ‘sw-1-BUSY’ priority 10 to macro-ael-std-exten-ael
– Added extension ‘sw-1-BUSY’ priority 11 to macro-ael-std-exten-ael
– Added extension ‘s’ priority 1 to ael-demo
– Added extension ‘s’ priority 2 to ael-demo
– Added extension ‘s’ priority 3 to ael-demo
– Added extension ‘s’ priority 4 to ael-demo
– Added extension ‘s’ priority 5 to ael-demo
– Added extension ‘s’ priority 6 to ael-demo
– Added extension ‘s’ priority 7 to ael-demo
– Added extension ‘s’ priority 8 to ael-demo
– Added extension ‘s’ priority 9 to ael-demo
– Added extension ‘s’ priority 10 to ael-demo
– Added extension ‘s’ priority 11 to ael-demo
– Added extension ‘s’ priority 12 to ael-demo
– Added extension ‘2’ priority 1 to ael-demo
– Added extension ‘2’ priority 2 to ael-demo
– Added extension ‘3’ priority 1 to ael-demo
– Added extension ‘3’ priority 2 to ael-demo
– Added extension ‘1000’ priority 1 to ael-demo
– Added extension ‘500’ priority 1 to ael-demo
– Added extension ‘500’ priority 2 to ael-demo
– Added extension ‘500’ priority 3 to ael-demo
– Added extension ‘500’ priority 4 to ael-demo
– Added extension ‘600’ priority 1 to ael-demo
– Added extension ‘600’ priority 2 to ael-demo
– Added extension ‘600’ priority 3 to ael-demo
– Added extension ‘600’ priority 4 to ael-demo
– Added extension ‘_1234’ priority 1 to ael-demo
– Added extension ‘8500’ priority 1 to ael-demo
– Added extension ‘8500’ priority 2 to ael-demo
– Added extension ‘#’ priority 1 to ael-demo
– Added extension ‘#’ priority 2 to ael-demo
– Added extension ‘t’ priority 1 to ael-demo
– Added extension ‘i’ priority 1 to ael-demo
pbx_ael.so => (Asterisk Extension Language Compiler)
== Parsing ‘/etc/asterisk/vpb.conf’: Found
== Registered application 'SoftHangup’
app_softhangup.so => (Hangs up the requested channel)
== Registered application 'ICES’
app_ices.so => (Encode and Stream via icecast and ices)
== Registered custom function BASE64_ENCODE
== Registered custom function BASE64_DECODE
func_base64.so => (base64 encode/decode dialplan functions)
== Parsing ‘/etc/asterisk/codecs.conf’: Found
– codec_ulaw: using generic PLC
== Registered translator ‘ulawtolin’ from format ulaw to slin, cost 1
== Registered translator ‘lintoulaw’ from format slin to ulaw, cost 1
codec_ulaw.so => (mu-Law Coder/Decoder)
== Registered application 'SMS’
app_sms.so => (SMS/PSTN handler)
== Registered application ‘Log’
== Registered application 'Verbose’
app_verbose.so => (Send verbose output)
== Registered custom function URIDECODE
== Registered custom function URIENCODE
func_uri.so => (URI encode/decode dialplan functions)
== Registered application 'MP3Player’
app_mp3.so => (Silly MP3 Application)
== Registered application ‘SetCallerPres’
== Registered application 'SetCallerID’
app_setcallerid.so => (Set CallerID Application)
== Parsing ‘/etc/asterisk/func_odbc.conf’: Found
== Registered custom function ODBC_SQL
== Registered custom function ODBC_ANTIGF
== Registered custom function ODBC_PRESENCE
== Registered custom function SQL_ESC
func_odbc.so => (ODBC lookups)
== Registered application ‘StackPop’
== Registered application ‘Return’
== Registered application ‘GosubIf’
== Registered application 'Gosub’
app_stack.so => (Stack Routines)
== Parsing ‘/etc/asterisk/say.conf’: Found
== Registered application 'Playback’
app_playback.so => (Sound File Playback Application)
pbx_realtime.so => (Realtime Switch)
== Registered custom function MD5
== Registered custom function CHECK_MD5
func_md5.so => (MD5 digest dialplan functions)
== Registered custom function GLOBAL
func_global.so => (Global variable dialplan functions)
== Registered application 'Flash’
app_flash.so => (Flash channel application)
== Parsing ‘/etc/asterisk/gtalk.conf’: Found
== Registered channel type ‘Gtalk’ (Gtalk Channel Driver)
chan_gtalk.so => (Gtalk Channel Driver)
== Registered custom function VMCOUNT
== Registered application ‘HasVoicemail’
== Registered application 'HasNewVoicemail’
app_hasnewvoicemail.so => (Indicator for whether a voice mailbox has messages in a given folder.)
== Registered custom function MUSICCLASS
func_moh.so => (Music-on-hold dialplan function)
== Parsing ‘/etc/asterisk/followme.conf’: Found
== Registered application 'FollowMe’
app_followme.so => (Find-Me/Follow-Me Application)
== Parsing ‘/etc/asterisk/alarmreceiver.conf’: Found
== Registered application 'AlarmReceiver’
app_alarmreceiver.so => (Alarm Receiver for Asterisk)
== Registered application 'ADSIProg’
app_adsiprog.so => (Asterisk ADSI Programming Application)
== Registered application ‘SpeechCreate’
== Registered application ‘SpeechLoadGrammar’
== Registered application ‘SpeechUnloadGrammar’
== Registered application ‘SpeechActivateGrammar’
== Registered application ‘SpeechDeactivateGrammar’
== Registered application ‘SpeechStart’
== Registered application ‘SpeechBackground’
== Registered application ‘SpeechDestroy’
== Registered application ‘SpeechProcessingSound’
== Registered custom function SPEECH
== Registered custom function SPEECH_SCORE
== Registered custom function SPEECH_TEXT
== Registered custom function SPEECH_GRAMMAR
== Registered custom function SPEECH_ENGINE
== Registered custom function SPEECH_RESULTS_TYPE
app_speech_utils.so => (Dialplan Speech Applications)
== Registered channel type ‘Agent’ (Call Agent Proxy Channel)
== Parsing ‘/etc/asterisk/agents.conf’: Found
== Parsing ‘/etc/asterisk/users.conf’: Found
== Registered application ‘AgentLogin’
== Registered application ‘AgentCallbackLogin’
== Registered application ‘AgentMonitorOutgoing’
== Manager registered action Agents
== Manager registered action AgentLogoff
== Manager registered action AgentCallbackLogin
== Registered custom function AGENT
chan_agent.so => (Agent Proxy Channel)
== Registered translator ‘alawtoulaw’ from format alaw to ulaw, cost 1
== Registered translator ‘ulawtoalaw’ from format ulaw to alaw, cost 1
codec_a_mu.so => (A-law and Mulaw direct Coder/Decoder)
== Registered application 'DumpChan’
app_dumpchan.so => (Dump Info About The Calling Channel)
== Parsing ‘/etc/asterisk/h323.conf’: Found
== Creating H.323 Endpoint
== Parsing ‘/etc/asterisk/users.conf’: Found
== Registered channel type ‘H323’ (The NuFone Network’s Open H.323 Channel Driver)
== H.323 listener started
chan_h323.so => (The NuFone Network’s OpenH323 Channel Driver)
== Parsing ‘/etc/asterisk/mgcp.conf’: Found
== MGCP Listening on 0.0.0.0:2727
== Using TOS bits 0
== Registered channel type ‘MGCP’ (Media Gateway Control Protocol (MGCP))
chan_mgcp.so => (Media Gateway Control Protocol (MGCP))
== Parsing ‘/etc/asterisk/dundi.conf’: Found
== Using TOS bits 0
== DUNDi Ready and Listening on 0.0.0.0 port 4520
== Registered custom function DUNDILOOKUP
pbx_dundi.so => (Distributed Universal Number Discovery (DUNDi))
== Registered custom function TIMEOUT
func_timeout.so => (Channel timeout dialplan functions)
== Parsing ‘/etc/asterisk/cdr_odbc.conf’: Found
cdr_odbc.so => (ODBC CDR Backend)
res_convert.so => (File format conversion CLI command)
== Registered application ‘ChanSpy’
== Registered application ‘ExtenSpy’
== Registered application 'ChanSpyChan’
app_chanspy.so => (Listen to the audio of an active channel)
== Registered custom function ISNULL
== Registered custom function SET
== Registered custom function EXISTS
== Registered custom function IF
== Registered custom function IFTIME
func_logic.so => (Logical dialplan functions)
== Registered application 'ForkCDR’
app_forkcdr.so => (Fork The CDR into 2 separate entities)
== Parsing ‘/etc/asterisk/cdr.conf’: Found
cdr_csv.so => (Comma Separated Values CDR Backend)
== 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_g726.so => (Raw G.726 (16/24/32/40kbps) data)
== Registered application 'Read’
app_read.so => (Read Variable Application)
== Registered application 'Directory’
app_directory.so => (Extension Directory)
== Registered file format iLBC, extension(s) ilbc
format_ilbc.so => (Raw iLBC data)
== Registered custom function FIELDQTY
== Registered custom function FILTER
== Registered custom function REGEX
== Registered custom function ARRAY
== Registered custom function QUOTE
== Registered custom function LEN
== Registered custom function STRFTIME
== Registered custom function STRPTIME
== Registered custom function EVAL
== Registered custom function KEYPADHASH
== Registered custom function SPRINTF
func_strings.so => (String handling dialplan functions)
== Registered application ‘VoiceMail’
== Registered application ‘VoiceMailMain’
== Registered application ‘MailboxExists’
== Registered application ‘VMAuthenticate’
== Parsing ‘/etc/asterisk/voicemail.conf’: Found
== Parsing ‘/etc/asterisk/users.conf’: Found
app_voicemail_imap.so => (Comedian Mail (Voicemail System) with IMAP Storage)
== Registered application 'DPickup’
app_directed_pickup.so => (Directed Call Pickup Application)
== Registered application 'NoCDR’
app_cdr.so => (Tell Asterisk to not maintain a CDR for the current call)
== Registered application ‘RealTimeUpdate’
== Registered application 'RealTime’
app_realtime.so => (Realtime Data Lookup/Rewrite)
== Registered application 'SendURL’
app_url.so => (Send URL Applications)
== Parsing ‘/etc/asterisk/cdr.conf’: Found
cdr_radius.so => (RADIUS CDR Backend)
== Registered file format h263, extension(s) h263
format_h263.so => (Raw H.263 data)
== Registered application 'Transfer’
app_transfer.so => (Transfer)
== Manager registered action PlayDTMF
== Registered application 'SendDTMF’
app_senddtmf.so => (Send DTMF digits Application)
== Registered application 'WaitForSilence’
app_waitforsilence.so => (Wait For Silence)
== Registered application ‘MacroExit’
== Registered application ‘MacroIf’
== Registered application ‘MacroExclusive’
== Registered application 'Macro’
app_macro.so => (Extension Macros)
== Parsing ‘/etc/asterisk/voicemail.conf’: Found

Who has so much time to read this? Which OS do you use? which Asterisk Version do you use? Say us, what is important!

It’s Asterisk 1.4.17 running on Ubuntu 8.04.2 (hardy) with chan_capi 1.0.2-1 and a Fritz!card PCI. The FreePBX version was 2.5.1 upon install and then I updated it to whatever was available through the online update yesterday (sorry, I’ve already started the next round of purging and installing and can’t check right now…)

It was there if you took the time to read the first few lines…

Debugging Asterisk PBX: /usr/sbin/asterisk -p -U asterisk -cnvvvvvddddd
Asterisk 1.4.17~dfsg-2ubuntu1, Copyright © 1999 - 2007 Digium, Inc. and others.

asterisk 1.4.17 on ubuntu

Is that all that was in the full.log file? 98% of the time when asterisk crashes it will write out what it was doing and why it crashed (granted it’s cryptic to most people but it does write out some details).

Have you seen this page: http://vollkorn.cryptobitch.de/index.php?/archives/68-Setting-up-Asterisk-with-a-Fritz!PCI-ISDN-card-on-Ubuntu-Server.html

When you have it crash next time before you start it again just port the last 50 to 100 lines of the /var/log/asterisk/full.log file and let 's see what it says.