Customer Tiers & Volume Pricing Documentation
π― User Roles & Key Capabilities
Section titled βπ― User Roles & Key Capabilitiesβ| Role | Primary Use Case | Key Capabilities |
|---|---|---|
| Customer Account Manager | Enterprise onboarding & lifecycle management. | Provision customer profiles, assign billing wallets, and configure payment methods. |
| Subscription Specialist | Tier assignment & plan contracts. | Apply customer tier rules, attach recurring subscriptions, and grant discount coupons. |
| Hardware Inventory Clerk | Customer CPE & VoIP device logistics. | Allocate SIP hardware to customer accounts and track inventory serial numbers. |
Table of Contents
Section titled βTable of Contentsβ- Module Overview (Technical)
- Module Overview (Commercial & Business Value)
- Visual Interface & Form Structure
- Architectural Flow & OCS Rating Integration
- Interactive Pricing Simulator
- Common Scenarios & Operational Playbooks
- Settings Reference
- Model Context Protocol (MCP) AI Integration
- Troubleshooting & FAQs
- Glossary
1. Module Overview (Technical)
Section titled β1. Module Overview (Technical)βThe Customer Tiers & Volume Pricing module (customer discount tiers and tier discount rules store) manages multi-level commercial tier classifications, volume-based discount matrices, and spend thresholds within Ring2All BSS. It connects directly to the real-time Online Charging System (OCS) engine to automatically adjust per-minute VoIP rates, DID lease fees, SMS throughput surcharges, and AI token pricing based on a customerβs commercial loyalty tier.
Data Model & Tier Linkage
Section titled βData Model & Tier Linkageβ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β Customer Tier Entity (customer discount tiers) β β β’ id: bigint (Canonical Invariant Numeric ID) β β β’ name: VARCHAR(100) (e.g. "Platinum Enterprise", "Carrier Wholesale")β β β’ code: VARCHAR(50) (Unique identifier, e.g. "TIER-PLATINUM") β β β’ min_monthly_spend: NUMERIC(14,4) β β β’ default_discount_pct: NUMERIC(5,2) (Global fallback discount %) β β β’ priority: INTEGER (Evaluation precedence) β β β’ is_active: BOOLEAN β βββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ β βββββββββββββββββββββββββββ΄ββββββββββββββββββββββββββ β β βΌ (1 Tier = N Category Rules) βΌ (1 Tier = N Assigned Customers) βββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββ β Tier Discount Rules β β Customer Accounts β β β’ Service: Voice / DID / SMS / AIβ β β’ Customer ID: 104 β β β’ Discount: Fixed % or Cents/min β β β’ Tier ID: 3 (Platinum) β β β’ Min Volume: 10,000 mins/mo β β β’ Active Wallet Balance: $4,520 β βββββββββββββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββ- Deterministic Discount Execution: Tier rules are evaluated in real time during CDR rating. Inbound and outbound call legs pass through the OCS, where the customerβs active tier discount is applied atomically before the prepaid wallet balance is decremented.
- Volume Threshold Qualification: Tiers can specify minimum monthly spend or volume commitment requirements, allowing automated promotion and audit workflows.
2. Module Overview (Commercial & Business Value)
Section titled β2. Module Overview (Commercial & Business Value)β- Incentivize Account Growth & Traffic Loyalty: Encourage wholesale carriers, call centers, and enterprise PBX clients to route more traffic through Ring2All by granting progressive discounts as their monthly spend or minute volume escalates.
- Granular Margin Protection: Rather than applying flat across-the-board discounts that might erode margin on expensive mobile or international routes, administrators can assign distinct discount percentages by service category (e.g., 15% off local DID numbers, 8% off domestic outbound voice, and 0% on premium international routes).
- Transparent Pricing Simulation: Sales engineers and account managers can simulate custom deal structures with real-time feedback using the built-in Pricing Simulator before committing contracts to customers.
3. Visual Interface & Form Structure
Section titled β3. Visual Interface & Form StructureβCustomer Tiers Registry
Section titled βCustomer Tiers RegistryβCentral catalog listing all active commercial tiers, minimum monthly spend requirements, default discount percentages, and the count of assigned customer accounts.

Create / Edit Customer Tier Form
Section titled βCreate / Edit Customer Tier FormβDetailed configuration suite for defining tier identity, minimum spend criteria, default discounts, and service-specific discount rules (Voice, DIDs, SMS, AI Tokens).

