VOS3000 Aggressive Gateway Failover Dynamic SS_GATEWAY_SWITCH_UNTIL_CONNECT
๐ In normal failover mode, VOS3000 stops trying additional gateways when it encounters certain conditions โ the call is ringing, a busy signal is received, or protocol-level stop conditions are met. But what if you want the softswitch to keep trying every available gateway until one actually connects the call? That is exactly what VOS3000 aggressive gateway failover mode does. Enabled by the SS_GATEWAY_SWITCH_UNTIL_CONNECT parameter, this mode instructs VOS3000 to continue switching gateways until it receives a connect signal (SIP 200 OK or H.323 Connect), maximizing the chance of call completion at the potential cost of longer post-dial delay. ๐ง
โ๏ธ By default, SS_GATEWAY_SWITCH_UNTIL_CONNECT is set to Off, which means VOS3000 uses the standard failover behavior: it stops switching when the call reaches ringing state, receives a busy signal, encounters a no-answer condition, or meets protocol-level stop conditions. When you enable the VOS3000 aggressive gateway failover mode by setting this parameter to On, the softswitch overrides several of these stop conditions and keeps trying gateways until one returns a connect signal. The key difference is that in aggressive mode, even if a gateway returns a 180 Ringing response, VOS3000 may continue trying other gateways if the ringing times out without a 200 OK answer. ๐
๐ฏ This guide provides a complete, manual-verified reference for the SS_GATEWAY_SWITCH_UNTIL_CONNECT parameter. All parameter definitions are sourced from the official VOS3000 2.1.9.07 English manual ยง4.3.5.2 (page 236) and the gateway operation documentation, with detailed explanations of how the VOS3000 aggressive gateway failover works, when it improves ASR, when it hurts PDD, and how the VOS3000 aggressive gateway failover differs from the switch limit parameter. ๐
Table of Contents
๐ What Is VOS3000 Aggressive Gateway Failover?
๐ The VOS3000 aggressive gateway failover mode is controlled by the system parameter SS_GATEWAY_SWITCH_UNTIL_CONNECT, documented in the VOS3000 manual ยง4.3.5.2 (page 236) as “Switch Gateway Until Connect.” When enabled, this parameter changes the failover behavior from the standard conservative mode to an aggressive mode that continues attempting gateways until a connect signal is received.
๐ก Key characteristics of SS_GATEWAY_SWITCH_UNTIL_CONNECT:
- ๐ง Default value: Off โ standard failover behavior applies by default
- ๐ Configuration location: Operation management > Softswitch management > Additional settings > System parameter
- ๐ Per-gateway override: Yes โ can be set per routing gateway in “Additional settings > Switch gateway until connect”
- ๐ก Protocol support: Affects both SIP (200 OK) and H.323 (Connect) connect signals
- ๐ก๏ธ Override priority: Priors to protocol-level stop conditions (Stop switch after OLC, Stop switch after SDP)
- ๐ Limits still apply: SS_GATEWAY_SWITCH_LIMIT, RTP lock-in, and busy stop override aggressive mode
๐ Aggressive Mode vs Standard Mode Comparison
๐ Understanding the behavioral difference between aggressive and standard failover modes is essential for making the right VOS3000 aggressive gateway failover configuration decision. The following table compares the two modes across all key failover conditions:
| Failover Condition | Standard Mode (Off) | Aggressive Mode (On) |
|---|---|---|
| ๐ 180 Ringing received | Stops switching โ call is ringing at destination | Continues switching until connect or timeout |
| ๐ซ 486 Busy received | Stops switching โ user is busy | Stops switching โ busy stop overrides aggressive mode |
| ๐ก RTP media starts flowing | Stops switching โ audio path established | Stops switching โ RTP lock-in overrides aggressive mode |
| โฑ๏ธ INVITE timeout (no response) | Tries next gateway | Tries next gateway (same behavior) |
| ๐ 200 OK / Connect received | Stops switching โ call connected | Stops switching โ call connected (same behavior) |
| ๐ Switch limit reached | Stops switching โ limit cap applies | Stops switching โ limit cap still applies |
๐ก Key insight: The primary difference between standard and aggressive mode is how each handles the ringing state. In standard mode, once VOS3000 receives a 180 Ringing response from a gateway, it stops switching because the call appears to be progressing. In aggressive mode, VOS3000 does not consider ringing as a stop condition โ it keeps trying other gateways until one actually connects with a 200 OK. This is the core behavioral change that the VOS3000 aggressive gateway failover mode introduces. For operators considering the VOS3000 aggressive gateway failover option, this ringing-state behavior is the key differentiator. For more on SIP call flow states, see our SIP call flow guide.
๐ SS_GATEWAY_SWITCH_UNTIL_CONNECT Parameter Reference
| Attribute | Detail |
|---|---|
| ๐ Parameter Name | SS_GATEWAY_SWITCH_UNTIL_CONNECT |
| ๐ Manual Description | Switch Gateway Until Connect (VOS3000 2.1.9.07 manual ยง4.3.5.2, page 236) |
| ๐ง Default Value | Off |
| ๐ Configuration Path | Operation management > Softswitch management > Additional settings > System parameter |
| ๐ Per-Gateway Override | Yes โ Routing gateway > Additional settings > Switch gateway until connect |
| ๐ก Connect Signal (SIP) | 200 OK |
| ๐ก Connect Signal (H.323) | Connect |
| ๐ก๏ธ Override Priority | Priors to Protocol > Stop switch after OLC and Stop switch after receive SDP |
๐ How Aggressive Failover Differs from Switch Limit
๐ A common point of confusion is the relationship between the VOS3000 aggressive gateway failover mode (SS_GATEWAY_SWITCH_UNTIL_CONNECT) and the gateway switch limit (SS_GATEWAY_SWITCH_LIMIT). The VOS3000 aggressive gateway failover and switch limit are two independent parameters that control different aspects of VOS3000 aggressive gateway failover behavior, and they work together rather than replacing each other.
| Aspect | SWITCH_UNTIL_CONNECT | SWITCH_LIMIT |
|---|---|---|
| ๐ Purpose | Defines when to stop switching (only on connect) | Defines how many switch attempts are allowed |
| ๐ง Default | Off (standard mode) | None (unlimited attempts) |
| ๐ Effect on ASR | Increases ASR by trying more gateways | May decrease ASR if set too low |
| โฑ๏ธ Effect on PDD | Increases PDD by extending switching window | Decreases PDD by capping attempts |
| ๐ Interaction | Aggressive mode still respects switch limit cap | Switch limit caps total attempts regardless of mode |
๐ก Recommended combination: For production deployments, the recommended configuration is SS_GATEWAY_SWITCH_UNTIL_CONNECT = On (aggressive mode) combined with SS_GATEWAY_SWITCH_LIMIT = 3โ4 (sensible cap). This gives you the best of both worlds: aggressive failover that keeps trying until a connect signal is received, but with a safety cap that prevents runaway switching if all gateways are having problems. Without the switch limit, the VOS3000 aggressive gateway failover mode could try every gateway in your routing table, creating unacceptably long PDD. For more on the switch limit parameter, see our routing optimization guide.
๐ When Aggressive Mode Improves ASR
๐ The VOS3000 aggressive gateway failover mode can significantly improve your Answer-Seizure Ratio in scenarios where gateways frequently return ringing responses but never complete the call. The VOS3000 aggressive gateway failover is particularly valuable in these deployment scenarios where aggressive mode provides the most ASR benefit:
| Scenario | Why Aggressive Helps | Expected ASR Gain |
|---|---|---|
| ๐ Unreliable downstream carriers | Carriers that ring but never answer get bypassed | 5โ15% ASR improvement |
| ๐ Multiple termination providers | Fastest-connecting provider wins the call | 3โ10% ASR improvement |
| ๐ International routes with variable quality | Routes that ring without answer are quickly skipped | 10โ20% ASR improvement |
| ๐ง New untested gateway routes | Unknown quality routes are tried with fallback ready | Variable โ depends on route quality |
๐ ASR measurement tip: Before and after enabling VOS3000 aggressive gateway failover, measure your ASR over the same time period and traffic volume to quantify the improvement. Use the ASR ACD analysis tools in VOS3000 to track the metric. Pay attention to ASR by destination and by gateway, as aggressive mode may improve ASR for some routes while having no effect on others. Also monitor PDD alongside ASR โ the goal is to find the sweet spot where ASR gains outweigh PDD costs.
โฑ๏ธ When Aggressive Mode Hurts PDD
๐จ While the VOS3000 aggressive gateway failover mode can improve ASR, it comes with a PDD cost that must be managed. Every additional gateway switch attempt under the VOS3000 aggressive gateway failover mode adds signaling delay before the call connects. In scenarios where the first gateway would have connected the call (just with a slightly longer ring time), aggressive mode wastes time by trying additional gateways unnecessarily.
| Scenario | Why Aggressive Hurts | PDD Impact |
|---|---|---|
| ๐ Reliable gateways with slow answer | Gateway would have connected โ aggressive mode wastes time on alternates | ๐ด +5โ15 seconds unnecessary delay |
| ๐ข Retail callers expecting fast connection | Retail users are PDD-sensitive and may hang up | ๐ด Caller abandonment increases |
| ๐ณ Calling card services | Card users hear silence during switching attempts | ๐ด Card user frustration and perceived service failure |
| ๐ High-volume traffic periods | Aggressive switching increases CPS load during peak | ๐ด System overload potential |
๐ก Mitigation strategy: Always pair the VOS3000 aggressive gateway failover mode with a reasonable SS_GATEWAY_SWITCH_LIMIT and appropriate SIP timeout settings. The combination of VOS3000 aggressive gateway failover mode + switch limit gives you the ASR benefit while bounding the PDD cost. Additionally, use per-gateway configuration to enable aggressive mode only on the gateways and routes where it provides measurable ASR improvement, rather than enabling it system-wide. For more on PDD optimization, see our SIP call progress timeout guide.
๐ก๏ธ Common Aggressive Failover Problems and Solutions
โ Problem 1: Increased PDD Without ASR Improvement
๐ Symptom: After enabling SS_GATEWAY_SWITCH_UNTIL_CONNECT, PDD increases significantly but ASR does not improve, suggesting the aggressive switching is not finding additional connected calls.
๐ก Cause: The gateways in the routing pool are all similarly reliable (or all similarly unreliable). Aggressive switching only helps when some gateways connect while others ring without answer. If all gateways behave the same way, switching between them just adds delay without benefit.
โ Solutions:
- ๐ Analyze CDR data by gateway to identify which gateways connect and which ring without answer
- ๐ง Use per-gateway aggressive mode โ enable only for routes with mixed gateway quality
- ๐ Set SS_GATEWAY_SWITCH_LIMIT to 2โ3 to cap the PDD impact
โ Problem 2: Double Ringing or Multiple Call Legs
๐ Symptom: The called party’s phone rings multiple times or the callee sees multiple incoming calls from the same caller.
๐ก Cause: In aggressive mode, VOS3000 may send INVITE to a second gateway while the first gateway is still ringing the destination. If both gateways reach the same endpoint, the phone rings twice. This is particularly problematic in mobile networks where the same destination may be reachable through multiple gateways.
โ Solutions:
- ๐ง Enable SS_GATEWAY_SWITCH_STOP_AFTER_RTP_START = On to lock in once media flows
- ๐ Configure proper gateway prefix settings to avoid duplicate routes โ see prefix settings guide
- ๐ Reduce the ringing timeout (SS_SIP_TIMEOUT_RINGING) to minimize the overlap window
โ Problem 3: CPS Overload with Aggressive Mode
๐ Symptom: System CPS (calls per second) increases significantly after enabling aggressive failover, causing performance problems during peak hours.
๐ก Cause: Each failed gateway attempt generates a complete SIP INVITE transaction. In aggressive mode, every call that does not connect on the first attempt generates additional INVITE attempts, multiplying the signaling load.
โ Solutions:
- ๐ง Set SS_GATEWAY_SWITCH_LIMIT to 3โ4 to bound the maximum CPS multiplier per call
- ๐ Monitor system capacity planning metrics during peak hours
- ๐ Consider enabling aggressive mode only during off-peak hours or only for specific routes
๐ก Aggressive Gateway Failover Best Practices
๐ฏ Follow these best practices to maximize the ASR benefit of VOS3000 aggressive gateway failover while minimizing the PDD cost. Proper VOS3000 aggressive gateway failover deployment requires careful attention to these guidelines:
| Best Practice | Recommendation | Reason |
|---|---|---|
| ๐ Always pair with switch limit | Set SS_GATEWAY_SWITCH_LIMIT = 3โ4 | ๐ง Bounds PDD while preserving ASR benefit |
| ๐ Keep RTP lock-in enabled | SS_GATEWAY_SWITCH_STOP_AFTER_RTP_START = On | ๐ก๏ธ Prevents one-way audio โ overrides aggressive mode |
| ๐ซ Keep busy stop enabled | SS_GATEWAY_SWITCH_STOP_AFTER_USER_BUSY = On | ๐ Prevents wasteful switching after genuine busy |
| ๐ง Use per-gateway configuration | Enable aggressive mode only on routes that benefit | ๐ Avoids unnecessary PDD on reliable routes |
| ๐ Measure before and after | Compare ASR and PDD metrics before enabling | ๐ Data-driven decision making |
โ Frequently Asked Questions
โ What is the default value of SS_GATEWAY_SWITCH_UNTIL_CONNECT?
๐ง The default value is Off, as documented in the VOS3000 2.1.9.07 manual ยง4.3.5.2 (page 236). This means that by default, VOS3000 uses standard failover behavior: it stops switching when the call reaches ringing state, receives a busy signal, or encounters a no-answer condition. The Off default is the conservative choice that prioritizes lower PDD over higher ASR. You should only enable the VOS3000 aggressive gateway failover mode after analyzing your traffic patterns and determining that the ASR improvement justifies the potential PDD increase. The VOS3000 aggressive gateway failover decision should always be data-driven.
โ Does aggressive mode override the RTP lock-in stop condition?
๐ก๏ธ No, the VOS3000 manual explicitly states: “This option is NOT affected by ‘Switch gateway until connect’. When ‘Switch gateway until connect’ is on, if received RTP packet, stop switch gateway.” This means that even in aggressive mode, if RTP media starts flowing, VOS3000 stops switching immediately. The RTP lock-in failover (SS_GATEWAY_SWITCH_STOP_AFTER_RTP_START) always takes priority over aggressive mode. This is a critical safety mechanism that prevents one-way audio and ghost calls, regardless of the failover mode you select. For more details, see our RTP media proxy guide.
โ Does aggressive mode override the busy stop condition?
๐ซ No, the VOS3000 manual states: “When ‘Switch gateway until connect’ is on, if received busy signal, stop switch gateway.” The busy stop switch (SS_GATEWAY_SWITCH_STOP_AFTER_USER_BUSY) is independent of the VOS3000 aggressive gateway failover setting. When a 486 Busy Here response is received, VOS3000 stops switching regardless of whether VOS3000 aggressive gateway failover is On or Off. This is because a busy signal indicates the called party is genuinely unavailable โ trying other gateways will not change the user’s busy status and would only waste system resources and inflate CPS.
โ When should I use aggressive gateway failover?
๐ You should consider enabling VOS3000 aggressive gateway failover when you have multiple routing gateways for the same destination and some of them consistently ring without connecting. The VOS3000 aggressive gateway failover is particularly valuable for wholesale termination with multiple carrier routes, international traffic with variable quality paths, and scenarios where ASR improvement is more valuable than PDD optimization. You should avoid aggressive mode for retail operations where callers are PDD-sensitive, calling card services where silence during switching frustrates users, and deployments where all gateways have similar quality (no ASR benefit from switching). Always measure ASR and PDD before and after enabling aggressive mode to verify the benefit. Use the gateway analysis reports for data-driven decision making.
โ Can I enable aggressive mode for specific gateways only?
๐ง Yes, VOS3000 supports per-gateway configuration of the VOS3000 aggressive gateway failover mode. In the routing gateway’s “Additional settings” panel, you can set “Switch gateway until connect” to On, Off, or Default (which inherits the system parameter value). This per-gateway override allows you to enable aggressive mode only on the gateways and routes where it provides measurable benefit, while keeping standard mode on reliable routes where it would only add unnecessary PDD. This granular control is the recommended approach for production deployments.
โ How does aggressive mode affect H.323 calls?
๐ก For H.323 calls, the VOS3000 aggressive gateway failover mode works identically to SIP โ the softswitch continues switching gateways until it receives an H.323 Connect message. The H.323 equivalent of SIP 180 Ringing is the Alerting message, and in aggressive mode, receiving an Alerting does not stop the switching process. The softswitch will continue trying other gateways until one returns a Connect message. The same overrides apply under VOS3000 aggressive gateway failover: RTP lock-in and busy stop conditions still take priority over the VOS3000 aggressive gateway failover mode for H.323 calls. For H.323-specific parameters, see the VOS3000 system parameters reference.
๐ Need Expert Help with VOS3000 Aggressive Gateway Failover?
๐ง Configuring the VOS3000 aggressive gateway failover mode requires careful balancing between call completion rates and post-dial delay performance. The VOS3000 aggressive gateway failover setting is one of the most impactful parameters in your failover strategy. Whether you are evaluating whether aggressive mode will improve your ASR, configuring per-gateway failover settings, or troubleshooting PDD issues after enabling aggressive switching, expert guidance ensures your VOS3000 system achieves the optimal balance for your business requirements. ๐
๐ฌ WhatsApp: +8801911119966 โ Get immediate assistance with VOS3000 aggressive gateway failover configuration, ASR optimization, and PDD tuning. Our team specializes in VOS3000 failover strategy design, routing quality analysis, and carrier-grade VoIP performance optimization. ๐ง
๐ Explore related VOS3000 failover and routing configuration guides:
- VOS3000 Vendor Failover Setup โ Complete guide to configuring gateway failover
- VOS3000 ASR ACD Analysis โ Monitoring and improving call completion rates
- VOS3000 SIP Call Progress Timeout โ Tuning SIP timeout for failover optimization
- VOS3000 Routing Optimization โ Optimizing routing for quality and cost
- VOS3000 Gateway Configuration Routing Mapping โ Gateway routing and mapping setup
- VOS3000 LCR Least Cost Routing โ Cost-based routing configuration
๐ Need Professional VOS3000 Setup Support?
For professional VOS3000 installations and deployment, VOS3000 Server Rental Solution:
๐ฑ WhatsApp: +8801911119966
๐ Website: www.vos3000.com
๐ Blog: multahost.com/blog
๐ฅ Downloads: VOS3000 Downloads
![]() | ![]() | ![]() |


