I have an odd issue, asterisk was work just fine, then it suddenly stopped working. when i make a call it always replay with code 404, which means user not found, which means it can’t read the extensions.conf file, also when i do the command dialplan reload
in asterisk cli, it replies with command not found, also when i do the command core reload
in asterisk cli nothing happend. i tried to restart the service and restart the server and still no solution. please help me with this problem.
Hello.
Show us please ‘module show’
It seems that pbx_config.so is not loaded
Hello
thanks for your reply
the output is
ubuntuCLI> module show
Module Description Use Count Status Support Level
app_adsiprog.so Asterisk ADSI Programming Application 0 Not Running extended
app_agent_pool.so Call center agent pool applications 0 Running core
app_alarmreceiver.so Alarm Receiver for Asterisk 0 Not Running extended
app_amd.so Answering Machine Detection Application 0 Not Running extended
app_authenticate.so Authentication Application 0 Running core
app_bridgewait.so Place the channel into a holding bridge 0 Not Running core
app_cdr.so Tell Asterisk to not maintain a CDR for 0 Not Running core
app_celgenuserevent.so Generate an User-Defined CEL event 0 Not Running core
app_chanisavail.so Check channel availability 0 Not Running extended
app_channelredirect.so Redirects a given channel to a dialplan 0 Not Running core
app_chanspy.so Listen to the audio of an active channel 0 Not Running core
app_confbridge.so Conference Bridge Application 0 Running core
app_controlplayback.so Control Playback Application 0 Not Running core
app_db.so Database Access Functions 0 Not Running core
app_dial.so Dialing Application 0 Not Running core
app_dictate.so Virtual Dictation Machine 0 Not Running extended
app_directed_pickup.so Directed Call Pickup Application 0 Not Running core
app_directory.so Extension Directory 0 Not Running core
app_disa.so DISA (Direct Inward System Access) Appli 0 Not Running core
app_dumpchan.so Dump Info About The Calling Channel 0 Not Running core
app_echo.so Simple Echo Application 0 Not Running core
app_exec.so Executes dialplan applications 0 Not Running core
app_externalivr.so External IVR Interface Application 0 Not Running extended
app_festival.so Simple Festival Interface 0 Running extended
app_followme.so Find-Me/Follow-Me Application 0 Not Running core
app_forkcdr.so Fork The CDR into 2 separate entities 0 Not Running core
app_getcpeid.so Get ADSI CPE ID 0 Not Running extended
app_ices.so Encode and Stream via icecast and ices 0 Not Running extended
app_image.so Image Transmission Application 0 Not Running extended
app_jack.so JACK Interface 0 Not Running extended
app_macro.so Extension Macros 0 Running core
app_milliwatt.so Digital Milliwatt (mu-law) Test Applicat 0 Not Running core
app_minivm.so Mini VoiceMail (A minimal Voicemail e-ma 0 Not Running extended
app_mixmonitor.so Mixed Audio Monitoring Application 0 Not Running core
app_morsecode.so Morse code 0 Not Running extended
app_mp3.so Silly MP3 Application 0 Not Running extended
app_nbscat.so Silly NBS Stream Application 0 Not Running extended
app_originate.so Originate call 0 Not Running core
app_page.so Page Multiple Phones 0 Not Running core
app_playback.so Sound File Playback Application 0 Not Running core
app_playtones.so Playtones Application 0 Not Running core
app_privacy.so Require phone number to be entered, if n 0 Not Running core
app_queue.so True Call Queueing 0 Not Running core
app_read.so Read Variable Application 0 Not Running core
app_readexten.so Read and evaluate extension validity 0 Not Running core
app_record.so Trivial Record Application 0 Not Running core
app_sayunixtime.so Say time 0 Not Running core
app_senddtmf.so Send DTMF digits Application 0 Not Running core
app_sendtext.so Send Text Applications 0 Not Running core
app_sms.so SMS/PSTN handler 0 Not Running extended
app_softhangup.so Hangs up the requested channel 0 Not Running core
app_speech_utils.so Dialplan Speech Applications 0 Not Running core
app_stack.so Dialplan subroutines (Gosub, Return, etc 0 Running core
app_stasis.so Stasis dialplan application 0 Not Running core
app_system.so Generic System() application 0 Not Running core
app_talkdetect.so Playback with Talk Detection 0 Not Running extended
app_test.so Interface Test Application 0 Not Running extended
app_transfer.so Transfers a caller to another extension 0 Not Running core
app_url.so Send URL Applications 0 Not Running extended
app_userevent.so Custom User Event Application 0 Not Running core
app_verbose.so Send verbose output 0 Not Running core
app_voicemail.so Comedian Mail (Voicemail System) 0 Not Running core
app_waitforring.so Waits until first ring after time 0 Running extended
app_waitforsilence.so Wait For Silence 0 Not Running extended
app_waituntil.so Wait until specified time 0 Not Running core
app_while.so While Loops and Conditional Execution 0 Not Running core
app_zapateller.so Block Telemarketers with Special Informa 0 Not Running extended
bridge_builtin_features.so Built in bridging features 0 Not Running core
bridge_builtin_interval_features.so Built in bridging interval features 0 Not Running core
bridge_holding.so Holding bridge module 0 Not Running core
bridge_native_rtp.so Native RTP bridging module 0 Not Running core
bridge_simple.so Simple two channel bridging module 0 Not Running core
bridge_softmix.so Multi-party software based channel mixin 0 Not Running core
cdr_adaptive_odbc.so Adaptive ODBC CDR backend 0 Running core
cdr_csv.so Comma Separated Values CDR Backend 0 Running extended
cdr_custom.so Customizable Comma Separated Values CDR 0 Running core
cdr_manager.so Asterisk Manager Interface CDR Backend 0 Running core
cdr_odbc.so ODBC CDR Backend 0 Running extended
cdr_pgsql.so PostgreSQL CDR Backend 0 Not Running extended
cdr_radius.so RADIUS CDR Backend 0 Running extended
cdr_sqlite3_custom.so SQLite3 Custom CDR Module 0 Not Running extended
cdr_syslog.so Customizable syslog CDR Backend 0 Not Running core
cdr_tds.so FreeTDS CDR Backend 0 Not Running extended
cel_custom.so Customizable Comma Separated Values CEL 0 Running core
cel_manager.so Asterisk Manager Interface CEL Backend 0 Running core
cel_odbc.so ODBC CEL backend 0 Running core
cel_pgsql.so PostgreSQL CEL Backend 0 Running extended
cel_radius.so RADIUS CEL Backend 0 Running extended
cel_sqlite3_custom.so SQLite3 Custom CEL Module 0 Not Running extended
cel_tds.so FreeTDS CEL Backend 0 Not Running extended
chan_bridge_media.so Bridge Media Channel Driver 0 Not Running core
chan_iax2.so Inter Asterisk eXchange (Ver 2) 0 Running core
chan_mgcp.so Media Gateway Control Protocol (MGCP) 0 Running extended
chan_motif.so Motif Jingle Channel Driver 0 Running core
chan_oss.so OSS Console Channel Driver 0 Not Running extended
chan_phone.so Linux Telephony API Support 0 Not Running extended
chan_rtp.so RTP Media Channel 0 Running core
chan_sip.so Session Initiation Protocol (SIP) 0 Running core
chan_skinny.so Skinny Client Control Protocol (Skinny) 0 Running extended
chan_unistim.so UNISTIM Protocol (USTM) 0 Not Running extended
codec_a_mu.so A-law and Mulaw direct Coder/Decoder 0 Not Running core
codec_adpcm.so Adaptive Differential PCM Coder/Decoder 0 Not Running core
codec_alaw.so A-law Coder/Decoder 0 Not Running core
codec_g722.so ITU G.722-64kbps G722 Transcoder 0 Not Running core
codec_g726.so ITU G.726-32kbps G726 Transcoder 0 Not Running core
codec_gsm.so GSM Coder/Decoder 0 Not Running core
codec_ilbc.so iLBC Coder/Decoder 0 Not Running core
codec_lpc10.so LPC10 2.4kbps Coder/Decoder 0 Not Running core
codec_resample.so SLIN Resampling Codec 0 Not Running core
codec_speex.so Speex Coder/Decoder 0 Not Running core
codec_ulaw.so mu-Law Coder/Decoder 0 Not Running core
format_g719.so ITU G.719 0 Running core
format_g723.so G.723.1 Simple Timestamp File Format 0 Running core
format_g726.so Raw G.726 (16/24/32/40kbps) data 0 Running core
format_g729.so Raw G.729 data 0 Running core
format_gsm.so Raw GSM data 0 Running core
format_h263.so Raw H.263 data 0 Running core
format_h264.so Raw H.264 data 0 Running core
format_ilbc.so Raw iLBC data 0 Running core
format_jpeg.so jpeg (joint picture experts group) image 0 Running extended
format_ogg_vorbis.so OGG/Vorbis audio 0 Running core
format_pcm.so Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G. 0 Running core
format_siren14.so ITU G.722.1 Annex C (Siren14, licensed f 0 Running core
format_siren7.so ITU G.722.1 (Siren7, licensed from Polyc 0 Running core
format_sln.so Raw Signed Linear Audio support (SLN) 8k 0 Running core
format_vox.so Dialogic VOX (ADPCM) File Format 0 Running extended
format_wav.so Microsoft WAV/WAV16 format (8kHz/16kHz S 0 Running core
format_wav_gsm.so Microsoft WAV format (Proprietary GSM) 0 Running core
func_aes.so AES dialplan functions 0 Not Running core
func_audiohookinherit.so Audiohook inheritance placeholder functi 0 Not Running deprecated
func_base64.so base64 encode/decode dialplan functions 0 Not Running core
func_blacklist.so Look up CallerID name/number from black 0 Not Running core
func_callcompletion.so Call Control Configuration Function 0 Not Running core
func_callerid.so Party ID related dialplan functions (Cal 0 Not Running core
func_cdr.so Call Detail Record (CDR) dialplan functi 0 Not Running core
func_channel.so Channel information dialplan functions 0 Not Running core
func_config.so Asterisk configuration file variable acc 0 Not Running core
func_curl.so Load external URL 0 Running core
func_cut.so Cut out information from a string 0 Not Running core
func_db.so Database (astdb) related dialplan functi 0 Not Running core
func_devstate.so Gets or sets a device state in the dialp 0 Running core
func_dialgroup.so Dialgroup dialplan function 0 Not Running core
func_dialplan.so Dialplan Context/Extension/Priority Chec 0 Running core
func_enum.so ENUM related dialplan functions 0 Not Running core
func_env.so Environment/filesystem dialplan function 0 Not Running core
func_extstate.so Gets an extension’s state in the dialpla 0 Not Running core
func_frame_trace.so Frame Trace for internal ast_frame debug 0 Not Running extended
func_global.so Variable dialplan functions 0 Not Running core
func_groupcount.so Channel group dialplan functions 0 Not Running core
func_hangupcause.so HANGUPCAUSE related functions and applic 0 Not Running core
func_holdintercept.so Hold interception dialplan function 0 Not Running core
func_iconv.so Charset conversions 0 Not Running core
func_jitterbuffer.so Jitter buffer for read side of channel. 0 Not Running core
func_lock.so Dialplan mutexes 0 Not Running core
func_logic.so Logical dialplan functions 0 Not Running core
func_math.so Mathematical dialplan function 0 Not Running core
func_md5.so MD5 digest dialplan functions 0 Not Running core
func_module.so Checks if Asterisk module is loaded in m 0 Not Running core
func_odbc.so ODBC lookups 0 Not Running core
func_periodic_hook.so Periodic dialplan hooks. 0 Running core
func_pitchshift.so Audio Effects Dialplan Functions 0 Not Running extended
func_presencestate.so Gets or sets a presence state in the dia 0 Running core
func_rand.so Random number dialplan function 0 Not Running core
func_realtime.so Read/Write/Store/Destroy values from a R 0 Not Running core
func_sha1.so SHA-1 computation dialplan function 0 Not Running core
func_shell.so Collects the output generated by a comma 0 Not Running core
func_sorcery.so Get a field from a sorcery object 0 Not Running core
func_speex.so Noise reduction and Automatic Gain Contr 0 Not Running core
func_sprintf.so SPRINTF dialplan function 0 Not Running core
func_srv.so SRV related dialplan functions 0 Not Running core
func_strings.so String handling dialplan functions 0 Not Running core
func_sysinfo.so System information related functions 0 Not Running core
func_talkdetect.so Talk detection dialplan function 0 Not Running core
func_timeout.so Channel timeout dialplan functions 0 Not Running core
func_uri.so URI encode/decode dialplan functions 0 Not Running core
func_version.so Get Asterisk Version/Build Info 0 Not Running core
func_vmcount.so Indicator for whether a voice mailbox ha 0 Not Running core
func_volume.so Technology independent volume control 0 Not Running core
pbx_ael.so Asterisk Extension Language Compiler 0 Not Running extended
pbx_config.so Text Extension Configuration 0 Not Running core
pbx_dundi.so Distributed Universal Number Discovery ( 0 Not Running extended
pbx_loopback.so Loopback Switch 0 Not Running core
pbx_lua.so Lua PBX Switch 0 Running extended
pbx_realtime.so Realtime Switch 0 Not Running extended
pbx_spool.so Outgoing Spool Support 0 Not Running core
res_adsi.so ADSI Resource 0 Running core
res_ael_share.so share-able code for AEL 0 Running extended
res_agi.so Asterisk Gateway Interface (AGI) 1 Running core
res_ari.so Asterisk RESTful Interface 0 Running core
res_ari_applications.so RESTful API module - Stasis application 0 Not Running core
res_ari_asterisk.so RESTful API module - Asterisk resources 0 Not Running core
res_ari_bridges.so RESTful API module - Bridge resources 0 Not Running core
res_ari_channels.so RESTful API module - Channel resources 0 Not Running core
res_ari_device_states.so RESTful API module - Device state resour 0 Not Running core
res_ari_endpoints.so RESTful API module - Endpoint resources 0 Not Running core
res_ari_events.so RESTful API module - WebSocket resource 0 Not Running core
res_ari_model.so ARI Model validators 0 Running core
res_ari_playbacks.so RESTful API module - Playback control re 0 Not Running core
res_ari_recordings.so RESTful API module - Recording resources 0 Not Running core
res_ari_sounds.so RESTful API module - Sound resources 0 Not Running core
res_calendar.so Asterisk Calendar integration 4 Running core
res_calendar_caldav.so Asterisk CalDAV Calendar Integration 0 Running core
res_calendar_ews.so Asterisk MS Exchange Web Service Calenda 0 Running core
res_calendar_exchange.so Asterisk MS Exchange Calendar Integratio 0 Running core
res_calendar_icalendar.so Asterisk iCalendar .ics file integration 0 Running core
res_clialiases.so CLI Aliases 0 Not Running core
res_clioriginate.so Call origination and redirection from th 0 Not Running core
res_config_curl.so Realtime Curl configuration 0 Running core
res_config_ldap.so LDAP realtime interface 0 Running extended
res_config_odbc.so Realtime ODBC configuration 0 Running core
res_config_pgsql.so PostgreSQL RealTime Configuration Driver 0 Running extended
res_config_sqlite.so Realtime SQLite configuration 0 Running extended
res_config_sqlite3.so SQLite 3 realtime config engine 0 Running core
res_convert.so File format conversion CLI command 0 Not Running core
res_crypto.so Cryptographic Digital Signatures 1 Running core
res_curl.so cURL Resource Module 0 Running core
res_fax.so Generic FAX Applications 0 Running core
res_fax_spandsp.so Spandsp G.711 and T.38 FAX Technologies 0 Not Running extended
res_format_attr_celt.so CELT Format Attribute Module 1 Running core
res_format_attr_h263.so H.263 Format Attribute Module 0 Not Running core
res_format_attr_h264.so H.264 Format Attribute Module 0 Not Running core
res_format_attr_opus.so Opus Format Attribute Module 1 Running core
res_format_attr_silk.so SILK Format Attribute Module 1 Running core
res_format_attr_siren14.so Siren14 Format Attribute Module 1 Running core
res_format_attr_siren7.so Siren7 Format Attribute Module 1 Running core
res_format_attr_vp8.so VP8 Format Attribute Module 1 Running core
res_hep.so HEPv3 API 0 Running extended
res_hep_rtcp.so RTCP HEPv3 Logger 0 Not Running unknown
res_http_websocket.so HTTP WebSocket Support 1 Running extended
res_limit.so Resource limits 0 Not Running core
res_manager_devicestate.so Manager Device State Topic Forwarder 0 Not Running core
res_manager_presencestate.so Manager Presence State Topic Forwarder 0 Not Running core
res_monitor.so Call Monitoring Resource 0 Running core
res_musiconhold.so Music On Hold Resource 0 Running core
res_mutestream.so Mute audio stream resources 0 Not Running core
res_odbc.so ODBC resource 0 Running core
res_odbc_transaction.so ODBC transaction resource 0 Running core
res_parking.so Call Parking Resource 0 Running core
res_phoneprov.so HTTP Phone Provisioning 0 Running extended
res_realtime.so Realtime Data Lookup/Rewrite 0 Not Running core
res_rtp_asterisk.so Asterisk RTP Stack 0 Running core
res_rtp_multicast.so Multicast RTP Engine 0 Running core
res_security_log.so Security Event Logging 0 Not Running core
res_smdi.so Simplified Message Desk Interface (SMDI) 0 Running core
res_snmp.so SNMP [Sub]Agent for Asterisk 0 Not Running extended
res_sorcery_astdb.so Sorcery Astdb Object Wizard 0 Running core
res_sorcery_config.so Sorcery Configuration File Object Wizard 0 Running core
res_sorcery_memory.so Sorcery In-Memory Object Wizard 0 Running core
res_sorcery_memory_cache.so Sorcery Memory Cache Object Wizard 0 Running core
res_sorcery_realtime.so Sorcery Realtime Object Wizard 0 Running core
res_speech.so Generic Speech Recognition API 0 Running core
res_srtp.so Secure RTP (SRTP) 0 Running core
res_stasis.so Stasis application support 1 Running core
res_stasis_answer.so Stasis application answer support 0 Running core
res_stasis_device_state.so Stasis application device state support 0 Running core
res_stasis_playback.so Stasis application playback support 0 Running core
res_stasis_recording.so Stasis application recording support 0 Running core
res_stasis_snoop.so Stasis application snoop support 0 Running core
res_statsd.so Statsd client support 0 Running extended
res_stun_monitor.so STUN Network Monitor 0 Running core
res_timing_pthread.so pthread Timing Interface 0 Running extended
res_timing_timerfd.so Timerfd Timing Interface 1 Running core
res_xmpp.so Asterisk XMPP Interface 0 Running core
263 modules loaded
In my case it was a stray letter at the beginning of extensions.conf Took me a few hours to figure that out.
Using pico to edit the file, CTL W is the search feature. Guess I didn’t hold down CTL and a W as added as the first letter of the file. Remove it, and all is well.