π 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. π
π 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:
π 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).
| 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 |
π 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:
π 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.
π 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:
π 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.
π 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:
π 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.
π 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.
| 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 |
π§ 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.
π 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:
π 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:
π 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:
π― 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 |
π 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.
π« 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.
π 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.
π 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.
π§ 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.
π 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.
π§ 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:
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 ASR cost routing order with SS_GATEWAY_ASR_ROUTE_SORT_CONFIG. Learn how to configure priority: ASR-first for…
Master VOS3000 real-time gateway ASR calculation with SS_GATEWAY_ASR_CALCULATE, RESERVE_TIME, and RESERVE_SEPARATE. Learn how data-driven ASR…
Master the VOS3000 busy stop switch parameter SS_GATEWAY_SWITCH_STOP_AFTER_USER_BUSY. Learn why continuing to switch after 486…
Master VOS3000 aggressive gateway failover with SS_GATEWAY_SWITCH_UNTIL_CONNECT. Learn when aggressive mode improves ASR and when…
Master the VOS3000 RTP lock-in failover parameter SS_GATEWAY_SWITCH_STOP_AFTER_RTP_START. Learn why switching after RTP starts causes…
Master the VOS3000 gateway switch limit parameter SS_GATEWAY_SWITCH_LIMIT. Learn how capping failover attempts prevents long…