Ctrl K
ring2all.com

Feature Categories Module Documentation

Table of Contents

  1. Module Overview (Technical)
  2. Module Overview (Commercial/Business)
  3. Module Overview (End User/Administrator)
  4. Configuration Fields Reference
  5. Common Scenarios & Examples
  6. Limitations & Important Notes
  7. Troubleshooting Tips
  8. Glossary

---

1. Module Overview (Technical)

What Are Feature Categories?

Feature Categories organize feature codes into logical groups that can be assigned to Class of Service. This provides a layer of abstraction between individual feature codes and CoS permissions, making it easier to manage feature access across the organization.

Architecture

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Feature Categories System                          │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  ┌─────────────────────┐    ┌─────────────────────┐            │
│  │   Feature Codes     │    │  Feature Categories  │            │
│  ├─────────────────────┤    ├─────────────────────┤            │
│  │ *67 - Block CallerID│───▶│                     │            │
│  │ *69 - Call Return   │───▶│  "Basic Features"   │            │
│  │ *70 - Disable CW    │───▶│                     │            │
│  └─────────────────────┘    └─────────────────────┘            │
│                                      │                          │
│  ┌─────────────────────┐             │                          │
│  │ *72 - CF Activate   │───▶         ▼                          │
│  │ *73 - CF Deactivate │───▶  ┌─────────────────────┐          │
│  │ *74 - CFB Activate  │───▶  │ "Advanced Features" │          │
│  │ *92 - DND Toggle    │───▶  └─────────────────────┘          │
│  └─────────────────────┘             │                          │
│                                      │                          │
│                                      ▼                          │
│                            ┌─────────────────────┐              │
│                            │  Class of Service   │              │
│                            ├─────────────────────┤              │
│                            │ "Standard Employee" │              │
│                            │  └─ Basic Features  │              │
│                            │                     │              │
│                            │ "Manager"           │              │
│                            │  └─ Basic Features  │              │
│                            │  └─ Advanced Features│              │
│                            └─────────────────────┘              │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Key Tables

TablePurpose
public.feature_code_categoriesCategory definitions
public.feature_code_cos_membersFeature code memberships
public.feature_code_numbersIndividual feature codes
public.class_of_servicesReferences category via feature_code_cos_id

Key Files

FileDescription
admin/apps/web/src/modules/featureCategories/Frontend module
admin/apps/web/src/i18n/en/featureCategories.jsonTranslations
---

2. Module Overview (Commercial/Business)

Business Value

Feature Categories simplify feature access management:

Without Feature CategoriesWith Feature Categories
Assign features individuallyAssign groups of features
Repetitive per-CoS configReusable categories
Hard to track permissionsClear groupings
Changes require per-CoS editsUpdate category once

Use Cases

  1. Basic vs. Advanced Features
- Basic: Call return, DND, call waiting

- Advanced: Call forwarding, conferencing

  1. Role-Based Access
- Receptionist: All call handling features

- Executive: All features including spy modes

  1. Tiered Service
- Bronze: Basic features

- Silver: Basic + forwarding

- Gold: All features

Feature Highlights

FeatureBenefit
GroupingOrganize related feature codes
ReusabilityAssign same category to multiple CoS
Shuttle ControlEasy feature selection UI
Enable/DisableToggle category without deletion
---

3. Module Overview (End User/Administrator)

What Can You Do?

  • Create categories grouping related feature codes
  • Assign/remove feature codes to categories
  • Enable/disable categories
  • Assign categories to Class of Service

