pjsip show endpoints
pjsip show endpoints is the broadest PJSIP status command. It lists each endpointIn PJSIP configuration, the SIP entity Asterisk communicates with: a phone, trunk, or other user agent. Defined by an endpoint section in pjsip.conf. and shows the related auth, AoR, contact, transport, identify match, and active channelA single call leg passing through Asterisk. Channels represent connections to endpoints and are what dialplan applications act on. rows when those objects are present.
Use it first when a PJSIP endpoint is not registering, cannot authenticate, routes calls to the wrong peer, or appears to be missing after a reload. If an expected endpoint is absent, check pjsip.conf, realtime storage, sorcery.conf, and startup logs for load errors.
Endpoint state is a reachability and usage summary. Contact status comes from the endpoint's associated AoRs and contacts, so pjsip show contacts and pjsip show aors are the next commands to run when the endpoint row exists but registration or qualify state looks wrong.
Examples:
asterisk -rx "pjsip show endpoints"
asterisk -rx "pjsip show endpoint 1001"
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.