VoIP.info Guide

Asterisk outbound registration: what it proves

Distinguish a carrier registration from endpoint configuration and successful incoming or outgoing calls.

Reviewed 2026-10-15Asterisk 22 LTSIntermediateDocumentation based · not lab tested

Asterisk acting as a registering client

With outbound registration, Asterisk sends REGISTER requests to another registrar. The registration object describes that relationship. It is separate from the endpoint that handles calls and the rules used to associate incoming traffic with an endpoint.

This distinction matters when a status screen says registered but calls fail. Registration success verifies the registrar accepted a binding under its policy. It does not prove a dialplan route exists, caller ID is permitted or a usable codec was negotiated.

PJSIP endpoint, auth and AOR
The endpoint defines call behavior and refers to an authentication object and an address-of-record object. The AOR contains or learns a contact address.

Logical configuration relationships, not a complete pjsip.conf. An outbound trunk can use a separate outbound-auth relationship.

Map the carrier's required identities

Record the server URI, client URI and any authentication identity from the carrier's documentation. These values need not be identical. Preserve transport and proxy requirements as separate settings rather than guessing from a hostname.

A registration can use outbound authentication when challenged. Repeated failure should prompt a comparison of the configured identities, supported challenge behavior and carrier account state. Avoid aggressive retry loops that trigger account protection or unnecessary traffic.

Observe status and the exchange

Use pjsip show registrations and inspect the relevant registration. If the system never sends a request, examine object loading and destination resolution. If a request is sent but no response returns, investigate reachability. If a response rejects it, use that specific response and the carrier's logs to narrow the reason.

A successful challenge sequence is not an error merely because a 401 appeared before the final success. Follow the complete exchange.

If the object remains present but attempts stop, classify the final response and retry policy before forcing another attempt. The stopped-retry investigation separates exhausted temporary retries from permanent rejection.

Test delivery and recovery

After registration succeeds, make an incoming test call and verify the intended destination. Make an outgoing call independently. Check recovery after a controlled network interruption and record the observed timing. Do not assume that registration failover also implements incoming-number failover at the carrier.

Inspect algorithm and realm selection

When a registrar challenge repeats, do not classify it from the password field alone. Compare the registration's outbound_auth reference, the challenge realm and algorithms, the loaded auth policy and the running PJProject/OpenSSL capability. The focused authentication-loop diagnostic keeps that exchange separate from general retry policy.

Treat a 423 as an interval negotiation

When the registrar rejects a REGISTER with 423, compare the registration object's effective expiration with the response Min-Expires; retry timing is a separate control. The Asterisk 423 diagnostic also covers the opposite role, where Asterisk rejects a phone's interval under its AOR policy.

Classify 503 as a temporary registration failure

Asterisk classifies a registrar 503 as temporary for outbound registration. The object’s retry interval and maximum retry count control subsequent attempts. The 503 investigation keeps this REGISTER path separate from an INVITE rejected on another SIP leg.

Keep registration transport distinct from call transport

An outbound registration has its own server URI, optional named transport and optional outbound proxy. A registered result does not prove endpoint INVITEs or AoR OPTIONS use the same route. Use the PJSIP transport diagnostic for an observed mismatch.

Registration status does not select the inbound endpoint

Use the line-matching guide to distinguish Contact destination from endpoint identity. When a returning call lands on the wrong endpoint or context, follow the paired diagnostic.

Separate DNS refresh from registration retry

A changed DNS answer does not prove that a stopped registration will attempt again or that an existing TCP or TLS connection will close. The PJSIP DNS-resolution guide and old-target diagnostic preserve both clocks and the actual remote tuple.

Do not assume an unlisted 429 schedules an Asterisk retry

Asterisk's current registration guide does not include 429 in its temporary-failure list and says unlisted responses are treated as permanent. When a provider emits 429 Too Many Requests, use the focused diagnostic to capture the loaded registration and provider cadence before changing timers or manually retrying.

Start or stop a loaded registration through AMI deliberately

The runtime-control guide adds object inventory, least-privilege actions, unregister and register phases, Registry events and the next scheduled refresh.

Refresh SIP.US gateway targets before diagnosing Asterisk registration

SIP.US says current traffic uses gw4.sip.us and gw5.sip.us; legacy-only gw1/gw2 configurations no longer register or receive inbound calls. The SIP.US failover diagnostic binds each Asterisk registration to the selected gateway, Contact, portal state and later inbound attempt.

Keep registration metrics tied to the actual object

If monitoring is used, the Prometheus diagnostic checks the loaded provider, object and label set before treating an absent series as a stopped registration.

Sources & applicability

Primary references for the technical details above. Operational examples and planning checklists are VoIP.info editorial guidance.

Examples require adaptation to your topology. No live PBX or hardware testing is claimed.