Source record · tier 2 current vendor documentation
Asterisk PJSIP Troubleshooting Guide
- Publisher
- Sangoma / Asterisk Project
- URL
- https://docs.asterisk.org/Configuration/Channel-Drivers/SIP/Configuring-res_pjsip/Asterisk-PJSIP-Troubleshooting-Guide/
- Published
- unknown
- Updated
- unknown
- Accessed
- 2026-09-24
- HTTP status
- 200
- License
- Asterisk documentation (CC BY-SA per project site; not re-verified); no-redistribution; short excerpts and locators only
Source notes citing this source
- Asterisk's PJSIP troubleshooting guide uses pjsip set logger on to show SIP traffic, pjsip show endpoints to confirm endpoints loaded, and pjsip show endpoint <name> to confirm its auth, AOR, transport and Identify lines. in context
- Debug messages such as Could not identify endpoint by username or Source address does not match identify mean an incoming request was not matched to a configured endpoint. in context
- An Asterisk AOR must have max_contacts configured or registrations to it fail, and pjsip show aor displays the contacts bound to it. in context
- Asterisk answers 401 Unauthorized even to requests it cannot match to an endpoint, so identification should be checked before suspecting credentials. in context
- For inbound traffic through NAT, the endpoint option force_rport, enabled by default, sends responses back to the source address of the request. in context
- For outbound calls through NAT, Asterisk's troubleshooting guide says to set local_net, external_signaling_address and external_signaling_port so unroutable private addresses are not published in Contact headers. in context
- The Asterisk CLI command pjsip set logger on turns on logging of SIP messages for troubleshooting. in context
- When an endpoint is matched by IP address, pjsip show endpoint <name> shows an Identify: line with the matched address, and an InAuth: line when inbound authentication is configured. in context
- Asterisk rejects an inbound SIP request it cannot match to a configured endpoint, and an apparent authentication failure often means the endpoint was not recognised at all. in context
Cite this source record
APA
WarmTransfer. (2026, September 24). Asterisk PJSIP Troubleshooting Guide. WarmTransfer. https://warmtransfer.net/knowledge/sources/asterisk-docs-pjsip-troubleshooting
BibTeX
@misc{warmtransfer-asterisk-docs-pjsip-troubleshooting,
title = {Asterisk PJSIP Troubleshooting Guide},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/sources/asterisk-docs-pjsip-troubleshooting},
note = {Sangoma / Asterisk Project, accessed 2026-09-24}
}