VOS3000 Black White List Groups, VOS3000 System White List, VOS3000 Callee Balance Verification, VOS3000 Dial Plan Wildcards, VOS3000 Number Length Matching, VOS3000 Random Routing Patterns, VOS3000 Position Keeper Dollar, VOS3000 LRN Number Portability, VOS3000 LRN Numbers

VOS3000 Dial Plan Wildcards: Complete Asterisk Question Mark Pattern Easy Guide

VOS3000 Dial Plan Wildcards: Complete Asterisk Question Mark Pattern Guide

๐Ÿ“ž Every VOS3000 deployment relies on dial plans to transform phone numbers as calls flow through the softswitch. Whether you need to add area codes, strip prefixes, or rewrite entire number sequences, VOS3000 dial plan wildcards give you the pattern-matching power to do it precisely and efficiently. The two wildcard characters โ€” asterisk (*) and question mark (?) โ€” are the foundation of flexible number transformation in VOS3000, and understanding how they work is essential for any VoIP engineer configuring routing rules. ๐Ÿ”ง

โš™๏ธ The asterisk wildcard matches any number of digits (including zero), making it ideal for catch-all rules that apply regardless of the dialed number length. The question mark wildcard matches exactly one digit, giving you fine-grained control when you need to match specific number patterns with positional precision. Together, these VOS3000 dial plan wildcards enable sophisticated number transformation rules that handle national dialing conventions, international prefix manipulation, and gateway-specific number formatting requirements. ๐Ÿ“Š

๐ŸŽฏ This guide covers every aspect of VOS3000 dial plan wildcards: how the asterisk and question mark characters match digits in original prefix patterns, how they interact with target prefix replacement rules, how VOS3000 resolves conflicts between overlapping dial plans using longest-match priority, and practical configuration examples for common VoIP routing scenarios. Need expert help? WhatsApp us at +8801911119966 for professional VOS3000 configuration support. ๐Ÿ“ž

Table of Contents

๐Ÿ” What Are VOS3000 Dial Plan Wildcards?

โฑ๏ธ VOS3000 dial plan wildcards are special characters used in the Original Prefix field of dial plan rules to match variable digit patterns in dialed numbers. The VOS3000 softswitch evaluates incoming call numbers against dial plan rules, and when a match is found, it applies the corresponding Target Prefix transformation. The wildcard characters extend this matching capability beyond exact digit-to-digit comparison, enabling a single dial plan rule to cover an entire range of number patterns. ๐Ÿ“ž

๐Ÿ’ก Why wildcards matter: Without wildcard matching, you would need to create a separate dial plan rule for every possible number prefix โ€” an impractical approach when dealing with thousands of area codes, mobile prefixes, or international dialing patterns. Wildcards let you express complex matching logic in a single rule, reducing configuration complexity and making your dial plan table manageable and maintainable.

๐Ÿ“ Location in VOS3000 Client: Operation management โ†’ Gateway operation โ†’ Routing gateway โ†’ Dial plan (also available in Mapping gateway and Phone dial plans)

๐Ÿ“‹ The Two VOS3000 Dial Plan Wildcards Characters

๐ŸŒ VOS3000 supports exactly two wildcard characters for pattern matching in dial plans, each with distinct matching behavior:

WildcardNameMatching BehaviorUse Case
*Asterisk (star)Matches any number of digits, including zero digitsCatch-all rules, add/remove/replace entire prefixes
?Question markMatches exactly one digit (0-9)Positional matching where a specific digit position is variable

๐Ÿ”‘ Key distinction: The asterisk (*) is greedy โ€” it consumes as many digits as possible in the match. The question mark (?) is precise โ€” it matches exactly one digit and no more. You can use multiple question marks in a row (e.g., ???) to match exactly three digits, but you cannot control the specific digit value โ€” each ? matches any single digit from 0 to 9.

โš™๏ธ Asterisk Wildcard (*) โ€” Match Any Number of Digits

