No such command 'pjsip show endopoints'

Hi all,
I’ve just installed Asterisk 16.10.0 following steps reported in the book
“Asterisk: the definitive guide”. No errors found so far.

I can access by means of the command

[astmin@XXXXXXX ~]$ sudo asterisk -rvvvv
[sudo] password for astmin:
Asterisk 16.10.0, Copyright © 1999 - 2018, Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for detail s.

And all seems to be ok.
But once typed command

*CLI> pjsip show endopoints
I obtain the following message:

No such command ‘pjsip show endopoints’ (type ‘core show help pjsip show’ for other possible commands)

what could be the problem?
Thanks to all.

It should be “pjsip show endpoints” not endopints. Familiarise youself with all comands using "core show help " in cli

Thanks a lot.
Sorry it was a typo.
also correct command gives same results.

*CLI> pjsip show endpoints
No such command ’ pjsip show endpoints’ (type ‘core show help pjsip show’ for other possible commands)

Check to see if pjsip module is loaded. It maybe because it is not loaded

Thanks for the reply.
I think that I should use the following command (sorry if I wrong)

*CLI> module show

Module Description Use Count Status Support Level
acl Named ACL system 2 Running core
app_adsiprog.so Asterisk ADSI Programming Application 0 Running deprecated
app_agent_pool.so Call center agent pool applications 0 Not 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_attended_transfer.so Attended transfer to the given extension 0 Running core
app_authenticate.so Authentication Application 0 Running core
app_blind_transfer.so Blind transfer channel to the given dest 0 Running core
app_bridgeaddchan.so Bridge Add Channel Application 0 Running core
app_bridgewait.so Place the channel into a holding bridge 0 Running core
app_cdr.so Tell Asterisk to not maintain a CDR for 0 Running core
app_celgenuserevent.so Generate an User-Defined CEL event 0 Running core
app_chanisavail.so Check channel availability 0 Running extended
app_channelredirect.so Redirects a given channel to a dialplan 0 Running core
app_chanspy.so Listen to the audio of an active channel 0 Running core
app_confbridge.so Conference Bridge Application 0 Not Running core
app_controlplayback.so Control Playback Application 0 Running core
app_db.so Database Access Functions 0 Running core
app_dial.so Dialing Application 0 Running core
app_dictate.so Virtual Dictation Machine 0 Running extended
app_directed_pickup.so Directed Call Pickup Application 0 Running core
app_directory.so Extension Directory 0 Running core
app_disa.so DISA (Direct Inward System Access) Appli 0 Running core
app_dumpchan.so Dump Info About The Calling Channel 0 Running core
app_echo.so Simple Echo Application 0 Running core
app_exec.so Executes dialplan applications 0 Running core
app_externalivr.so External IVR Interface Application 0 Running extended
app_festival.so Simple Festival Interface 0 Not 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 Running core
app_getcpeid.so Get ADSI CPE ID 0 Running deprecated
app_ices.so Encode and Stream via icecast and ices 0 Running deprecated
app_image.so Image Transmission Application 0 Running deprecated
app_milliwatt.so Digital Milliwatt (mu-law) Test Applicat 0 Running core
app_minivm.so Mini VoiceMail (A minimal Voicemail e-ma 0 Running extended
app_mixmonitor.so Mixed Audio Monitoring Application 0 Running core
app_morsecode.so Morse code 0 Running extended
app_mp3.so Silly MP3 Application 0 Running extended
app_nbscat.so Silly NBS Stream Application 0 Running deprecated
app_originate.so Originate call 0 Running core
app_page.so Page Multiple Phones 0 Not Running core
app_playback.so Sound File Playback Application 0 Running core
app_playtones.so Playtones Application 0 Running core
app_privacy.so Require phone number to be entered, if n 0 Running core
app_queue.so True Call Queueing 0 Not Running core
app_read.so Read Variable Application 0 Running core
app_readexten.so Read and evaluate extension validity 0 Running core
app_record.so Trivial Record Application 0 Running core
app_sayunixtime.so Say time 0 Running core
app_senddtmf.so Send DTMF digits Application 0 Running core
app_sendtext.so Send Text Applications 0 Running core
app_sms.so SMS/PSTN handler 0 Running extended
app_softhangup.so Hangs up the requested channel 0 Running core
app_speech_utils.so Dialplan Speech Applications 0 Running core
app_stack.so Dialplan subroutines (Gosub, Return, etc 0 Running core
app_stasis.so Stasis dialplan application 0 Running core
app_stream_echo.so Stream Echo Application 0 Running core
app_system.so Generic System() application 0 Running core
app_talkdetect.so Playback with Talk Detection 0 Running extended
app_test.so Interface Test Application 0 Running extended
app_transfer.so Transfers a caller to another extension 0 Running core
app_url.so Send URL Applications 0 Running deprecated
app_userevent.so Custom User Event Application 0 Running core
app_verbose.so Send verbose output 0 Running core
app_voicemail.so Comedian Mail (Voicemail System) 0 Running core
app_waitforring.so Waits until first ring after time 0 Running extended
app_waitforsilence.so Wait For Silence/Noise 0 Running extended
app_waituntil.so Wait until specified time 0 Running core
app_while.so While Loops and Conditional Execution 0 Running core
app_zapateller.so Block Telemarketers with Special Informa 0 Running extended
bridge_builtin_features.so Built in bridging features 1 Running core
bridge_builtin_interval_features.so Built in bridging interval features 0 Running core
bridge_holding.so Holding bridge module 0 Running core
bridge_native_rtp.so Native RTP bridging module 0 Running core
bridge_simple.so Simple two channel bridging module 0 Running core
bridge_softmix.so Multi-party software based channel mixin 0 Running core
ccss Call Completion Supplementary Services 3 Running core
cdr CDR Engine 12 Running core
cdr_adaptive_odbc.so Adaptive ODBC CDR backend 0 Running core
cdr_csv.so Comma Separated Values CDR Backend 0 Not Running extended
cdr_custom.so Customizable Comma Separated Values CDR 0 Running core
cdr_manager.so Asterisk Manager Interface CDR Backend 0 Not Running core
cdr_odbc.so ODBC CDR Backend 0 Not Running extended
cdr_pgsql.so PostgreSQL CDR Backend 0 Not Running extended
cdr_radius.so RADIUS CDR Backend 0 Not Running extended
cdr_sqlite3_custom.so SQLite3 Custom CDR Module 0 Not Running extended
cdr_tds.so FreeTDS CDR Backend 0 Not Running extended
cel CEL Engine 9 Running core
cel_custom.so Customizable Comma Separated Values CEL 0 Running core
cel_manager.so Asterisk Manager Interface CEL Backend 0 Not Running core
cel_odbc.so ODBC CEL backend 0 Running core
cel_pgsql.so PostgreSQL CEL Backend 0 Not Running extended
cel_radius.so RADIUS CEL Backend 0 Not 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_alsa.so ALSA Console Channel Driver 0 Not Running extended
chan_bridge_media.so Bridge Media Channel Driver 0 Running core
chan_console.so Console Channel Driver 0 Not Running extended
chan_iax2.so Inter Asterisk eXchange (Ver 2) 0 Not Running core
chan_mgcp.so Media Gateway Control Protocol (MGCP) 0 Running extended
chan_oss.so OSS Console Channel Driver 0 Not Running deprecated
chan_phone.so Linux Telephony API Support 0 Not Running deprecated
chan_pjsip.so PJSIP Channel Driver 0 Not Running core
chan_rtp.so RTP Media Channel 0 Running core
chan_skinny.so Skinny Client Control Protocol (Skinny) 0 Not Running extended
chan_unistim.so UNISTIM Protocol (USTM) 0 Not Running extended
codec_a_mu.so A-law and Mulaw direct Coder/Decoder 0 Running core
codec_adpcm.so Adaptive Differential PCM Coder/Decoder 0 Running core
codec_alaw.so A-law Coder/Decoder 0 Running core
codec_codec2.so Codec 2 Coder/Decoder 0 Running core
codec_g722.so ITU G.722-64kbps G722 Transcoder 0 Running core
codec_g726.so ITU G.726-32kbps G726 Transcoder 0 Running core
codec_g729a.so Digium G.729 Annex A Codec (optimized fo 0 Running extended
codec_gsm.so GSM Coder/Decoder 0 Running core
codec_ilbc.so iLBC Coder/Decoder 0 Running core
codec_lpc10.so LPC10 2.4kbps Coder/Decoder 0 Running core
codec_opus.so OPUS Coder/Decoder 0 Running extended
codec_resample.so SLIN Resampling Codec 0 Running core
codec_silk.so Silk Transcoder 0 Running extended
codec_siren14.so ITU G.722.1 Annex C (Siren14, licensed f 0 Running extended
codec_siren7.so ITU G.722.1 (Siren7, licensed from Polyc 0 Running extended
codec_speex.so Speex Coder/Decoder 1 Running core
codec_ulaw.so mu-Law Coder/Decoder 0 Running core
dnsmgr DNS Manager 3 Running core
dsp DSP 1 Running core
enum ENUM Support 2 Running core
extconfig Configuration 18 Running core

func_curl.so Load external URL 1 Running core
func_cut.so Cut out information from a string 0 Running core
func_db.so Database (astdb) related dialplan functi 0 Running core
func_devstate.so Gets or sets a device state in the dialp 0 Running core
func_dialgroup.so Dialgroup dialplan function 0 Running core
func_dialplan.so Dialplan Context/Extension/Priority Chec 0 Running core
func_enum.so ENUM related dialplan functions 0 Running core
func_env.so Environment/filesystem dialplan function 0 Running core
func_extstate.so Gets an extension’s state in the dialpla 0 Running core
func_frame_trace.so Frame Trace for internal ast_frame debug 0 Running extended
func_global.so Variable dialplan functions 0 Running core
func_groupcount.so Channel group dialplan functions 0 Running core
func_hangupcause.so HANGUPCAUSE related functions and applic 0 Running core
func_holdintercept.so Hold interception dialplan function 0 Running core
func_iconv.so Charset conversions 0 Running core
func_jitterbuffer.so Jitter buffer for read side of channel. 1 Running core
func_lock.so Dialplan mutexes 0 Running core
func_logic.so Logical dialplan functions 0 Running core
func_math.so Mathematical dialplan function 0 Running core
func_md5.so MD5 digest dialplan functions 0 Running core
func_module.so Checks if Asterisk module is loaded in m 0 Running core
func_odbc.so ODBC lookups 0 Not Running core
func_periodic_hook.so Periodic dialplan hooks. 2 Running core
func_pitchshift.so Audio Effects Dialplan Functions 0 Running extended
func_pjsip_aor.so Get information about a PJSIP AOR 0 Not Running core
func_pjsip_contact.so Get information about a PJSIP contact 0 Not Running core
func_pjsip_endpoint.so Get information about a PJSIP endpoint 0 Not Running core
func_presencestate.so Gets or sets a presence state in the dia 0 Running core
func_rand.so Random number dialplan function 0 Running core
func_realtime.so Read/Write/Store/Destroy values from a R 0 Running core
func_sha1.so SHA-1 computation dialplan function 0 Running core
func_shell.so Collects the output generated by a comma 0 Running core
func_sorcery.so Get a field from a sorcery object 0 Running core
func_speex.so Noise reduction and Automatic Gain Contr 0 Running core
func_sprintf.so SPRINTF dialplan function 0 Running core
func_srv.so SRV related dialplan functions 0 Running core
func_strings.so String handling dialplan functions 0 Running core
func_sysinfo.so System information related functions 0 Running core
func_talkdetect.so Talk detection dialplan function 0 Running core
func_timeout.so Channel timeout dialplan functions 0 Running core
func_uri.so URI encode/decode dialplan functions 0 Running core
func_version.so Get Asterisk Version/Build Info 0 Running core
func_vmcount.so Indicator for whether a voice mailbox ha 0 Running core
func_volume.so Technology independent volume control 0 Running core
http Built-in HTTP Server 6 Running core
indications Indication Tone Handling 1 Running core
logger Logger 1 Running core
manager Asterisk Manager Interface 1 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 Running core
pbx_lua.so Lua PBX Switch 0 Not Running extended
pbx_realtime.so Realtime Switch 0 Running extended
pbx_spool.so Outgoing Spool Support 0 Running core
plc PLC 1 Running core

res_musiconhold.so Music On Hold Resource 0 Running core
res_mutestream.so Mute audio stream resources 0 Running core
res_mwi_devstate.so MWI Device State Subscriptions 0 Running core
res_odbc.so ODBC resource 5 Running core
res_odbc_transaction.so ODBC transaction resource 0 Running core
res_parking.so Call Parking Resource 0 Not Running core
res_phoneprov.so HTTP Phone Provisioning 0 Not Running extended
res_pjproject.so PJPROJECT Log and Utility Support 4 Running core
res_pjsip.so Basic SIP resource 0 Not Running core
res_pjsip_acl.so PJSIP ACL Resource 0 Not Running core
res_pjsip_authenticator_digest.so PJSIP authentication resource 0 Not Running core
res_pjsip_caller_id.so PJSIP Caller ID Support 0 Not Running core
res_pjsip_config_wizard.so PJSIP Config Wizard -1 Running core
res_pjsip_dialog_info_body_generator.so PJSIP Extension State Dialog Info+XML Pr 0 Not Running core
res_pjsip_diversion.so PJSIP Add Diversion Header Support 0 Not Running core
res_pjsip_dlg_options.so SIP OPTIONS in dialog handler 0 Not Running core
res_pjsip_dtmf_info.so PJSIP DTMF INFO Support 0 Not Running core
res_pjsip_empty_info.so PJSIP Empty INFO Support 0 Not Running core
res_pjsip_endpoint_identifier_anonymous.so PJSIP Anonymous endpoint identifier 0 Not Running core
res_pjsip_endpoint_identifier_ip.so PJSIP IP endpoint identifier 0 Not Running core
res_pjsip_endpoint_identifier_user.so PJSIP username endpoint identifier 0 Not Running core
res_pjsip_exten_state.so PJSIP Extension State Notifications 0 Not Running core
res_pjsip_header_funcs.so PJSIP Header Functions 0 Not Running core
res_pjsip_history.so PJSIP History 0 Not Running extended
res_pjsip_logger.so PJSIP Packet Logger 0 Not Running core
res_pjsip_messaging.so PJSIP Messaging Support 0 Not Running core
res_pjsip_mwi.so PJSIP MWI resource 0 Not Running core
res_pjsip_mwi_body_generator.so PJSIP MWI resource 0 Not Running core
res_pjsip_nat.so PJSIP NAT Support 0 Not Running core
res_pjsip_notify.so CLI/AMI PJSIP NOTIFY Support 0 Not Running core
res_pjsip_one_touch_record_info.so PJSIP INFO One Touch Recording Support 0 Not Running core
res_pjsip_outbound_authenticator_digest.so PJSIP authentication resource 0 Not Running core
res_pjsip_outbound_publish.so PJSIP Outbound Publish Support 0 Not Running core
res_pjsip_outbound_registration.so PJSIP Outbound Registration Support 0 Not Running core
res_pjsip_path.so PJSIP Path Header Support 0 Not Running core
res_pjsip_phoneprov_provider.so PJSIP Phoneprov Provider 0 Not Running extended
res_pjsip_pidf_body_generator.so PJSIP Extension State PIDF Provider 0 Not Running core
res_pjsip_pidf_digium_body_supplement.so PJSIP PIDF Digium presence supplement 0 Not Running core
res_pjsip_pidf_eyebeam_body_supplement.so PJSIP PIDF Eyebeam supplement 0 Not Running core
res_pjsip_publish_asterisk.so PJSIP Asterisk Event PUBLISH Support 0 Not Running core
res_pjsip_pubsub.so PJSIP event resource 0 Not Running core
res_pjsip_refer.so PJSIP Blind and Attended Transfer Suppor 0 Not Running core
res_pjsip_registrar.so PJSIP Registrar Support 0 Not Running core
res_pjsip_rfc3326.so PJSIP RFC3326 Support 0 Not Running core
res_pjsip_sdp_rtp.so PJSIP SDP RTP/AVP stream handler 0 Not Running core
res_pjsip_send_to_voicemail.so PJSIP REFER Send to Voicemail Support 0 Not Running core
res_pjsip_session.so PJSIP Session resource 0 Not Running core
res_pjsip_sips_contact.so UAC SIPS Contact support 0 Not Running core
res_pjsip_t38.so PJSIP T.38 UDPTL Support 0 Not Running core
res_pjsip_transport_websocket.so PJSIP WebSocket Transport Support 0 Not Running core
res_pjsip_xpidf_body_generator.so PJSIP Extension State PIDF Provider 0 Not Running core
res_realtime.so Realtime Data Lookup/Rewrite 0 Running core
res_resolver_unbound.so Unbound DNS Resolver Support 1 Running core
res_rtp_asterisk.so Asterisk RTP Stack 0 Running core
res_rtp_multicast.so Multicast RTP Engine 1 Running core
res_security_log.so Security Event Logging 0 Running core
res_smdi.so Simplified Message Desk Interface (SMDI) 1 Running extended
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 2 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 2 Running core
res_srtp.so Secure RTP (SRTP) 0 Running core
res_stasis.so Stasis application support 17 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 4 Running core
res_stasis_snoop.so Stasis application snoop support 0 Running core
res_statsd.so StatsD client support 2 Running extended
res_stun_monitor.so STUN Network Monitor 0 Not Running core
res_timing_pthread.so pthread Timing Interface 0 Running extended
res_timing_timerfd.so Timerfd Timing Interface 0 Running core
sounds Sounds Index 1 Running core
udptl UDPTL 2 Running core
338 modules loaded

The ones referrinf pjsip seem to be not running. How can I do? which of them should be running or is there something missing?
Thanks a lot and sorry for stupid question.

run " module load chan_pjsip.so " in cli to load chan_pjsip

Thanks, it seems that something is wrong…
output of
CLI > module load chan_pjsip.so

is:

*CLI> module load chan_pjsip.so
Unable to load module chan_pjsip.so
Command ‘module load chan_pjsip.so’ failed.
[May 17 08:51:16] ERROR[1390]: loader.c:281 module_load_error: chan_pjsip loaded before dependency res_pjsip!
[May 17 08:51:16] ERROR[1390]: loader.c:281 module_load_error: chan_pjsip loaded before dependency res_pjsip_pubsub!
[May 17 08:51:16] ERROR[1390]: loader.c:281 module_load_error: chan_pjsip loaded before dependency res_pjsip_session!

Then I’ve tried to load chan_pjsip, but without success…

*CLI> module load res_pjsip.so
Unable to load module res_pjsip.so
Command ‘module load res_pjsip.so’ failed.
[May 17 08:51:25] WARNING[1390]: sorcery.c:920 __ast_sorcery_object_type_insert_wizard: Wizard ‘realtime’ failed to open mapping for object type ‘domain_alias’ with data: ps_domain_aliases
[May 17 08:51:25] ERROR[1390]: sorcery.c:647 __ast_sorcery_open: Error attempting to apply configuration res_pjsip to sorcery.
[May 17 08:51:25] ERROR[1390]: res_pjsip/config_system.c:178 ast_sip_initialize_system: Failed to open SIP system sorcery
[May 17 08:51:25] ERROR[1390]: res_pjsip.c:5230 load_module: Failed to initialize SIP ‘system’ configuration section. Aborting load

try to restart your asterisk and also read this Pjsip error with asterisk14.3.1

Logs is telling you you re trying to load pjsip before some dependencies, also it is pointing to a reatime misconfiguration

Thanks all, I’ve solved.
I had an error in extconfig.conf.
I’ve missed a line.
Thanks again @ambiorixg12 , @Taurai