unexpected status from INVITE response: sip status...
# ask-ai
s
unexpected status from INVITE response: sip status: 603: Network Blocked
t
Thanks for reaching out, Vishal. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’m responding about the "unexpected status from INVITE response: sip status: 603: Network Blocked" error. A 603 (Declined) with "Network Blocked" means the destination SIP/telephony network explicitly rejected the INVITE as a final refusal (not a temporary network error). Common reasons are carrier/provider policy or rate/routing restrictions rather than a transient outage. To help narrow this down, please tell me: 1. Which SIP provider/trunk are you using for this call (e.g., Wavix or another provider)? 2. Is this happening for all outbound numbers or only specific destinations/countries? 3. Are you attempting to bridge through a PBX/Vicidial-like system or routing directly via the trunk? 4. Any recent changes to trunk settings, rate limits, ACLs, or account permissions? 5. If possible, paste the raw SIP INVITE and the full 603 response (headers) — redacting any sensitive tokens or phone numbers. What I can do next depending on your answers: • If it’s a trunk rate/plan issue (common with Wavix), I’ll show the settings to check and suggest what to request from the provider. • If it’s a PBX/Vicidial-style bridge, I’ll outline routing changes so the call goes out externally instead of being declined. • If you provide the SIP logs, I’ll examine headers for clues (routing, From/To mismatches, or rejected authentication). Send the details above and I’ll guide you through the next steps. Sources: Using Wavix to accept and make calls | LiveKit docs | How Vicidial Handles Bridging, Transfers, and SIP Calls
s
1. I am using Twilio 2. It's happening for a majority of calls not all calls 3. No 4. No 5. How do I find the raw SIP INVITE ?
t
Thanks — I’m responding about how to find the raw SIP INVITE for calls routed through Twilio. Follow these steps to get the INVITE from Twilio (recommended): 1. Open the Twilio Console. 2. Go to Monitor → Calls. 3. Find the failed call (use the time window or the
sip.twilio.callSid
from your LiveKit participant attributes if you have it). 4. Open the call details, then the SIP Packet Trace (or SIP Call Flow / Debugging) tab. 5. View and copy the full raw SIP INVITE and the subsequent 603 response (redact sensitive tokens and phone numbers if needed). Other options if you can’t find it in Twilio: • Use
sip.twilio.callSid
from the LiveKit SIP participant attributes to locate the exact Twilio call record. • Capture packets at your SIP endpoint or a proxy with tcpdump/Wireshark if you control the SIP signaling path. If you paste the raw INVITE and the 603 response (headers only, redacted), I’ll examine them and point out likely causes and next steps. Sources: SIP APIs | LiveKit docs | SIP participant | LiveKit docs | SIP troubleshooting guide | LiveKit docs
s
There were no HTTP Requests logged for this event. - I see this in the request inspector
t
You're seeing "There were no HTTP Requests logged for this event" because the SIP INVITE/603 exchange happens between Twilio and the PSTN/SIP carrier at the SIP signaling level — not as an HTTP request to LiveKit. LiveKit will create the SIP participant and surface SIP participant attributes, but it does not log the raw SIP packets as HTTP requests. What I recommend next: 1. From LiveKit, get the SIP participant attributes for the failed call and share the
sip.twilio.callSid
(or
sip.callID
/
sip.trunkID
) value. 2. In the Twilio Console: Monitor → Calls → find that Call SID → open SIP Packet Trace and copy the raw INVITE + 603 response (redact phone numbers/tokens). 3. Paste the headers/body of the INVITE and the 603 response here (redact sensitive data). I will examine them for routing, authentication, or header issues and suggest exact fixes. If you need help pulling the LiveKit participant attributes, tell me how you’re listing participants (SDK/CLI/API) and I’ll give the exact command/snippet.
s
SIP Call Trace Summary 1. Call Flow (4 SIP messages over 281ms):INVITE (t=0ms): Client sends SIP INVITE to Twilio's PSTN gateway ◦ Source: Client IP ◦ Destination: Twilio SIP server ◦ Target: E.164 formatted US phone number via Twilio outbound trunk 2. 100 Trying (t=0.17ms): Twilio acknowledges INVITE ◦ Provisional response indicating call processing has started 3. 603 Network Blocked (t=279ms): Twilio rejects the call ◦ Error: SIP 603 "Decline" with reason "Network Blocked" ◦ Call rejected by carrier/gateway before reaching destination 4. ACK (t=281ms): Client acknowledges the rejection ◦ Call flow terminates • *Key Details:*Protocol: SIP over UDP/TCP • Total call setup time: ~281ms before rejection • Error type: 603 (caller/callee decline) vs routing failure (404/488) • Trunk: Twilio PSTN outbound trunk We're seeing SIP 603 "Network Blocked" responses from the carrier during the INVITE phase. The call never reaches ringing state and fails immediately after the 100 Trying response. Is this a trunk configuration issue, or does this indicate the destination number/route is blocked at the carrier level? How should we handle these types of carrier-level rejections in webhook events?
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!