๐Ÿ”ง The asterisk wildcard is the most powerful and most frequently used of the VOS3000 dial plan wildcards. In the Original Prefix field, the asterisk matches any sequence of digits โ€” including an empty sequence. This means a dial plan with Original Prefix “*” will match every possible dialed number, making it the ultimate catch-all rule.

According to the official VOS3000 2.1.9.07 manual ยง4.3.1, the following examples demonstrate asterisk wildcard behavior in dial plans:

Original PrefixTarget PrefixInput NumberResultExplanation
*025*117025117Add prefix 025 before any number
*(empty)02584316146(empty)Delete entire number
*123456780258431614612345678Replace entire number with fixed value
025*01002584316146010Replace 025-prefixed number with 010
025*010*0258431614601002584316146Add prefix 010 while keeping 025 prefix

๐Ÿ’ก How the asterisk preserves digits: When you use the asterisk in both the Original Prefix and Target Prefix, the digits matched by the asterisk in the original number carry through to the target. For example, Original Prefix “025*” matches “02584316146” where the asterisk matches “84316146”. In Target Prefix “010*”, the “010” is the new prefix and the “*” carries forward the matched digits “84316146”, producing “01084316146”. This is documented in the VOS3000 manual ยง4.3.1. For SIP protocol standards, refer to RFC 3261.

๐Ÿ“‹ Asterisk Wildcard Priority Rules

โš ๏ธ The VOS3000 dial plan wildcards follow strict priority rules when multiple dial plan rules could match the same number. Understanding these rules is critical to avoid unexpected number transformations:

RuleDescriptionExample
Longest match winsWhen multiple dial plans match, the one with the longest original prefix is selected“010” wins over “0” for number 01012345678
* has lowest priorityThe asterisk wildcard pattern is only matched when no other specific pattern matches“025*” matches only if no more specific “0258” rule exists
Exact match is highestAn exact prefix without wildcards always takes precedence over wildcard patterns of the same length“025” exact beats “02?” wildcard

๐Ÿ”‘ Practical implication: You can safely create a catch-all “*” rule as a default transformation while adding more specific rules for particular prefixes. VOS3000 will always prefer the more specific rule. This layered approach is the recommended way to structure your dial plan configuration โ€” a broad default with narrow exceptions.

โ“ Question Mark Wildcard (?) โ€” Match Exactly One Digit

๐ŸŽฏ The question mark wildcard in VOS3000 dial plan wildcards matches exactly one digit at a specific position. This gives you positional control that the asterisk cannot provide. While the asterisk is broad and greedy, the question mark is narrow and precise โ€” it matches any single digit from 0 to 9, but only one digit in that exact position.

According to the VOS3000 manual ยง4.3.1, the question mark can appear multiple times in a single pattern, and each occurrence matches an independent digit. The following example from the manual illustrates this behavior:

Original PrefixTarget PrefixInput NumberResultExplanation
0??843184310258431614684316146Two ? wildcards match any two digits between 0 and 8431
*12345?780258431614612345178 (or similar)? in target prefix becomes a random digit

๐Ÿ’ก Question mark in target prefix: When the question mark appears in the Target Prefix field, it generates a random digit (0-9) at that position. This is different from the Original Prefix usage where it matches an existing digit. This distinction is crucial โ€” in the original prefix, ? matches any digit; in the target prefix, ? produces a random digit. This feature is documented in ยง4.3.1 of the VOS3000 manual.

๐Ÿ“‹ Common Question Mark Pattern Examples

PatternMatchesDoes NOT MatchScenario
0??84310258431…, 0138431…, 0998431…08431… (only one digit after 0)Area codes with two-digit variable middle
00?001, 002, 003… 00900, 0012 (too many/few digits)International prefix with single country digit
13???????1301234567, 139876543213, 13012 (too short)Mobile number pattern with fixed prefix

