VOS3000 Prefix Mode Extension Expiration Smart Gateway Selection Method
๐ When a call arrives at VOS3000 and matches a routing gateway by its prefix, but that gateway cannot deliver the call, the softswitch must decide: should it try shorter prefix matches that also apply to this number, or should it stop trying additional prefixes altogether? This decision is controlled by the VOS3000 prefix mode extension expiration setting โ a per-gateway configuration that determines how aggressively VOS3000 searches for alternative prefix matches when the primary gateway fails.
Understanding and correctly configuring the VOS3000 prefix mode extension expiration is essential for building routing chains that balance call completion with routing efficiency. ๐ง
โ๏ธ VOS3000 supports four prefix modes for each routing gateway: Extension, Expiration, Terminal, and Continual. The Extension and Expiration modes are the two most strategically important VOS3000 prefix mode extension expiration options because they represent opposite philosophies: Extension mode enables fallback to shorter prefixes when a gateway fails, maximizing the chances of call delivery, while Expiration mode stops prefix-based failover entirely, creating a hard boundary that prevents routing beyond the matched prefix scope.
The Terminal and Continual modes are variants that control how the prefix chain is traversed. The VOS3000 prefix mode extension expiration configuration directly impacts your call completion rate, routing efficiency, and PDD performance. ๐
๐ฏ This guide provides a complete, manual-verified reference for VOS3000 prefix mode configuration. All mode definitions and examples are sourced from the official VOS3000 2.1.8.0/2.1.9.07 English manual ยง2.5.1.1 (Routing Gateway configuration), with detailed explanations of how each VOS3000 prefix mode extension expiration mode works, practical configuration scenarios, and strategic recommendations for different routing architectures. ๐
Table of Contents
๐ What Is VOS3000 Prefix Mode?
๐ The VOS3000 prefix mode is a per-gateway setting that controls what happens when a routing gateway matched by a specific prefix cannot deliver a call. The VOS3000 prefix mode extension expiration behavior determines how the softswitch handles prefix-based failover. When you configure a routing gateway, you assign it one or more prefixes (such as “901,” “90,” or “9”) that determine which called numbers this gateway will handle. When a call arrives with a called number that matches multiple gateway prefixes, VOS3000 must decide how to traverse the prefix hierarchy if the first gateway fails.
๐ก Why prefix mode matters:
- ๐ Call completion: Extension mode provides more fallback options, increasing the chance that a call will be delivered even when the primary gateway fails โ this is a key benefit of the VOS3000 prefix mode extension expiration Extension setting
- โฑ๏ธ PDD impact: Expiration mode stops searching earlier, reducing PDD for calls that cannot be delivered through any prefix match โ this VOS3000 prefix mode extension expiration Expiration advantage saves caller time
- ๐ Routing efficiency: Expiration mode avoids wasting switch attempts on short-prefix gateways that may have entirely different rate and quality characteristics
- ๐ง Billing accuracy: Prefix mode affects which gateway’s rate table is used for billing, which impacts the rate applied to the call
- ๐ Number transformation: Different prefix lengths may require different digit manipulation (stripping, adding), and prefix mode controls whether those transformations cascade
๐ The Four VOS3000 Prefix Modes
๐ VOS3000 supports four prefix modes, each defining a different VOS3000 prefix mode extension expiration behavior for prefix-based gateway traversal when a call fails to connect through the initially matched gateway. The VOS3000 prefix mode extension expiration choice determines the failover scope:
| Prefix Mode | Behavior | When Failed Gateway Matched by This Prefix |
|---|---|---|
| ๐ Extension | Shorter prefixes will be tried | VOS3000 falls back to gateways matching shorter prefixes of the same number |
| ๐ซ Expiration | No more prefixes will be tried | VOS3000 stops trying prefix-based gateways entirely โ call fails |
| ๐ด Terminal | Only same-length prefix gateways are tried | VOS3000 only tries other gateways with the same prefix length, not shorter ones |
| ๐ข Continual | All prefixes will be tried | VOS3000 tries gateways matching all shorter prefixes in order |
๐ก Extension vs Continual distinction: Both Extension and Continual modes try shorter prefixes when a gateway fails under the VOS3000 prefix mode extension expiration system, but they differ in scope. Extension mode tries progressively shorter prefixes that are logical extensions of the current prefix, while Continual mode tries all remaining prefix-matched gateways regardless of their prefix relationship to the current one.
The VOS3000 prefix mode extension expiration distinction between Extension and Continual is important for routing design. The practical difference is that the VOS3000 prefix mode extension expiration Continual mode provides the broadest possible failover coverage, while Extension mode provides a more targeted fallback within the prefix hierarchy. The VOS3000 manual documents these modes in the routing gateway configuration section (ยง2.5.1.1, page 26).
๐ VOS3000 Prefix Mode Configuration Location
| Attribute | Detail |
|---|---|
| ๐ Setting Name | Prefix mode |
| ๐ Manual Reference | VOS3000 2.1.8.0/2.1.9.07 manual ยง2.5.1.1 (page 26) |
| ๐ Configuration Path | Operation management > Gateway operation > Routing gateway > Gateway prefix > Prefix mode |
| ๐ Scope | Per gateway โ each routing gateway can have its own prefix mode setting |
| ๐ Options | Extension / Expiration / Terminal / Continual |
๐ Extension Mode: Shorter Prefixes Will Be Tried
๐ When a routing gateway’s prefix mode is set to Extension, VOS3000 will attempt to route the call through gateways matching shorter prefixes if the current gateway cannot deliver the call. The VOS3000 prefix mode extension expiration Extension setting creates a cascading fallback mechanism where the most specific (longest) prefix match is tried first, and progressively less specific (shorter) prefix matches are attempted as fallbacks.
๐ก How Extension mode works:
- ๐ Call arrives for number “90080001”
- ๐ VOS3000 matches gateways by prefix: gw2 (prefix “9008”), gw4 (prefix “900”), gw3 (prefix “90”), gw1 (prefix “9”)
- ๐ VOS3000 tries gw2 first (longest prefix match)
- ๐ If gw2 fails and its prefix mode is Extension, VOS3000 tries gw4 (shorter prefix “900”)
- ๐ If gw4 fails, VOS3000 tries gw3 (shorter prefix “90”)
- ๐ If gw3 fails, VOS3000 tries gw1 (shortest prefix “9”)
- ๐ซ If all fail, the call is rejected
๐ When to use Extension mode: Extension mode is appropriate when you have a hierarchical routing structure where longer prefixes represent more specific (and potentially higher-quality) routes, and shorter prefixes represent broader fallback routes.
This is common in international routing where “country code + area code” (long prefix) routes to a specific regional carrier, while “country code only” (short prefix) routes to a general carrier. If the regional carrier fails, Extension mode ensures the call falls back to the general carrier. For prefix configuration guidance, see our prefix settings guide.
๐ซ Expiration Mode: No More Prefixes Will Be Tried
๐ When a routing gateway’s prefix mode is set to Expiration, VOS3000 will not attempt to route the call through any other prefix-matched gateways if the current gateway fails. The VOS3000 prefix mode extension expiration Expiration setting creates a hard boundary in the routing chain.
๐ก How Expiration mode works:
- ๐ Call arrives for number “90080001”
- ๐ VOS3000 matches gateways by prefix: gw2 (prefix “9008”), gw4 (prefix “900”), gw3 (prefix “90”), gw1 (prefix “9”)
- ๐ VOS3000 tries gw2 first (longest prefix match)
- ๐ซ If gw2 fails and its prefix mode is Expiration, VOS3000 stops trying โ no fallback to shorter prefixes
- ๐ The call is rejected with an appropriate failure response
๐ When to use Expiration mode: Expiration mode is appropriate when the matched gateway represents the only acceptable route for that prefix, and routing through a shorter-prefix gateway would be inappropriate or undesirable. Common scenarios include: dedicated private routes where only one carrier is authorized, premium rate destinations where cost control is critical, and emergency or special service numbers where routing must be precisely controlled.
Expiration mode prevents calls from “leaking” to unauthorized or inappropriate backup routes. The VOS3000 prefix mode extension expiration Expiration mode is the right choice for these strict routing scenarios.
๐ Terminal and Continual Modes
๐ In addition to Extension and Expiration, VOS3000 supports two additional VOS3000 prefix mode extension expiration modes that provide more granular control over the prefix traversal behavior:
๐ด Terminal Mode: Same-Length Prefixes Only
๐ When a gateway’s prefix mode is set to Terminal, VOS3000 only tries other gateways that match the same prefix length as the current gateway. It does not fall back to shorter prefixes. This is useful when you have multiple gateways serving the same prefix length (e.g., multiple carriers for prefix “9008”) but do not want to fall back to broader routes.
๐ก Terminal mode example from the VOS3000 manual (page 26): “If the prefix mode of ‘gw2’ is set to ‘Terminal’, the prefixes being tried for the number ‘90080001’ will be ‘gw2’ and ‘gw4’ in order.” Here, gw2 matches prefix “9008” and gw4 also matches at the same prefix level. The Terminal mode allows VOS3000 to try gw4 as a same-level alternative, but does not cascade to shorter-prefix gateways like gw3 or gw1.
๐ข Continual Mode: All Prefixes Tried
๐ When a gateway’s prefix mode is set to Continual, VOS3000 tries all remaining prefix-matched gateways in order, including those matching shorter prefixes. This is the most aggressive prefix traversal mode, providing the maximum number of fallback options for call delivery.
๐ก Continual mode example from the VOS3000 manual (page 26): “If the prefix mode of ‘gw2’ is set to ‘Continual’, while others remain the same, the prefixes being tried for the number ‘90080001’ will be ‘gw2’, ‘gw4’, ‘gw3’, and ‘gw1’ in order.” This means that when gw2 fails, VOS3000 tries every other prefix-matched gateway, from the most specific to the least specific, giving the call the maximum chance of completion.
๐ Complete Prefix Mode Comparison Table
| Prefix Mode | Same-Length Prefixes | Shorter Prefixes | Call Completion | PDD Impact |
|---|---|---|---|---|
| ๐ Extension | โ Yes | โ Yes (progressive) | High โ broad fallback | Moderate โ adds some attempts |
| ๐ซ Expiration | โ No | โ No | Low โ no fallback at all | Minimal โ fast failure |
| ๐ด Terminal | โ Yes | โ No | Medium โ limited to same level | Low โ few additional attempts |
| ๐ข Continual | โ Yes | โ Yes (all) | Highest โ maximum fallback | Highest โ many additional attempts |
๐ Prefix Mode and Number Transformation
๐ง The VOS3000 prefix mode extension expiration setting directly affects how number transformation (digit manipulation) works in the routing chain. When different prefix lengths are configured with different callee rewrite rules, the prefix mode determines whether those transformations cascade when a gateway fails:
| Transformation Aspect | Extension Mode Impact | Expiration Mode Impact |
|---|---|---|
| ๐ Prefix stripping | Each shorter prefix gateway applies its own stripping rules | Only the matched gateway’s stripping rules apply |
| ๐ข Number transformation | Called number may be transformed differently at each fallback level | No cascading transformations โ number stays as transformed by first gateway |
| ๐ฐ Rate table lookup | Each gateway uses its own rate table โ may result in different billing rates | Only one rate table is consulted โ consistent billing |
| ๐ Caller ID handling | Different gateways may transform caller ID differently | Consistent caller ID transformation |
๐ก Billing consistency note: When Extension mode causes a call to fall back to a shorter-prefix gateway, the billing rate may change because each gateway has its own rate table. A call that was initially routed through a premium gateway (with a specific long prefix and premium rate) might end up being delivered through a standard gateway (with a shorter prefix and lower rate) after fallback. While this can be beneficial for call completion, it means that the actual billing rate for a call may differ from the rate initially expected.
For consistent billing regardless of fallback, configure all gateways in a prefix chain with the same rate table, or use Expiration mode to prevent fallback to gateways with different rate structures. For more on rate configuration, see our gateway route prefix billing guide.
๐ก๏ธ Common Prefix Mode Problems and Solutions
โ Problem 1: Calls Not Falling Back to Backup Routes
๐ Symptom: When a primary gateway fails, calls are rejected immediately instead of being tried through backup gateways that match shorter prefixes.
๐ก Cause: The primary gateway’s prefix mode is set to Expiration, which prevents VOS3000 from trying shorter-prefix gateways as fallbacks.
โ Solutions:
- ๐ง Change the gateway’s prefix mode to Extension or Continual to enable fallback
- ๐ Verify that backup gateways with shorter prefixes are properly configured and active
- ๐ Check the call routing configuration to ensure the prefix hierarchy is set up correctly
โ Problem 2: Unexpected Billing Rates After Fallback
๐ Symptom: Calls that fall back to shorter-prefix gateways are billed at different rates than expected, causing billing discrepancies.
๐ก Cause: Extension or Continual mode causes calls to be routed through backup gateways that have different rate tables than the primary gateway, resulting in unexpected billing charges.
โ Solutions:
- ๐ง Use Expiration mode for gateways where billing consistency is critical
- ๐ฐ Configure all gateways in a prefix chain with the same or compatible rate tables
- ๐ Monitor CDR records for rate discrepancies using CDR billing discrepancy analysis
โ Problem 3: Excessive PDD from Deep Prefix Cascading
๐ Symptom: Calls experience long PDD because VOS3000 is trying many gateway prefixes in sequence, each adding a timeout before moving to the next.
๐ก Cause: Continual mode with many prefix-matched gateways creates a deep fallback chain where each failed attempt adds signaling delay.
โ Solutions:
- ๐ง Use Terminal or Extension mode instead of Continual to limit the fallback depth
- ๐ Set SS_GATEWAY_SWITCH_LIMIT to 3โ4 to cap the total number of gateway attempts per call
- ๐ Reduce SIP INVITE timeout (SS_SIP_TIMEOUT_INVITE) to speed up individual failover attempts
๐ก Prefix Mode Configuration Best Practices
๐ฏ Follow these best practices for optimal VOS3000 prefix mode extension expiration configuration:
| Best Practice | Recommendation | Reason |
|---|---|---|
| ๐ Use Extension for hierarchical routes | Set Extension mode for gateways with natural prefix hierarchies โ the VOS3000 prefix mode extension expiration Extension option enables intelligent fallback | ๐ Enables intelligent fallback through progressively broader routes |
| ๐ซ Use Expiration for dedicated routes | Set Expiration mode for private or premium routes โ the VOS3000 prefix mode extension expiration Expiration option prevents unauthorized fallback | ๐ Prevents unauthorized fallback to non-premium routes |
| ๐ Align prefix lengths with routing hierarchy | Design prefix lengths that reflect your routing fallback structure for proper VOS3000 prefix mode extension expiration behavior | ๐ง Makes prefix mode behavior predictable and logical |
| ๐ฐ Standardize rate tables across prefix chain | Use compatible rates for gateways that may serve as fallbacks under the VOS3000 prefix mode extension expiration Extension mode | ๐ Prevents billing discrepancies when fallback occurs |
| ๐ง Pair with switch limit | Set SS_GATEWAY_SWITCH_LIMIT = 3โ4 even with VOS3000 prefix mode extension expiration Extension mode enabled | โฑ๏ธ Caps PDD even when deep prefix cascading is enabled |
โ Frequently Asked Questions
โ What is the difference between Extension and Continual prefix modes?
๐ Both Extension and Continual modes try shorter prefixes when a gateway fails, but they differ in scope. Extension mode progressively tries shorter prefixes in a hierarchical manner โ it falls back to the next shorter prefix match, then the next, in order of decreasing specificity. Continual mode tries all remaining prefix-matched gateways, regardless of their prefix relationship to the current gateway. The VOS3000 manual example on page 26 illustrates this: with Terminal mode, only “gw2” and “gw4” are tried (same-level prefixes), while with Continual mode, all four gateways are tried (“gw2”, “gw4”, “gw3”, “gw1” in order).
Continual mode provides the broadest fallback coverage but may also produce the longest PDD and the most variable billing rates.
โ When should I use Expiration mode instead of Extension mode?
๐ซ Use Expiration mode when the gateway represents the only acceptable route for that prefix, and falling back to a shorter-prefix gateway would be inappropriate. The VOS3000 prefix mode extension expiration Expiration option is essential for these specific scenarios: (1) Private or dedicated routes where only one carrier is authorized to handle traffic for a specific prefix; (2) Premium rate destinations where cost control requires that calls only go through the designated premium gateway; (3) Emergency or special service numbers where routing must be precisely controlled;
(4) Compliance scenarios where regulatory requirements mandate that certain call types only traverse specific network paths. In all other cases, Extension mode is generally preferred because it provides fallback options that improve call completion rates. The VOS3000 prefix mode extension expiration Extension option delivers better call delivery rates in most deployments.
โ How does prefix mode interact with SS_GATEWAY_SWITCH_LIMIT?
๐ The VOS3000 prefix mode and the gateway switch limit work at different levels but both affect how many gateways are tried for a call. The VOS3000 prefix mode extension expiration behavior controls prefix-level failover, while SS_GATEWAY_SWITCH_LIMIT caps the total number of auto-switch attempts per call, regardless of whether those attempts come from prefix-mode fallback or from failover within the same prefix. For example, if SS_GATEWAY_SWITCH_LIMIT is set to 3 and a gateway with Extension mode fails,
VOS3000 may try up to 3 additional gateways (from shorter prefixes or from same-prefix alternatives), but no more. This means that even with Continual mode and many prefix-matched gateways, the switch limit ensures that the total number of attempts per call remains bounded. For more on the switch limit, see our system parameters reference.
โ Does changing prefix mode affect existing calls?
๐ No, Changing a gateway’s prefix mode only affects new calls that are processed after the VOS3000 prefix mode extension expiration configuration change. Calls that are already in progress or already in the failover process are not affected by the configuration change. However, you should be aware that the change takes effect immediately for new calls โ there is no restart or service restart required.
If you are changing from VOS3000 prefix mode extension expiration Extension to Expiration mode, new calls will immediately stop falling back to shorter prefixes, which may cause a sudden drop in call completion rates if the primary gateway is experiencing problems. Always make prefix mode changes during a maintenance window or low-traffic period when possible.
โ Can different gateways have different prefix modes?
๐ง Yes, the VOS3000 prefix mode extension expiration setting is configured per gateway, not system-wide. Each routing gateway can have its own VOS3000 prefix mode extension expiration setting. This allows you to design a mixed routing strategy where some gateways use Extension mode (for broad fallback) while others use Expiration mode (for strict routing control).
For example, you might configure your premium international gateways with Expiration mode to prevent fallback to standard routes, while configuring your domestic gateways with Extension mode to maximize call completion. This per-gateway flexibility is one of the strengths of the VOS3000 prefix mode extension expiration system. For help designing a mixed prefix mode strategy, contact us via WhatsApp.
โ How does prefix mode affect the routing gateway sort order?
๐ Prefix mode operates independently of the gateway sort order parameters (SS_GATEWAY_ASR_ROUTE_SORT_CONFIG and SS_GATEWAY_FEE_RATE_ROUTE_SORT_CONFIG). The sort order determines which gateways are tried first within a single prefix level, while the VOS3000 prefix mode extension expiration setting determines whether gateways at different prefix levels are tried after a failure.
Both mechanisms work together: the sort order selects the preferred gateway within a prefix level, and the VOS3000 prefix mode extension expiration configuration determines whether the search extends to shorter prefix levels if all gateways at the current level fail. For a complete understanding of how these mechanisms interact, see the routing optimization guide.
๐ Need Expert Help with VOS3000 Prefix Mode Configuration?
๐ง Correct configuration of the VOS3000 prefix mode extension expiration setting is essential for building routing chains that balance call completion with routing efficiency and billing accuracy. The VOS3000 prefix mode extension expiration choice determines whether your routing chains are flexible or strict.
Whether you are designing a hierarchical prefix structure with Extension mode fallback, implementing strict routing boundaries with Expiration mode, or troubleshooting prefix-mode-related call delivery problems, expert guidance ensures your VOS3000 routing architecture delivers optimal performance. ๐
๐ฌ WhatsApp: +8801911119966 โ Get immediate assistance with VOS3000 prefix mode extension expiration configuration, VOS3000 prefix mode extension expiration troubleshooting, routing chain design, and number transformation troubleshooting. Our team specializes in VOS3000 routing architecture, prefix-based failover design, and carrier-grade VoIP deployment. ๐ง
๐ Explore related VOS3000 prefix and routing configuration guides:
- VOS3000 Prefix Settings Guide โ Complete prefix configuration for rate, area, client, and vendor
- VOS3000 Gateway Route Prefix Billing โ How prefix stripping affects billing lookup
- VOS3000 Callee Rewrite Rule Prefix โ Number transformation and rewrite rules
- VOS3000 Routing Optimization โ Quality and cost routing optimization
- VOS3000 Gateway Configuration Routing Mapping โ Gateway routing and mapping setup
- VOS3000 Call Routing โ Complete call routing configuration guide
๐ 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
![]() | ![]() | ![]() |


