red-piano-67995
11/28/2025, 3:59 AMtall-airline-16756
11/28/2025, 3:59 AMtall-airline-16756
11/28/2025, 3:59 AMSession-Expires, Timer, or custom media timeouts)?
• Does Vonage send a 200 OK to BYE immediately and only send BYE late, or is BYE itself delayed from their side?
4) Quick test to isolate source
• If possible, place a call through the same LiveKit SIP gateway but using a different SIP provider or a direct SIP UA (softphone). Does BYE timing match Vonage or close instantly? This shows whether the delay is on Vonage’s side or in the LiveKit/SIP gateway.
What I can do next
• If you share the SIP call timestamps or logs, I’ll look for where the 30s delay originates (Vonage->gateway or gateway->LiveKit) and recommend specific setting changes (e.g., session timer adjustments, retransmit timers, or explicit media timeout handling).
Which logs can you provide first: Vonage SIP trace around teardown, or LiveKit SIP/gateway logs with timestamps?red-piano-67995
11/28/2025, 4:02 AMtall-airline-16756
11/28/2025, 4:02 AMred-piano-67995
11/28/2025, 4:11 AMtall-airline-16756
11/28/2025, 4:11 AMred-piano-67995
11/28/2025, 4:13 AMtall-airline-16756
11/28/2025, 4:13 AMSession-Expires to 90–300s (recommend 180s) and Min-SE to 90s.
• Ensure Vonage sends BYE immediately on hangup (disable any “post-teardown hold” or delayed teardown behavior).
• Confirm re-INVITE/refresh handling won’t delay BYE (no waiting for other events before teardown).
• Ask Vonage to confirm their SIP timer values (T1/T2) and any carrier-side grace periods on call end.
3) Example text you can send to Vonage "We’re seeing a consistent ~30s delay between user hangup and the BYE sent toward our LiveKit SIP trunk, causing rooms to stay open. Attached are SIP traces and LiveKit timestamps. Please reduce Session-Expires to 180s (Min-SE 90s) and enable immediate BYE on hangup or otherwise remove any post-disconnect hold/grace period so BYE is forwarded promptly."
4) Verify after Vonage changes
• Re-run the same call and confirm BYE arrives within seconds of hangup.
• Check LiveKit logs for participant disconnect time matching the hangup timestamp.
• If still delayed, provide Vonage the SIP traces for further carrier debugging.
5) If you want, I can:
• Draft the exact support message with your timestamps and sample SIP trace snippets formatted for Vonage.
• Review Vonage’s response or the post-change logs and recommend next steps.
Which would you like me to do next: draft the support message with timestamps you give me, or wait for Vonage’s reply and then analyze their logs?
Sources: SIP APIs | LiveKit docs | sip | livekit/livekit_composite | DeepWiki | Still Have Questions | SIP troubleshooting guide | LiveKit docs | Agents telephony integration | LiveKit Docsred-piano-67995
11/28/2025, 4:15 AMtall-airline-16756
11/28/2025, 4:15 AMringing_timeout and max_call_duration where appropriate to prevent long-lived sessions.
• Deploy this as part of your backend so customers don’t need per-client changes.
3) Carrier advocacy for a universal fix
• Ask Vonage to:
◦ Apply session-timer and immediate-BYE defaults across trunks (or offer a vendor-level setting you can buy/enable).
◦ Provide a documented setting for customers to enable on their own accounts.
• Provide Vonage traces and reproducible cases to accelerate their changes.
4) Recommended rollout strategy (minimal client impact)
• Immediately publish the Vonage config checklist and request customers apply it.
• Simultaneously roll out the centralized server-side cleanup in your backend for any trunks that still show the issue (short grace timer + forced hangup).
• Follow up with Vonage to get defaults improved so you can remove forced cleanup later.
I can draft:
• The exact Vonage configuration checklist text for your docs.
• A short server-side pseudocode snippet or API call sequence to force-close rooms after a small grace period.
Which do you want first — the customer-facing checklist or the backend pseudocode?
Sources: Still Have Questions | Secure trunking | LiveKit docs | SIP outbound trunk | LiveKit docs | Create and configure a Plivo SIP trunk | LiveKit docs | SIP inbound trunk | LiveKit docsadventurous-waiter-12836
11/29/2025, 4:40 AMtall-airline-16756
11/29/2025, 4:41 AM