pjsip show registration <registration>
pjsip show registration <registration> shows one outbound registration by name. It includes the same status line shown by pjsip show registrations, followed by the configured registration fields such as client_uri, server_uri, outbound_auth, retry intervals, expiration, transport, and related options.
Use this command when a trunkA connection between Asterisk and another PBX or an ITSP/carrier, used to send and receive external calls. registration is rejected, stuck as unregistered, or using a value different from what you expected in pjsip.conf or realtime configuration.
This command checks outbound registrations from Asterisk to another registrar. It is not the command for a phone registering to Asterisk.
Example:
asterisk -rx "pjsip show registration trunk-registration"
If you do not know the registration object name, run pjsip show registrations first.
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.