A ‘registration failed’ indicator hides where Session Initiation Protocol (SIP) signaling stopped. The failure may happen before a request leaves the client, during authentication, or when an accepted binding needs renewal. For developers and telephony teams, a useful diagnosis needs a complete signaling exchange, a clear registration direction, and evidence from both ends of the connection.
Find the last successful registration step
Diagnose SIP registration failure from the actual REGISTER exchange. Separate a request that was never sent from one that went unanswered. If a response arrived, read the sequence: an initial 401 or 407 can be a normal authentication challenge. If registration succeeded and later disappeared, investigate renewal. If it remains registered but calls fail, move to routing and reachability.
Start with the row that matches the evidence, rather than changing passwords and network settings together.
| Observed state | Next evidence to collect |
|---|---|
No outbound REGISTER | Loaded registration configuration, local errors, name-resolution and connection logs |
REGISTER sent, no SIP response | Actual destination and transport, provider receipt, return path |
401 or 407, then another request | Whether the client answered the challenge and what came next |
403 Forbidden | Registrar rejection reason and account authorization |
423 Interval Too Brief | Min-Expires and requested expiration |
200 OK, then loss of registration | Granted expiration and the next renewal exchange |
| Current binding, incoming calls fail | Stored Contact, incoming call route and network reachability |
1. Identify the registration direction and identities
Registration associates an address-of-record (AOR), such as sip:account@example.com, with a Contact address where requests can be delivered. The registrar maintains that binding. A uniform resource identifier (URI) is the address string, including its scheme, such as sip:.
Write down the two participants first. A phone registering to a private branch exchange (PBX) and a PBX registering to a carrier are different relationships. A session border controller (SBC) may sit between them. A local registration succeeding says nothing about the carrier-side registration.
Also establish whether this connection requires REGISTER. Some trunks authorize a known Internet Protocol (IP) address and use static routing. Our SIP trunking guide explains the setup decisions; a missing registration is only a fault on a connection that requires one.
Keep these identities separate:
| Identity | What it identifies |
|---|---|
| Registrar URI | The registration service addressed by the request |
| Address-of-record | The account address being registered, in To |
| Authentication username and realm | The identity and authentication scope used to answer a challenge |
| Contact URI | The destination being bound to that account |
The registrar hostname, authentication realm and AOR domain may differ. Do not make them identical merely because the configuration screen groups them together.
For Asterisk PJSIP, server_uri, client_uri and contact_user serve different roles. The authentication object is selected through outbound_auth. The outbound registration guide maps those settings to the signaling fields.
2. Capture one complete attempt
Collect the first request, any challenge, the credential-bearing request, and the final result. A screenshot of a red status indicator cannot distinguish those stages.
Record:
- Timestamp and timezone, preferably Coordinated Universal Time (UTC).
- Registration direction and the client or trunk involved.
- Configured registrar, resolved destination IP address, port and transport.
- Response codes in order, with sequence-number (
CSeq) fields to distinguish requests. - Requested expiration,
Min-Expiresif present, and granted expiration. - Which observation point produced the trace: client, SBC or registrar.
On Asterisk with PJSIP, these console commands expose registration state and enable signaling logging:
pjsip show registrations pjsip show registration <registration-name> pjsip set logger on
The status commands come from Asterisk's outbound-registration interface. Its PJSIP troubleshooting guide also recommends signaling logging for diagnosis. These are Asterisk-specific commands, not instructions for every PBX. Keep collection bounded and restore the previous logging settings afterward.
Treat SIP logs as sensitive. Before sharing them publicly, remove passwords and entire Authorization and Proxy-Authorization values. Mask account and phone identifiers, SIP addresses, IP addresses, hostnames, Call-IDs, tags, branches and challenge tokens. Use consistent placeholders so related messages still match. Preserve ordering, status codes, CSeq progression, expiration values and transport. Share identifying details needed by authorized support only through its restricted channel.
3. Separate local, name-resolution and transport failures from silence
No request left the client
Start with configuration loading and local errors. In Asterisk, an outbound registration may fail to load because an option is invalid, type = registration is missing, or server_uri or client_uri is malformed. For example, registrar.example.com lacks a URI scheme such as sip:.
No visible traffic can also follow a stopped retry cycle. Capture the client's registration status and last error before restarting it. A restart can erase the evidence of why it stopped.
The destination does not match the intended registrar
Domain Name System (DNS) resolution for SIP can select an IP address, port and transport. Depending on the URI and explicit settings, this may involve Naming Authority Pointer (NAPTR) and service (SRV) records, followed by address records. A successful hostname lookup alone does not establish the correct next hop. These selection rules are defined in SIP server location.
Compare three things: the provider-supplied registrar address, the client's resolution results, and the destination actually used in the trace. Include any configured outbound proxy. An explicit port or transport setting can change the resolution path, so copying a familiar port from another trunk is weak evidence.
The connection fails before SIP can run
For Transmission Control Protocol (TCP), inspect connection establishment. For Transport Layer Security (TLS), also inspect the certificate-validation result. An untrusted certificate, hostname mismatch or incorrect client clock belongs in this branch, before SIP authentication. Yealink's registration diagnostics distinguish these connection failures from sent registration messages.
Correct the trust, identity or time problem. Do not disable certificate validation to make the status turn green.
A request left, but no reply returned
A timeout does not identify a bad password, a firewall fault or an outage by itself. Local transmission proves only that the client attempted to send the request.
Use observations from both ends to narrow the fault:
| Evidence | Where to focus next |
|---|---|
| Client sends; provider has no matching receipt | Destination selection, intervening routing, network policy or provider ingress |
| Provider receives; sends no response | Provider processing or policy, using its logs |
| Provider sends a response; client never receives it | Return routing, firewall state and address translation |
| Client receives a response | The actual response and authentication sequence |
For User Datagram Protocol (UDP), include source and destination ports in the comparison. For encrypted signaling, client or server SIP logs may provide the message detail a network capture cannot show.
Keep network changes narrow and reversible. Do not open broad port ranges or toggle a SIP application-layer gateway (ALG) across production on speculation. If message rewriting is suspected, compare signaling on each side of that device before changing its configuration.
4. Read authentication and policy responses in sequence
A first 401 or 407 can be normal
401 Unauthorized requests authentication from the client; 407 Proxy Authentication Required is the proxy challenge. A common successful sequence is:
Client -> Registrar: REGISTER, CSeq: 101 REGISTER Registrar -> Client: 401 Unauthorized, authentication challenge Client -> Registrar: REGISTER, CSeq: 102 REGISTER, Authorization present Registrar -> Client: 200 OK, Contact binding and expiration
This is a simplified protocol sequence. SIP's Digest authentication scheme defines challenge handling. Counting the first 401 as a failed login would misclassify this successful exchange.
If no second request follows, inspect the client's challenge handling and authentication-object selection. If the credential-bearing request receives another challenge, compare the authentication username, realm, intended account and challenge context. A stale nonce, the server-issued challenge token, can require a fresh response; a second challenge alone does not prove the password is wrong.
Do not repeatedly resend just-rejected credentials. After a configuration correction, capture the next complete exchange instead of relying on the status indicator.
Treat 403 as a refusal requiring an explanation
403 Forbidden means the request was understood and refused. For registration, one cause is that the authenticated identity lacks permission to update the requested AOR. The response is not a password diagnosis. The 403 response definition says the same request should not be repeated.
Ask the registrar owner for the rejection reason. Compare the authorized AOR, account provisioning and applicable source-IP or registration policy. Replacing a password without that evidence can introduce another fault.
Keep registrar ownership clear. Asterisk's local inbound registrar can return 403 when an AOR has no usable max_contacts allowance or an attempt exceeds it. That setting controls phones registering to that Asterisk server. It does not establish a carrier's contact limit, and raising it locally will not fix a carrier rejecting an outbound registration.
Retry policy is part of the diagnosis
Asterisk PJSIP distinguishes temporary failures from permanent rejections. Its auth_rejection_permanent, retry_interval and max_retries settings affect what happens after failure. Its registration option reference warns that enabling retries after 403 is a workaround that goes against the SIP recommendation.
Preserve bounded retries and backoff. Faster repetition supplies no new evidence and can add load or trigger account protection.
5. Follow the granted expiration through renewal
For 423 Interval Too Brief, read Min-Expires and adjust the requested interval accordingly. Do not retry the rejected interval unchanged.
After success, use the expiration granted for your Contact in 200 OK, which may be shorter than requested. A per-Contact expires value takes precedence over a general Expires header. The registration renewal rules require renewal before the accepted binding expires.
Build a short timeline from the accepted response to the next renewal:
- Accepted time: when the client received
200 OK. - Granted lifetime: the expiration associated with its Contact.
- Renewal attempt: when the next
REGISTERleft the client. - Renewal result: challenge and response, refusal, or silence.
That timeline separates a missing renewal from a renewal that was rejected or lost. For example, a client that requests a longer lifetime than it receives must schedule against the accepted lifetime. There is no universal expiration value that suits every registrar.
Registration lifetime and network address translation (NAT) state are separate. Shortening registration blindly can conflict with the registrar's minimum. Determine whether the binding expired, a connection closed, or the network mapping disappeared before choosing a keepalive or renewal adjustment.
6. A current registration does not prove call reachability
A successful registration narrows the problem. It does not prove that a later incoming call can reach the advertised destination or that audio will flow.
Compare the registrar's stored Contact with the intended inbound path. A private or otherwise unreachable Contact can leave a registration accepted while incoming calls fail. Address translation, external signaling configuration and the provider's routing behavior belong in that investigation. A private address alone is not proof that it caused a rejected REGISTER.
For suspected duplicate or stale bindings, obtain the provider's simultaneous-registration and replacement policy. Do not delete every binding on a shared account as a first step; another device may be using it.
The recovery evidence should cover distinct outcomes:
- An accepted binding for the intended AOR and Contact.
- A successful renewal before expiration.
- An authorized incoming call arriving at the intended route.
- Successful call setup and two-way audio as separate call-level outcomes.
If registration and renewal succeed, stop changing registration credentials to repair an audio problem. The fault has moved to another layer.
7. Give the provider a specific evidence packet
Escalation is useful when it asks the owner to resolve a specific uncertainty. Send a sanitized exchange and a concise description containing:
- Timestamp with timezone and registration direction.
- Expected registrar, transport and port, plus the destination actually used.
- AOR and authentication-account identifiers through the restricted support channel.
- Response sequence, or the time window in which no response arrived.
- Requested and granted expiration, plus
Min-Expireswhen applicable. - Recent credential, routing or network changes relevant to the failure.
For silence, ask: Did your edge receive this attempt, and did it send a response? For 403, ask which authorization or provisioning rule rejected it. For recurring loss after success, ask which Contact binding the registrar retained and when it expired or changed.
These questions direct each owner toward evidence it can supply without assuming the root cause.
Applying the diagnosis to voice agents on Dasha
We help technical teams build and run production voice AI agents through a managed runtime and web application. Registration troubleshooting still starts with the specific client-to-registrar relationship. Our organization-level SIP configuration includes server, authUser, authPassword, domain and transport, with udp, tcp and tls transport values.
Keep registration evidence separate from call evidence. Our call SIP traces are retrieved with a call ID and include call-signaling messages such as INVITE, ACK and BYE. Do not assume a failed REGISTER outside a call will appear in those traces. When failure occurs before any call exists, obtain registration logs from the relevant client, PBX, SBC, registrar or provider.
Once the registration path is understood, our SIP configuration guide is the next step for connecting your telephony configuration to Dasha.