๐Ÿ–ฅ๏ธ Combined Wildcard Patterns with Semicolons and Ranges

๐Ÿ”„ The VOS3000 dial plan wildcards become even more powerful when combined with semicolon-separated targets and numeric ranges. The VOS3000 manual ยง4.3.1 documents that multiple substitution targets can be specified using the semicolon (;) separator, and ranges can be expressed using a dash (-) between numbers.

Original PrefixTarget PrefixInput NumberPossible ResultsExplanation
025*8008100-8008121025843161468008100 to 8008121 (randomly selected)Range generates numbers from 8008100 to 8008121
*12345678;8008100-8008121;12345?780258431614612345678 or 8008100-8008121 or 12345?78Randomly chooses one of the three rules, then applies

๐Ÿ’ก Semicolon behavior: When the target prefix contains semicolons, VOS3000 randomly selects one of the semicolon-separated rules at call time. This enables load-balanced number distribution across multiple target numbers โ€” a technique frequently used for distributing inbound calls across multiple service numbers or hunt groups. Combined with VOS3000 dial plan wildcards, this creates powerful routing patterns.

๐Ÿ“‹ Step-by-Step VOS3000 Dial Plan Wildcards Configuration

๐Ÿ–ฅ๏ธ Follow these steps to configure dial plan wildcard rules on a routing gateway, based on the VOS3000 2.1.9.07 manual ยง4.3.1:

Step 1: Access the Dial Plan Configuration ๐ŸŒ

  1. ๐Ÿ” Log in to VOS3000 Client
  2. ๐Ÿ“Œ Navigate: Operation management โ†’ Gateway operation โ†’ Routing gateway
  3. ๐Ÿ” Select the target routing gateway
  4. ๐Ÿ“‹ Go to the Dial plan tab in the gateway’s configuration

Step 2: Create Asterisk Wildcard Rules โฐ

  1. โž• Click Add to create a new dial plan row
  2. ๐Ÿ“ In the Original Prefix field, enter the wildcard pattern (e.g., “025*” for all numbers starting with 025)
  3. ๐Ÿ“ In the Target Prefix field, enter the replacement pattern (e.g., “010*” to prepend 010 while preserving the rest)
  4. ๐Ÿ’พ Save the dial plan configuration

Step 3: Create Question Mark Wildcard Rules ๐ŸŽฏ

  1. โž• Click Add to create a new dial plan row
  2. ๐Ÿ“ In the Original Prefix field, enter the positional wildcard pattern (e.g., “0??8431” to match any two digits between 0 and 8431)
  3. ๐Ÿ“ In the Target Prefix field, enter the replacement (e.g., “8431” to strip the leading 0 and two variable digits)
  4. ๐Ÿ’พ Save the configuration

Step 4: Verify Dial Plan Matching Order ๐Ÿ”

  1. ๐Ÿ“Š Review all dial plan rules to ensure more specific rules appear before generic ones
  2. ๐Ÿ”ง Remember: VOS3000 uses longest-match priority โ€” the rule with the longest matching original prefix wins
  3. ๐Ÿ“ž Test with sample numbers to verify the correct transformation is applied
  4. ๐Ÿ“ˆ Use the dial plan configuration guide for detailed walkthrough

๐Ÿ›ก๏ธ Common VOS3000 Dial Plan Wildcards Problems and Solutions

โš ๏ธ Misconfigured dial plan wildcard rules cause incorrect number transformations and failed call routing. Here are the most common problems and their solutions:

โŒ Problem 1: Wrong Dial Plan Matched โ€” Generic Rule Overriding Specific Rule

๐Ÿ” Symptom: A number starting with “025” is being transformed by the “*” catch-all rule instead of the “025*” rule.

๐Ÿ’ก Cause: VOS3000 always selects the dial plan with the longest matching original prefix. If your specific rule has a shorter effective match than another rule, the longer match wins.