Administrator Workflow

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Creating a Feature Category                        │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Step 1: Basic Information                                      │
│  ├─ Name: "Basic Features"                                     │
│  ├─ Description: "Standard calling features for all users"    │
│  └─ Enabled: ✓                                                 │
│                                                                 │
│  Step 2: Select Feature Codes                                   │
│                                                                 │
│  ┌─────────────────────────────────────────────────────────┐    │
│  │  Available Features     │     Enabled Features         │    │
│  │ ┌─────────────────────┐ │   ┌─────────────────────┐    │    │
│  │ │ *72 CF Activate     │ │   │ *67 Block Caller ID │    │    │
│  │ │ *73 CF Deactivate   │──▶  │ *69 Call Return     │    │    │
│  │ │ *74 CFB Activate    │ │   │ *70 Disable CW      │    │    │
│  │ │ ...                 │ │   │ *92 DND Toggle      │    │    │
│  │ └─────────────────────┘ │   └─────────────────────┘    │    │
│  └─────────────────────────────────────────────────────────┘    │
│                                                                 │
│  Step 3: Save                                                   │
│                                                                 │
│  Step 4: Assign to Class of Service                             │
│  └─ Edit CoS → Select Feature Category: "Basic Features"      │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Quick Tips

TIP
Logical Grouping: Group features by function (call handling, forwarding, voicemail).
TIP
Meaningful Names: Use descriptive names like "Executive Features" or "Reception Desk".

---

4. Configuration Fields Reference

Category Fields

FieldDescriptionExampleRequired
NameCategory identifierBasic FeaturesYes
DescriptionPurpose notesStandard for all usersNo
EnabledCategory active statusOn/OffYes

Feature Assignment

The shuttle control allows moving feature codes between:

  • Available Features: Codes not in this category
  • Enabled Features: Codes assigned to this category

---

5. Common Scenarios & Examples

Scenario 1: Tiered Feature Access

Categories:
CategoryFeatures
Basic67, 69, 70, 92 (Caller ID, Call Return, CW, DND)
Call Forwarding72, 73, 74, 75 (CF features)
Advanced80, 82, 83 (Conferencing, Spy modes)
CoS Assignments:
CoSCategories
BronzeBasic
SilverBasic, Call Forwarding
GoldBasic, Call Forwarding, Advanced

Scenario 2: Department-Specific Features

Categories:
CategoryFeatures
Reception DeskAll call handling, parking, paging
Sales TeamCall recording, conferencing
Support TeamCall queues, callback features

Scenario 3: Security Levels

Categories:
CategoryFeatures
StandardBasic calling features
Supervisor+ Spy modes, barge-in
Admin+ All system features
---

6. Limitations & Important Notes

Technical Limitations

WARNING
Category Assignment: Each CoS can only have one feature category assigned.
WARNING
Cascading Changes: Modifying a category affects all CoS using it.

Best Practices

  1. Plan Categories: Design categories before creating
  2. Document Purpose: Use descriptions
  3. Test Changes: Verify after category modifications
  4. Minimize Overlap: Avoid duplicate features across categories

---

7. Troubleshooting Tips

Common Issues

SymptomPossible CauseSolution
Feature not workingNot in assigned categoryAdd to category
Category not visibleCategory disabledEnable category
Changes not appliedCoS not updatedVerify CoS assignment

Diagnostic SQL

List categories:

Sql
SELECT id, name, enabled,
       (SELECT COUNT(*) FROM public.feature_code_cos_members 
        WHERE cos_id = c.id) as feature_count
FROM public.feature_code_categories c
WHERE domain_id = [domain_id];

Check category features:

Sql
SELECT f.default_number, f.name
FROM public.feature_code_cos_members m
JOIN public.feature_code_numbers f ON m.feature_code_id = f.id
WHERE m.cos_id = [category_id]
ORDER BY f.default_number;

---

8. Glossary

TermDefinition
Feature CategoryGrouping of related feature codes
Feature CodeDialpad code for PBX features (67, 72, etc.)
Class of ServicePermission profile assigned to extensions
Shuttle ControlUI for moving items between lists
---

Lua Handler Status

⚡ No Dedicated Handler Required

Feature Categories is a configuration module. Categories are used to organize feature codes for Class of Service assignment. The individual feature codes have their own handlers; the category provides organizational structure only.

---

Documentation last updated: January 2026*

AI Assistant

👋 Hello! I'm your Ring2All documentation assistant. I can help you find information about configuring and using the Ring2All PBX platform.

How can I help you today?