4. Architectural Flow & OCS Rating Integration
Section titled β4. Architectural Flow & OCS Rating IntegrationβWhen an active call leg terminates on either Ring2All PBX (Telephony Engine) or Ring2All SBC (SBC Engine):
- CDR Generation: Telephony Engine or SBC Engine flushes raw duration, source caller ID, and destination prefix to the BSS event collector.
- Customer Tier Resolution: The rating engine retrieves the customerβs account profile and determines their active
tier_id. - Rule Hierarchy Evaluation:
- Level 1 (Specific Rule): If a specific rule matches the destination category (e.g., Domestic Outbound Voice), that ruleβs discount is applied.
- Level 2 (Tier Default): If no category-specific rule is found, the tierβs
default_discount_pctis applied. - Level 3 (Card Baseline): If the customer has no tier assigned, standard rate card prices apply with zero discount.
- Wallet Ledger Posting: The net rated amount is deducted from the customerβs wallet atomically, recording the discount value in the CDR audit record.
5. Interactive Pricing Simulator
Section titled β5. Interactive Pricing SimulatorβThe Customer Tiers interface includes a built-in Pricing Simulator accessible via the top toolbar button:
- Interactive Sliders: Model projected monthly call minutes, DID inventory, SMS message counts, and cloud PBX seats.
- Comparative Cost Analysis: Instantly visualizes the cost breakdown across multiple tiers simultaneously (e.g., comparing Standard vs. Silver vs. Platinum savings).
- Margin Safeguards: Visual indicators highlight when proposed discounts breach minimum gross margin thresholds.
6. Common Scenarios & Operational Playbooks
Section titled β6. Common Scenarios & Operational PlaybooksβScenario A: Provisioning a High-Volume Wholesale Carrier Tier
Section titled βScenario A: Provisioning a High-Volume Wholesale Carrier Tierβ- Tier Name:
Tier 1 Carrier Wholesale - Code:
TIER-CARRIER-01 - Minimum Spend:
$5,000.00 / month - Default Discount:
10.00% - Specific Rules:
- Outbound Voice (Domestic LCR):
12.5% discount - Inbound DID Lease:
25.0% discount - International Premium:
0.0% discount(protected margin)
- Outbound Voice (Domestic LCR):
Scenario B: Educational / Non-Profit Subsidized Tier
Section titled βScenario B: Educational / Non-Profit Subsidized Tierβ- Tier Name:
Edu & Non-Profit Community - Code:
TIER-COMMUNITY - Minimum Spend:
$0.00 - Default Discount:
20.00%across all PBX cloud extensions, local DIDs, and voice services.
7. Settings Reference
Section titled β7. Settings Referenceβ| Field | Type | Description | Default |
|---|---|---|---|
| Tier Name | String | Commercial name displayed on customer invoices and portal. | Required |
| Tier Code | String | Alphanumeric identifier used for API integration and provisioning. | Required |
| Minimum Monthly Spend | Currency | Minimum monthly billing commitment required to retain tier status. | $0.00 |
| Default Discount (%) | Percentage | Fallback discount applied to services without explicit rule overrides. | 0.00% |
| Priority | Number | Precedence order when automated tier promotion rules are evaluated. | 1 |
| Status / Active | Toggle | Master activation switch for tier availability in new contracts. | true |
| Service Category | Enum | Target service for discount rules (voice, dids, sms, ai_tokens, storage). |
voice |
| Rule Discount Type | Enum | Calculation method: percentage (%) or flat_cents (cents per minute/unit). |
percentage |
8. Model Context Protocol (MCP) AI Integration
Section titled β8. Model Context Protocol (MCP) AI IntegrationβThe Customer Tiers module is fully integrated with the Ring2All BSS MCP Server, allowing autonomous financial agents and sales AI assistants to query and simulate tiered pricing:
| MCP Tool Name | Description | Sample Arguments |
|---|---|---|
list_customer_tiers |
Returns all configured commercial tiers and current customer enrollment counts. | { "status": "active" } |
get_tier_details |
Retrieves discount matrices and category rules for a specific tier ID. | { "tierId": 2 } |
simulate_tier_pricing |
Simulates the monthly cost and discount impact for a customer traffic profile. | { "tierId": 3, "voiceMinutes": 50000, "didCount": 20 } |
9. Troubleshooting & FAQs
Section titled β9. Troubleshooting & FAQsβ- Why is a customer not receiving their tier discount on calls?
Verify that the customer account has the tier assigned in
/customers/:idand that the specific destination prefix is not marked asexclude_from_discountson the active Rate Card. - Can a customer belong to multiple tiers simultaneously? No. Each customer account has exactly one active tier. To combine benefits, create a consolidated enterprise tier that reflects both volume and service requirements.
10. Glossary
Section titled β10. Glossaryβ- Customer Tier: A structured classification level that automatically applies preferential pricing and discount terms to an account.
- Online Charging System (OCS): Real-time billing engine that rates network events and authorizes credit consumption synchronously.
- Pricing Simulator: An analytical tool that models billing outcomes and profit margins across hypothetical traffic volumes.

