π Nothing kills call completion rates faster than an incorrectly configured VOS3000 SIP INVITE timeout β and nothing disrupts active calls more than misconfigured gateway switching behavior. When your softswitch sends an INVITE and the far end never responds, how long should it wait? What happens when a gateway responds with SDP β should VOS3000 commit to that gateway or keep trying alternatives? These decisions, controlled by SS_SIP_TIMEOUT_INVITE, SS_SIP_STOP_SWITCH_AFTER_SDP, and SS_SIP_USER_AGENT_STOP_SWITCH_AFTER_INVITE_TIMEOUT, directly impact your ASR, call reliability, and caller experience. β±οΈ
βοΈ Set the INVITE timeout too short, and legitimate calls get abandoned before the gateway can answer. Set it too long, and failed calls consume precious port capacity. Enable gateway switching after SDP, and you risk disrupting early media. Disable switching after INVITE timeout, and backup routes never get tried. Understanding how these three parameters work together is what separates a basic VOS3000 deployment from a professionally tuned one. π§
π― This guide covers every aspect of the VOS3000 SIP INVITE timeout, gateway switching decisions, and stop switch behavior: the global parameters, per-gateway overrides, related system parameters like SS_GATEWAY_SWITCH_LIMIT and SS_GATEWAY_SWITCH_STOP_AFTER_RTP_START, and best practices for configuring gateway failover in production environments. All data is sourced exclusively from the official VOS3000 V2.1.9.07 Manual, Section 4.3.5.2 (Tables 4-3 and 4-4). For expert assistance, contact us on WhatsApp at +8801911119966. π‘
β±οΈ The VOS3000 SIP INVITE timeout defines the maximum number of seconds the softswitch will wait for a response after sending a SIP INVITE message to a gateway. If no provisional response (100 Trying, 180 Ringing, 183 Session Progress) or final response (200 OK, 4xx, 5xx, 6xx) arrives within this period, VOS3000 considers the INVITE failed and proceeds to the gateway switching decision. π
π This parameter is governed by SS_SIP_TIMEOUT_INVITE with a default value of 10 seconds:
| Attribute | Value |
|---|---|
| π Parameter Name | SS_SIP_TIMEOUT_INVITE |
| π’ Default Value | 10 |
| π Unit | Seconds |
| π Description | SIP INVITE timeout. Default value in βRouting Gateway > Additional settings > Protocol > SIPβ |
| π Location | Operation management β Softswitch management β Additional settings β SIP parameter |
π‘ How the 10-second default works: When VOS3000 sends an INVITE to a gateway, it starts a countdown timer. During this period, SIP retransmissions occur based on SS_SIP_RESEND_INTERVAL (default: 0.5,1,2,4,4,4,4,4,4,4). If no response arrives within 10 seconds total, VOS3000 stops retransmitting, marks the INVITE as failed, and proceeds based on your gateway switching configuration.
π The VOS3000 SIP INVITE timeout is just one of several SIP timers that govern call setup. Understanding the differences is essential:
| Timer | Parameter | Default | Controls |
|---|---|---|---|
| π INVITE Timeout | SS_SIP_TIMEOUT_INVITE | 10 seconds | Total wait for any INVITE response |
| β³ Trying Timeout | SS_SIP_TIMEOUT_TRYING | 20 seconds | Wait for progress after 100 Trying |
| π Ringing Timeout | SS_SIP_TIMEOUT_RINGING | 120 seconds | Wait for answer while ringing |
| π‘ Session Progress | SS_SIP_TIMEOUT_SESSION_PROGRESS | 20 seconds | Wait after 183 Session Progress |
π Key distinction: The VOS3000 SIP INVITE timeout is the overall timer for the INVITE transaction. The Trying, Ringing, and Session Progress timers only activate after specific provisional responses are received. If no response comes at all, only the INVITE timeout applies.
π VOS3000 makes gateway switching decisions at multiple points during call setup. Understanding these decision points is critical for configuring reliable failover. The two most important are controlled by the VOS3000 SIP INVITE timeout parameters: π‘
| Decision Point | Parameter | Default | Effect |
|---|---|---|---|
| π¨ After SDP received | SS_SIP_STOP_SWITCH_AFTER_SDP | On | Stops switching β commits to gateway |
| β±οΈ After INVITE timeout | SS_SIP_USER_AGENT_STOP_SWITCH_AFTER_INVITE_TIMEOUT | Off | Continues switching β tries next gateway |
| π‘ After RTP starts | SS_GATEWAY_SWITCH_STOP_AFTER_RTP_START | On | Stops switching when RTP media flows |
| π Callee busy | SS_GATEWAY_SWITCH_STOP_AFTER_USER_BUSY | On | Stops switching when 486 Busy received |
| π Until connect | SS_GATEWAY_SWITCH_UNTIL_CONNECT | Off | Switch until 200 OK received |
π Key insight: These parameters work together as a layered decision system. The VOS3000 SIP INVITE timeout parameters (stop switch after SDP and stop switch after INVITE timeout) are the two most important because they control the two most common switching decisions: committing after media negotiation begins, and failing over after a gateway is unresponsive.
π The SS_SIP_STOP_SWITCH_AFTER_SDP parameter controls whether VOS3000 stops trying alternative gateways once it receives SDP (Session Description Protocol) in a provisional response from the current gateway. When this parameter is On (default), VOS3000 commits to the current gateway as soon as SDP arrives β preventing mid-setup failover that would disrupt early media and call progress. π‘οΈ
| Attribute | Value |
|---|---|
| π Parameter Name | SS_SIP_STOP_SWITCH_AFTER_SDP |
| π’ Default Value | On |
| π Description | Stop Switch Gateway After Receive SDP |
| π Options | On / Off |
| π Location | Operation management β Softswitch management β Additional settings β SIP parameter |
π‘ Why SDP matters in gateway switching: In the SIP call flow, SDP carries the media negotiation details β codecs, IP addresses, and port numbers. When a gateway sends SDP in a 183 Session Progress response, it means the gateway has allocated media resources, early media may already be playing, the media session is partially established, and switching to another gateway at this point causes audio disruption and potential double-answer scenarios.
| Setting | Gateway Switching Behavior | Call Impact | When to Use |
|---|---|---|---|
| β On (default) | Stops switching after SDP β commits to current gateway | π‘οΈ Prevents audio disruption, no double-answer, stable media path | π Nearly all deployments β recommended default |
| β Off | Continues switching even after SDP β may try other gateways | β οΈ Audio disruption risk, potential double-answer, unstable media | π¬ Only for special testing or specific carrier requirements |
π¨ Warning: Setting SS_SIP_STOP_SWITCH_AFTER_SDP to Off is rarely appropriate. When a gateway has already sent SDP and you switch to another gateway, the original gateway may continue playing audio or billing for the session while the new gateway also attempts call setup. This creates chaotic call states. β‘
π The companion parameter to stop switch after SDP is SS_SIP_USER_AGENT_STOP_SWITCH_AFTER_INVITE_TIMEOUT. While the SDP parameter controls switching after media negotiation begins, this parameter controls switching after an INVITE times out with no response at all. β³
| Attribute | Value |
|---|---|
| π Parameter Name | SS_SIP_USER_AGENT_STOP_SWITCH_AFTER_INVITE_TIMEOUT |
| π’ Default Value | Off |
| π Description | Stop Switch Gateway After INVITE Timeout |
| π Options | On / Off |
| π Per-Gateway Override | Yes β Routing Gateway > Additional settings > Protocol > SIP |
π Why the default is Off: When a gateway does not respond to an INVITE within the timeout period (defined by SS_SIP_TIMEOUT_INVITE), the most common cause is a network or gateway failure. In this scenario, you want VOS3000 to try the next available gateway β not give up. Setting this parameter to Off (default) ensures that backup routes are attempted, maximizing call completion rates. π
| Setting | INVITE Timeout Behavior | Impact on Call |
|---|---|---|
| β Off (default) | VOS3000 continues gateway switching to the next available gateway | β Call attempts backup routes β higher completion rate |
| β On | VOS3000 stops switching β call fails immediately after INVITE timeout | β οΈ No failover β caller gets failure tone right away |
π‘ When to set On: The only scenario where setting this to On makes sense is for compliance or regulatory routing where calls must use a specific carrier and failover to alternatives is not permitted. ποΈ
π Understanding how the VOS3000 SIP INVITE timeout interacts with gateway switching requires seeing the complete flow. Here is the full decision tree: π³
π VOS3000 INVITE Timeout & Gateway Switching Flow:
VOS3000 βββΊ INVITE βββΊ Gateway A (Primary)
β β
β β±οΈ INVITE Timeout countdown starts
β π‘ Retransmissions per SS_SIP_RESEND_INTERVAL
β β
β βββ T = INVITE Timeout βββ
β β No response received β
β ββββββββββββββββββββββββββ
β β
βββ β Gateway A INVITE failed
β
βββ Check: Stop switch after INVITE timeout?
β β
β βββ OFF (default) β
β β ββββΊ Try next gateway in route
β β VOS3000 βββΊ INVITE βββΊ Gateway B (Backup)
β β β
β β (new INVITE timeout starts)
β β
β βββ ON β οΈ
β ββββΊ Stop switching
β Return error to caller (SIP 408 / 503)
β
βββ OR Gateway A responds ββββββββββββββββββ
β β
β βββ 100 Trying / 180 Ringing (no SDP) β
β β ββββΊ Continue waiting β
β β (may still switch) β
β β β
β βββ 183 Session Progress + SDP β
β β βββ Stop switch after SDP = β
β β β ON (default) β
β
β β β ββββΊ Commit to Gateway A β
β β β No more switching β
β β β β
β β βββ Stop switch after SDP = β
β β OFF β οΈ β
β β ββββΊ May switch to Gateway B β
β β (risk of disruption!) β
β β β
β βββ SIP Error Code (4xx/5xx/6xx) β
β β ββββΊ May try next gateway β
β β β
β βββ 200 OK (Answer) β
β ββββΊ Call established β
β No switching β
β β
βββ π CDR recorded with switching details β
π§ For detailed gateway failover configuration, see our vendor failover setup guide. For more on the complete SIP call flow, see our SIP call flow reference. π‘
π The VOS3000 SIP INVITE timeout and stop switch parameters do not work in isolation. Several system-level parameters from Table 4-4 of the official VOS3000 2.1.9.07 manual control the broader gateway switching behavior: π§
| Parameter | Default | Description |
|---|---|---|
| π SS_GATEWAY_SWITCH_LIMIT | None | Times limit for Routing Gateway Auto-Switch β maximum number of gateways VOS3000 will try |
| π‘ SS_GATEWAY_SWITCH_STOP_AFTER_RTP_START | On | Stop Switch Gateway when RTP Start β prevents switching once media flows |
| π SS_GATEWAY_SWITCH_STOP_AFTER_USER_BUSY | On | Callee busy stop switch β stops trying other gateways when 486 Busy received |
| π SS_GATEWAY_SWITCH_UNTIL_CONNECT | Off | Switch Gateway Until Connect β when On, continues switching until 200 OK received |
π Key takeaway: The default VOS3000 configuration creates a logical switching strategy β try alternative gateways when the primary is unresponsive (INVITE timeout), but stop switching once the call progresses to the point where switching would cause disruption (SDP received, RTP started, callee busy). This is the correct behavior for virtually all VoIP deployments. β
π― Not all gateways are created equal. VOS3000 provides per-gateway overrides for both INVITE timeout and stop switch behavior. π‘
π Path: Routing Gateway β Additional settings β Protocol β SIP
| Gateway Setting | Default Source | Function |
|---|---|---|
| π Invite timeout | SS_SIP_TIMEOUT_INVITE (10s) | INVITE signal timeout for this specific gateway |
| π Stop switch gateway after receive SDP | SS_SIP_STOP_SWITCH_AFTER_SDP (On) | Prevent or allow gateway switching once SDP is received |
| π« Stop switching response code | β | Stop switch gateway when receiving this specific SIP code |
| π Stop switch gateway after INVITE timeout | SS_SIP_USER_AGENT_STOP_SWITCH_AFTER_INVITE_TIMEOUT (Off) | Control failover behavior after INVITE timeout expires |
| Gateway Type | Recommended INVITE Timeout | Rationale |
|---|---|---|
| π’ Local LAN gateway | 5β8 seconds | β Fast response expected; shorter timeout frees resources quickly |
| π Standard WAN gateway | 10 seconds (default) | π§ Proven balance for typical VoIP networks |
| π‘ High-latency / satellite | 15β20 seconds | β±οΈ Accounts for propagation delay and slow gateway response |
| π‘οΈ Premium carrier gateway | 8β10 seconds | π Reliable carriers respond quickly; faster failover on failure |
| β οΈ Intermittent gateway | 5β7 seconds | π Quick failover to backup route; minimize dead air time |
π Beyond the global stop switch parameters, VOS3000 offers a more granular control: the βStop switching response codeβ per-gateway setting. This lets you specify a particular SIP response code that triggers stop-switch behavior. π―
| SIP Code | Meaning | Set as Stop Code? | Rationale |
|---|---|---|---|
| π« 403 Forbidden | Destination not authorized | β Yes | Other gateways likely same result |
| π 404 Not Found | Destination does not exist | β Yes | Number invalid on all routes |
| π§ 503 Service Unavailable | Gateway overloaded | β No | Another gateway may accept β see our SIP 503/408 fix guide |
| β±οΈ 408 Request Timeout | No response from gateway | β No | Backup gateway should be tried |
π₯οΈ Follow these steps to configure the VOS3000 SIP INVITE timeout and gateway switching parameters:
| Parameter | Default | Recommended | Notes |
|---|---|---|---|
| SS_GATEWAY_SWITCH_LIMIT | None | 3β5 | β Prevents excessive failover loops |
| SS_GATEWAY_SWITCH_STOP_AFTER_RTP_START | On | On | π Never switch after media starts |
| SS_GATEWAY_SWITCH_STOP_AFTER_USER_BUSY | On | On | π« Busy means busy on all routes typically |
| SS_GATEWAY_SWITCH_UNTIL_CONNECT | Off | Off | β οΈ Setting On may cause excessive switching |
π Symptom: When the primary gateway goes down, calls fail instead of routing to the backup gateway.
π‘ Cause: The βStop switch gateway after INVITE timeoutβ is set to On, preventing VOS3000 from trying the next gateway.
β Solutions:
π Symptom: Callers hear ringback tone that suddenly cuts off and restarts, or brief audio glitches during call setup.
π‘ Cause: SS_SIP_STOP_SWITCH_AFTER_SDP is set to Off, allowing VOS3000 to switch gateways after SDP has been received and early media is flowing.
β Solutions:
π Symptom: Callers hear 15-20 seconds of silence before getting a busy or failure tone.
π‘ Cause: The VOS3000 SIP INVITE timeout is set too high, causing the softswitch to wait unnecessarily long.
β Solutions:
| Parameter | Default | Unit | Purpose |
|---|---|---|---|
| SS_SIP_TIMEOUT_INVITE | 10 | Seconds | SIP INVITE timeout β total wait for INVITE response |
| SS_SIP_RESEND_INTERVAL | 0.5,1,2,4,4,4,4,4,4,4 | Seconds | INVITE retransmission intervals |
| SS_SIP_STOP_SWITCH_AFTER_SDP | On | On/Off | Stop gateway switching after SDP received |
| SS_SIP_USER_AGENT_STOP_SWITCH_AFTER_INVITE_TIMEOUT | Off | On/Off | Stop gateway switching after INVITE timeout |
| SS_GATEWAY_SWITCH_LIMIT | None | Number | Max gateway switching attempts |
| SS_GATEWAY_SWITCH_STOP_AFTER_RTP_START | On | On/Off | Stop switching after RTP media starts |
| SS_GATEWAY_SWITCH_STOP_AFTER_USER_BUSY | On | On/Off | Stop switching on 486 Busy |
| SS_GATEWAY_SWITCH_UNTIL_CONNECT | Off | On/Off | Keep switching until 200 OK |
β±οΈ The default VOS3000 SIP INVITE timeout is 10 seconds, configured via SS_SIP_TIMEOUT_INVITE. VOS3000 will wait up to 10 seconds for any response before considering the attempt failed. The default can be overridden per gateway in Routing Gateway > Additional settings > Protocol > SIP.
π When On (default), VOS3000 stops trying alternative gateways once it receives SDP in a provisional response (like 183 Session Progress with SDP). This prevents mid-call audio disruption, double-answer scenarios, and media path instability. When Off, VOS3000 may switch gateways even after media negotiation has begun β which is almost never desirable. Keep this On. π§
π No β keep it Off (default) for most deployments. When a gateway does not respond to an INVITE, you want VOS3000 to try the next available gateway (failover). Setting it to On means VOS3000 stops switching and the call fails immediately. The only exception is compliance routing where failover to a different carrier is not permitted. ποΈ
π’ Set SS_GATEWAY_SWITCH_LIMIT to a reasonable value (3β5 gateway attempts). This prevents VOS3000 from endlessly cycling through gateways when all are failing. Also keep SS_GATEWAY_SWITCH_UNTIL_CONNECT Off (default) and ensure SS_SIP_STOP_SWITCH_AFTER_SDP is On (default). π‘οΈ
π§ Proper VOS3000 SIP INVITE timeout and gateway switching configuration is essential for maximizing call completion rates, enabling fast gateway failover, and delivering a quality caller experience. Whether you need help with timeout tuning, stop switch configuration, or troubleshooting failover issues, our team is ready to assist. π‘οΈ
π¬ WhatsApp: +8801911119966 | π Phone: +8801911119966
For professional VOS3000 installations and deployment, VOS3000 Server Rental Solution:
π± WhatsApp: +8801911119966
π Website: www.vos3000.com
π Blog: multahost.com/blog
π₯ Downloads: VOS3000 Downloads
Master VOS3000 SIP privacy header with SS_SIP_USER_AGENT_PRIVACY. Configure Ignore/Id/None modes, per-gateway Privacy, P-Asserted-Identity, and caller…
Master VOS3000 SIP outbound registration parameters: SS_SIP_USER_AGENT_EXPIRE (Auto Negotiation, 20-7200s) and SS_SIP_USER_AGENT_RETRY_DELAY (30-600s). Configure registration…
Master VOS3000 SIP call progress timeout with SS_SIP_TIMEOUT_TRYING, SS_SIP_TIMEOUT_SESSION_PROGRESS, SS_SIP_TIMEOUT_SESSION_PROGRESS_SDP, and SS_SIP_TIMEOUT_RINGING. Configure the complete…
Master VOS3000 SIP resend interval with SS_SIP_RESEND_INTERVAL. Configure exponential backoff retransmission, retry timing, and gateway…
Master VOS3000 SIP NAT keep alive configuration with HELLO message, period, interval, and quantity settings…
Master VOS3000 SIP no timer call duration limit. Configure SS_SIP_NO_TIMER_REINVITE_INTERVAL to prevent runaway calls, protect…