โœ… Solutions:

  • ๐Ÿ”ง Make your specific rule’s original prefix longer โ€” e.g., use “0258” instead of “025*” if you only need to match 0258-prefixed numbers
  • ๐Ÿ“Š Verify the longest-match priority by testing with the exact number
  • ๐Ÿ“ž Review the call routing configuration to understand how dial plans interact with routing

โŒ Problem 2: Question Mark in Target Prefix Produces Unexpected Random Digits

๐Ÿ” Symptom: The transformed number contains random digits that were not in the original number.

๐Ÿ’ก Cause: The question mark (?) in the Target Prefix field generates a random digit, which is different from matching an existing digit in the Original Prefix.

โœ… Solutions:

  • ๐Ÿ”ง If you want to preserve digits from the original number, use the asterisk (*) in both original and target prefix fields
  • ๐Ÿ“Š Use the dollar sign ($) position keeper to preserve specific digit positions โ€” see our number transform guide
  • ๐Ÿ“ž Only use ? in target prefix when you intentionally want random digit generation

โŒ Problem 3: Asterisk Catch-All Rule Deleting All Numbers

๐Ÿ” Symptom: All dialed numbers are being deleted or replaced with empty strings.

๐Ÿ’ก Cause: A dial plan with Original Prefix “*” and an empty Target Prefix removes all digits from the number. While this is valid per the VOS3000 manual ยง4.3.1, it may not be your intent.

โœ… Solutions:

  • ๐Ÿ”ง If you want to keep the number but add a prefix, use Target Prefix “newprefix*” (e.g., “025*”)
  • ๐Ÿ“Š If you want to keep the number unchanged, set Original Prefix “0” and Target Prefix “0”
  • ๐Ÿ“ž Remove the catch-all rule entirely if no default transformation is needed

๐Ÿ’ก VOS3000 Dial Plan Wildcards Best Practices

๐ŸŽฏ Follow these best practices to optimize your VOS3000 dial plan wildcards configuration for reliable number transformation:

Best PracticeRecommendationReason
๐Ÿ“Š Order by specificityCreate specific rules before generic * rulesโœ… Longest-match priority ensures correct rule applies
๐Ÿ”ง Use ? for positional matchingUse ? when you know the digit position is variable๐ŸŽฏ More precise than * for known-length patterns
๐Ÿ”„ Test with real numbersVerify every wildcard rule with test calls๐Ÿ›ก๏ธ Prevents misrouted calls in production
๐Ÿ“‹ Document wildcard rulesAdd memo comments explaining each wildcard pattern๐Ÿ“ž Easier troubleshooting and team collaboration
โš ๏ธ Avoid * with empty targetNever use Original “*” with empty Target unless intentional๐Ÿ›ก๏ธ Prevents accidental number deletion
๐Ÿ“ˆ Combine with escape charactersUse L/E/G/F escape characters for length-based matching๐Ÿ”ง Adds number-length constraints to wildcard rules

๐Ÿ’ก Pro tip: VOS3000 dial plan wildcards work together with prefix settings and the callee rewrite rule to create a complete number transformation pipeline. Use dial plans for routing-level transformations and callee rewrite rules for account-level adjustments. For complex configurations, reach us at +8801911119966 for expert guidance. ๐Ÿ”ง

๐Ÿ“Š Complete VOS3000 Dial Plan Wildcard Reference

๐Ÿ“‹ Here is the complete reference table for all wildcard behaviors, sourced from the official VOS3000 2.1.9.07 manual ยง4.3.1:

CharacterUsage LocationBehaviorPriority
* in Original PrefixPattern matchingMatches any number of digits (including zero)Lowest โ€” only matched when no other rule matches
* in Target PrefixReplacementInserts the digits matched by the corresponding * in Original PrefixN/A โ€” substitution only
? in Original PrefixPattern matchingMatches exactly one digit at that positionSame as exact match length
? in Target PrefixReplacementGenerates a random digit (0-9) at that positionN/A โ€” substitution only

โ“ Frequently Asked Questions

โ“ What are VOS3000 dial plan wildcards?

โฑ๏ธ VOS3000 dial plan wildcards are special characters used in the Original Prefix and Target Prefix fields of dial plan rules to match and transform variable digit patterns. The two wildcard characters are the asterisk (*), which matches any number of digits including zero, and the question mark (?), which matches exactly one digit. These wildcards enable you to create flexible number transformation rules that handle a wide range of dialed number patterns without needing a separate rule for each possible number. They are documented in the VOS3000 2.1.9.07 manual ยง4.3.1.

โ“ How does the asterisk wildcard work in VOS3000 dial plans?

๐Ÿ”ง The asterisk (*) in the Original Prefix matches any sequence of digits โ€” from zero digits to an unlimited number. When used in the Target Prefix, it inserts the digits that were matched by the corresponding asterisk in the Original Prefix. For example, Original Prefix “025*” with Target Prefix “010*” transforms “02584316146” into “01084316146” โ€” the asterisk in the original prefix matches “84316146” and the asterisk in the target prefix carries those digits forward after the new “010” prefix. This carry-forward behavior is the key to prefix manipulation in VOS3000 dial plans.

โ“ How does the question mark wildcard work in VOS3000 dial plans?

๐ŸŽฏ The question mark (?) serves two different purposes depending on where it appears. In the Original Prefix, it matches exactly one digit (0-9) at that position. For example, “0??8431” matches any number starting with 0, followed by any two digits, followed by 8431. In the Target Prefix, the question mark generates a random digit (0-9) at that position. This dual behavior is important to understand โ€” matching in the original prefix versus generating in the target prefix โ€” as documented in the VOS3000 manual ยง4.3.1.

โ“ What is the priority of VOS3000 dial plan wildcards?

๐Ÿ“‹ VOS3000 uses longest-match priority for dial plan selection. When multiple dial plan rules could match a given number, the rule with the longest original prefix is selected. The asterisk (*) wildcard has the lowest priority and will only be matched when no other more specific pattern matches. This means you can safely create a catch-all “*” rule as a default while adding more specific rules like “025*” or “010” for particular prefixes โ€” VOS3000 will always prefer the more specific match.

โ“ Can I combine * and ? wildcards in the same dial plan rule?

๐Ÿ”„ Yes, you can combine asterisk and question mark wildcards in the same dial plan rule’s Original Prefix. For example, “0??*” would match numbers starting with 0, followed by any two digits, followed by any number of additional digits. However, combining wildcards in the Target Prefix requires careful attention โ€” the asterisk carries matched digits forward while the question mark generates random digits. Understanding the interaction between these two behaviors is essential for correct number transformation.

โ“ How do VOS3000 dial plan wildcards interact with semicolons and ranges?

๐Ÿ“Š The VOS3000 dial plan wildcards work together with semicolons and ranges in the Target Prefix field. Semicolons (;) separate multiple substitution targets โ€” VOS3000 randomly selects one target at call time. Ranges (e.g., 8008100-8008121) define a span of numbers from which one is randomly selected. You can combine these with wildcards: for example, Target Prefix “12345678;8008100-8008121;12345?78” would randomly choose between three different transformation patterns for each call. This is documented in ยง4.3.1 of the VOS3000 manual.

๐Ÿ“ž Still have questions? WhatsApp us at +8801911119966 for quick answers. ๐Ÿ“ž

๐Ÿ“ž Need Expert Help with VOS3000 Dial Plan Wildcards?

๐Ÿ”ง Proper VOS3000 dial plan wildcards configuration is essential for accurate number transformation, correct call routing, and efficient prefix management across your VoIP network. Misconfigured wildcard rules lead to misrouted calls, incorrect billing prefixes, and failed call completion. Whether you need help designing wildcard patterns, configuring prefix transformation rules, or troubleshooting dial plan issues, our team is ready to assist. Reach us on WhatsApp at +8801911119966 for professional VOS3000 support and configuration services. ๐Ÿ“ž


๐Ÿ“ž 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


VOS3000 Gateway Switch Limit, VOS3000 RTP Lock-In, VOS3000 Aggressive Gateway Failover, VOS3000 Busy Stop Switch, VOS3000 real-time gateway ASR, VOS3000 ASR Cost Routing, VOS3000 Prefix Mode Extension, VOS3000 Period Capacity Configuration, VOS3000 Period Dial Plan, VOS3000 RTP Interrupt Detection, VOS3000 Lowest Profit Rate Limit, VOS3000 Max Minute Rate Cap, VOS3000 Sort Lowest Rate Per Second, VOS3000 Check Rate Before Routing, VOS3000 Sort by Lowest Rate, VOS3000 Bilateral Reconciliation, VOS3000 SIP OPTIONS Online Check, VOS3000 T38 Fax Over IP, VOS3000 G729 Annex B Silence, VOS3000 Gateway Group Reserved Lines, VOS3000 Auxiliary Ring Tone, VOS3000 Black White List Groups, VOS3000 System White List, VOS3000 Callee Balance Verification, VOS3000 Dial Plan Wildcards, VOS3000 Number Length Matching, VOS3000 Random Routing Patterns, VOS3000 Position Keeper Dollar, VOS3000 LRN Number Portability, VOS3000 LRN NumbersVOS3000 Gateway Switch Limit, VOS3000 RTP Lock-In, VOS3000 Aggressive Gateway Failover, VOS3000 Busy Stop Switch, VOS3000 real-time gateway ASR, VOS3000 ASR Cost Routing, VOS3000 Prefix Mode Extension, VOS3000 Period Capacity Configuration, VOS3000 Period Dial Plan, VOS3000 RTP Interrupt Detection, VOS3000 Lowest Profit Rate Limit, VOS3000 Max Minute Rate Cap, VOS3000 Sort Lowest Rate Per Second, VOS3000 Check Rate Before Routing, VOS3000 Sort by Lowest Rate, VOS3000 Bilateral Reconciliation, VOS3000 SIP OPTIONS Online Check, VOS3000 T38 Fax Over IP, VOS3000 G729 Annex B Silence, VOS3000 Gateway Group Reserved Lines, VOS3000 Auxiliary Ring Tone, VOS3000 Black White List Groups, VOS3000 System White List, VOS3000 Callee Balance Verification, VOS3000 Dial Plan Wildcards, VOS3000 Number Length Matching, VOS3000 Random Routing Patterns, VOS3000 Position Keeper Dollar, VOS3000 LRN Number Portability, VOS3000 LRN NumbersVOS3000 Gateway Switch Limit, VOS3000 RTP Lock-In, VOS3000 Aggressive Gateway Failover, VOS3000 Busy Stop Switch, VOS3000 real-time gateway ASR, VOS3000 ASR Cost Routing, VOS3000 Prefix Mode Extension, VOS3000 Period Capacity Configuration, VOS3000 Period Dial Plan, VOS3000 RTP Interrupt Detection, VOS3000 Lowest Profit Rate Limit, VOS3000 Max Minute Rate Cap, VOS3000 Sort Lowest Rate Per Second, VOS3000 Check Rate Before Routing, VOS3000 Sort by Lowest Rate, VOS3000 Bilateral Reconciliation, VOS3000 SIP OPTIONS Online Check, VOS3000 T38 Fax Over IP, VOS3000 G729 Annex B Silence, VOS3000 Gateway Group Reserved Lines, VOS3000 Auxiliary Ring Tone, VOS3000 Black White List Groups, VOS3000 System White List, VOS3000 Callee Balance Verification, VOS3000 Dial Plan Wildcards, VOS3000 Number Length Matching, VOS3000 Random Routing Patterns, VOS3000 Position Keeper Dollar, VOS3000 LRN Number Portability, VOS3000 LRN Numbers
VOS3000 Gateway Switch Limit, VOS3000 RTP Lock-In, VOS3000 Aggressive Gateway Failover, VOS3000 Busy Stop Switch, VOS3000 real-time gateway ASR, VOS3000 ASR Cost Routing, VOS3000 Prefix Mode Extension

VOS3000 Prefix Mode Extension Expiration Smart Gateway Easy Selection Method

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. ๐Ÿ“˜

๐Ÿ” 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 ModeBehaviorWhen Failed Gateway Matched by This Prefix
๐Ÿ“‹ ExtensionShorter prefixes will be triedVOS3000 falls back to gateways matching shorter prefixes of the same number
๐Ÿšซ ExpirationNo more prefixes will be triedVOS3000 stops trying prefix-based gateways entirely โ€” call fails
๐Ÿ”ด TerminalOnly same-length prefix gateways are triedVOS3000 only tries other gateways with the same prefix length, not shorter ones
๐ŸŸข ContinualAll prefixes will be triedVOS3000 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

AttributeDetail
๐Ÿ“Œ Setting NamePrefix mode
๐Ÿ“ Manual ReferenceVOS3000 2.1.8.0/2.1.9.07 manual ยง2.5.1.1 (page 26)
๐Ÿ“ Configuration PathOperation management > Gateway operation > Routing gateway > Gateway prefix > Prefix mode
๐Ÿ“‹ ScopePer gateway โ€” each routing gateway can have its own prefix mode setting
๐Ÿ”„ OptionsExtension / 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 ModeSame-Length PrefixesShorter PrefixesCall CompletionPDD Impact
๐Ÿ“‹ Extensionโœ… Yesโœ… Yes (progressive)High โ€” broad fallbackModerate โ€” adds some attempts
๐Ÿšซ ExpirationโŒ NoโŒ NoLow โ€” no fallback at allMinimal โ€” fast failure
๐Ÿ”ด Terminalโœ… YesโŒ NoMedium โ€” limited to same levelLow โ€” few additional attempts
๐ŸŸข Continualโœ… Yesโœ… Yes (all)Highest โ€” maximum fallbackHighest โ€” 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 AspectExtension Mode ImpactExpiration Mode Impact
๐Ÿ“‹ Prefix strippingEach shorter prefix gateway applies its own stripping rulesOnly the matched gateway’s stripping rules apply
๐Ÿ”ข Number transformationCalled number may be transformed differently at each fallback levelNo cascading transformations โ€” number stays as transformed by first gateway
๐Ÿ’ฐ Rate table lookupEach gateway uses its own rate table โ€” may result in different billing ratesOnly one rate table is consulted โ€” consistent billing
๐Ÿ“Š Caller ID handlingDifferent gateways may transform caller ID differentlyConsistent 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 PracticeRecommendationReason
๐Ÿ“Š Use Extension for hierarchical routesSet 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 routesSet 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 hierarchyDesign 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 chainUse 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 limitSet 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:


๐Ÿ“ž 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


VOS3000 Gateway Switch Limit, VOS3000 RTP Lock-In, VOS3000 Aggressive Gateway Failover, VOS3000 Busy Stop Switch, VOS3000 real-time gateway ASR, VOS3000 ASR Cost Routing, VOS3000 Prefix Mode ExtensionVOS3000 Gateway Switch Limit, VOS3000 RTP Lock-In, VOS3000 Aggressive Gateway Failover, VOS3000 Busy Stop Switch, VOS3000 real-time gateway ASR, VOS3000 ASR Cost Routing, VOS3000 Prefix Mode ExtensionVOS3000 Gateway Switch Limit, VOS3000 RTP Lock-In, VOS3000 Aggressive Gateway Failover, VOS3000 Busy Stop Switch, VOS3000 real-time gateway ASR, VOS3000 ASR Cost Routing, VOS3000 Prefix Mode Extension