Skip to content

Instantly share code, notes, and snippets.

@sja
Created June 15, 2014 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sja/ba184e3ae1e601bb499a to your computer and use it in GitHub Desktop.
Save sja/ba184e3ae1e601bb499a to your computer and use it in GitHub Desktop.
OS X Asterisk startup problem
sudo ./sbin/asterisk -fvc
Password:
Asterisk 12.2.0, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
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.
=========================================================================
Running as user 'asterisk'
Running under group 'asterisk'
[ Initializing Custom Configuration Options ]
Asterisk Dynamic Loader Starting:
Bound HTTP server to address 0.0.0.0:0
[Jun 15 11:03:46] NOTICE[1287]: cdr.c:4147 cdr_toggle_runtime_options: CDR simple logging enabled.
Asterisk PBX Core Initializing
Registering builtin applications:
[Answer]
[BackGround]
[Busy]
[Congestion]
[ExecIfTime]
[Goto]
[GotoIf]
[GotoIfTime]
[ImportVar]
[Hangup]
[Incomplete]
[NoOp]
[Proceeding]
[Progress]
[RaiseException]
[Ringing]
[SayAlpha]
[SayAlphaCase]
[SayDigits]
[SayNumber]
[SayPhonetic]
[Set]
[MSet]
[SetAMAFlags]
[Wait]
[WaitExten]
Asterisk Dynamic Loader Starting:
[Jun 15 11:03:46] NOTICE[1287]: loader.c:1323 load_modules: 229 modules will be loaded.
Loading res_sorcery_astdb.so.
res_sorcery_astdb.so => (Sorcery Astdb Object Wizard)
Loading res_sorcery_config.so.
res_sorcery_config.so => (Sorcery Configuration File Object Wizard)
Loading res_sorcery_memory.so.
res_sorcery_memory.so => (Sorcery In-Memory Object Wizard)
Loading res_sorcery_realtime.so.
res_sorcery_realtime.so => (Sorcery Realtime Object Wizard)
Loading res_pjsip_log_forwarder.so.
res_pjsip_log_forwarder.so => (PJSIP Log Forwarder)
Loading res_pjsip.so.
res_pjsip.so => (Basic SIP resource)
Loading res_crypto.so.
res_crypto.so => (Cryptographic Digital Signatures)
Loading res_http_websocket.so.
res_http_websocket.so => (HTTP WebSocket Support)
Loading res_srtp.so.
res_srtp.so => (Secure RTP (SRTP))
Loading res_pjsip_pubsub.so.
res_pjsip_pubsub.so => (PJSIP event resource)
Loading res_pjsip_session.so.
res_pjsip_session.so => (PJSIP Session resource)
Loading res_ari.so.
res_ari.so => (Asterisk RESTful Interface)
Loading res_stasis_recording.so.
res_stasis_recording.so => (Stasis application recording support)
Loading res_ari_model.so.
res_ari_model.so => (ARI Model validators)
Loading res_stasis_snoop.so.
res_stasis_snoop.so => (Stasis application snoop support)
Loading res_stasis_playback.so.
res_stasis_playback.so => (Stasis application playback support)
Loading res_stasis.so.
res_stasis.so => (Stasis application support)
Loading res_stasis_answer.so.
res_stasis_answer.so => (Stasis application answer support)
Loading res_stasis_device_state.so.
res_stasis_device_state.so => (Stasis application device state support)
[Jun 15 11:03:47] WARNING[1287]: loader.c:565 load_dynamic_module: Error loading module 'app_speech_utils.so': dlopen(/usr/local/Cellar/asterisk/12.2.0/lib/asterisk/modules/app_speech_utils.so, 6): Symbol not found: _ast_speech_change
Referenced from: /usr/local/Cellar/asterisk/12.2.0/lib/asterisk/modules/app_speech_utils.so
Expected in: flat namespace
in /usr/local/Cellar/asterisk/12.2.0/lib/asterisk/modules/app_speech_utils.so
[Jun 15 11:03:47] WARNING[1287]: loader.c:1032 load_resource: Module 'app_speech_utils.so' could not be loaded.
[Jun 15 11:03:47] WARNING[1287]: loader.c:565 load_dynamic_module: Error loading module 'res_ari_mailboxes.so': dlopen(/usr/local/Cellar/asterisk/12.2.0/lib/asterisk/modules/res_ari_mailboxes.so, 6): Symbol not found: _stasis_app_mailbox_delete
Referenced from: /usr/local/Cellar/asterisk/12.2.0/lib/asterisk/modules/res_ari_mailboxes.so
Expected in: flat namespace
in /usr/local/Cellar/asterisk/12.2.0/lib/asterisk/modules/res_ari_mailboxes.so
[Jun 15 11:03:47] WARNING[1287]: loader.c:1032 load_resource: Module 'res_ari_mailboxes.so' could not be loaded.
Loading func_curl.so.
Loading res_curl.so.
res_curl.so => (cURL Resource Module)
func_curl.so => (Load external URL)
Loading res_timing_pthread.so.
res_timing_pthread.so => (pthread Timing Interface)
Loading res_format_attr_celt.so.
res_format_attr_celt.so => (CELT Format Attribute Module)
Loading res_format_attr_opus.so.
res_format_attr_opus.so => (Opus Format Attribute Module)
Loading res_format_attr_silk.so.
res_format_attr_silk.so => (SILK Format Attribute Module)
Loading res_pjsip_authenticator_digest.so.
res_pjsip_authenticator_digest.so => (PJSIP authentication resource)
Loading res_pjsip_exten_state.so.
res_pjsip_exten_state.so => (PJSIP Extension State Notifications)
Loading res_pjsip_mwi.so.
res_pjsip_mwi.so => (PJSIP MWI resource)
Loading res_pjsip_mwi_body_generator.so.
res_pjsip_mwi_body_generator.so => (PJSIP MWI resource)
Loading res_pjsip_outbound_authenticator_digest.so.
res_pjsip_outbound_authenticator_digest.so => (PJSIP authentication resource)
Loading res_pjsip_pidf_body_generator.so.
res_pjsip_pidf_body_generator.so => (PJSIP Extension State PIDF Provider)
Loading res_pjsip_pidf_eyebeam_body_supplement.so.
res_pjsip_pidf_eyebeam_body_supplement.so => (PJSIP PIDF Eyebeam supplement)
Loading res_pjsip_xpidf_body_generator.so.
res_pjsip_xpidf_body_generator.so => (PJSIP Extension State PIDF Provider)
Loading res_rtp_asterisk.so.
res_rtp_asterisk.so => (Asterisk RTP Stack)
Loading res_rtp_multicast.so.
res_rtp_multicast.so => (Multicast RTP Engine)
Loading res_timing_kqueue.so.
res_timing_kqueue.so => (KQueue Timing Interface)
Loading res_pjsip_pidf_digium_body_supplement.so.
res_pjsip_pidf_digium_body_supplement.so => (PJSIP PIDF Digium presence supplement)
Loading chan_sip.so.
SIP channel loading...
[Jun 15 11:03:47] WARNING[1287]: netsock2.c:544 ast_set_qos: Unable to set SIP DSCP TOS value to 0 (may be you have no root privileges): Invalid argument
chan_sip.so => (Session Initiation Protocol (SIP))
Loading chan_pjsip.so.
chan_pjsip.so => (PJSIP Channel Driver)
Loading res_pjsip_sdp_rtp.so.
res_pjsip_sdp_rtp.so => (PJSIP SDP RTP/AVP stream handler)
Loading res_pjsip_t38.so.
res_pjsip_t38.so => (PJSIP T.38 UDPTL Support)
Loading app_stack.so.
[Jun 15 11:03:48] WARNING[20739]: chan_sip.c:3990 __sip_xmit: sip_xmit of 0x101662360 (len 516) to 217.10.79.9:5060 returned -1: Invalid argument
app_stack.so => (Dialplan subroutines (Gosub, Return, etc))
Loading res_pjsip_notify.so.
res_pjsip_notify.so => (CLI/AMI PJSIP NOTIFY Support)
Loading res_adsi.so.
res_adsi.so => (ADSI Resource)
Loading res_pjsip_send_to_voicemail.so.
res_pjsip_send_to_voicemail.so => (PJSIP REFER Send to Voicemail Support)
Loading format_g719.so.
format_g719.so => (ITU G.719)
Loading res_pjsip_multihomed.so.
res_pjsip_multihomed.so => (PJSIP Multihomed Routing Support)
Loading res_pjsip_messaging.so.
res_pjsip_messaging.so => (PJSIP Messaging Support)
Loading res_pjsip_logger.so.
res_pjsip_logger.so => (PJSIP Packet Logger)
Loading format_g723.so.
format_g723.so => (G.723.1 Simple Timestamp File Format)
Loading res_pjsip_acl.so.
res_pjsip_acl.so => (PJSIP ACL Resource)
Loading res_pjsip_caller_id.so.
res_pjsip_caller_id.so => (PJSIP Caller ID Support)
Loading res_pjsip_diversion.so.
res_pjsip_diversion.so => (PJSIP Add Diversion Header Support)
Loading res_pjsip_dtmf_info.so.
res_pjsip_dtmf_info.so => (PJSIP DTMF INFO Support)
Loading format_g726.so.
format_g726.so => (Raw G.726 (16/24/32/40kbps) data)
Loading format_g729.so.
format_g729.so => (Raw G.729 data)
Loading res_pjsip_endpoint_identifier_ip.so.
res_pjsip_endpoint_identifier_ip.so => (PJSIP IP endpoint identifier)
Loading res_pjsip_endpoint_identifier_user.so.
res_pjsip_endpoint_identifier_user.so => (PJSIP username endpoint identifier)
Loading format_gsm.so.
format_gsm.so => (Raw GSM data)
Loading res_pjsip_header_funcs.so.
res_pjsip_header_funcs.so => (PJSIP Header Functions)
Loading format_h263.so.
format_h263.so => (Raw H.263 data)
Loading res_pjsip_transport_websocket.so.
Loading format_h264.so.
format_h264.so => (Raw H.264 data)
Loading format_ilbc.so.
format_ilbc.so => (Raw iLBC data)
Loading res_pjsip_nat.so.
res_pjsip_nat.so => (PJSIP NAT Support)
Loading format_jpeg.so.
format_jpeg.so => (jpeg (joint picture experts group) image format)
Loading res_pjsip_one_touch_record_info.so.
res_pjsip_one_touch_record_info.so => (PJSIP INFO One Touch Recording Support)
Loading format_pcm.so.
format_pcm.so => (Raw/Sun uLaw/ALaw 8KHz (PCM,PCMA,AU), G.722 16Khz)
Loading res_pjsip_outbound_registration.so.
res_pjsip_outbound_registration.so => (PJSIP Outbound Registration Support)
Loading res_pjsip_path.so.
res_pjsip_path.so => (PJSIP Path Header Support)
Loading format_siren14.so.
format_siren14.so => (ITU G.722.1 Annex C (Siren14, licensed from Polycom))
Loading format_vox.so.
format_vox.so => (Dialogic VOX (ADPCM) File Format)
Loading format_sln.so.
format_sln.so => (Raw Signed Linear Audio support (SLN) 8khz-192khz)
Loading res_pjsip_registrar_expire.so.
res_pjsip_registrar_expire.so => (PJSIP Contact Auto-Expiration)
Loading res_pjsip_registrar.so.
res_pjsip_registrar.so => (PJSIP Registrar Support)
Loading format_wav_gsm.so.
format_wav_gsm.so => (Microsoft WAV format (Proprietary GSM))
Loading format_wav.so.
format_wav.so => (Microsoft WAV/WAV16 format (8kHz/16kHz Signed Linear))
Loading res_pjsip_rfc3326.so.
Assertion failed: (mod_evsub.mod.id != -1), function pjsip_evsub_register_pkg, file ../src/pjsip-simple/evsub.c, line 415.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment