Ctrl K
ring2all.com

Device Models Module Documentation

Table of Contents

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

---

1. Module Overview (Technical)

What Are Device Models?

Device Models is a phone model catalog module that maintains specific phone models within the provisioning system. Models are linked to vendors and define hardware capabilities like DSS keys, expansion modules, and SIP lines.

Architecture

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Device Models Architecture                        │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Provisioning Hierarchy:                                        │
│                                                                 │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        Vendors                                           │   │
│  │  ├─ Yealink                                             │   │
│  │  ├─ Grandstream                                         │   │
│  │  └─ Polycom                                             │   │
│  └──────────────────────────────────────────────────────────┘   │
│       │                                                         │
│       ▼ Device Models (this module)                            │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        Device Models                                     │   │
│  │                                                          │   │
│  │  Yealink:                                               │   │
│  │  ├─ T54W (10 DSS keys, 2 exp modules, 16 lines)        │   │
│  │  ├─ T46U (27 DSS keys, 6 exp modules, 16 lines)        │   │
│  │  └─ T42S (6 DSS keys, 0 exp modules, 12 lines)         │   │
│  │                                                          │   │
│  │  Grandstream:                                           │   │
│  │  ├─ GXP2170 (48 DSS keys, 4 exp modules, 12 lines)     │   │
│  │  └─ GRP2612 (8 DSS keys, 0 exp modules, 4 lines)       │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│       │                                                         │
│       ▼ Used by templates and devices                          │
│  ┌──────────────────────────────────────────────────────────┐   │
│  │        Templates → Devices                               │   │
│  │                                                          │   │
│  │  Template selects model → Device inherits capabilities  │   │
│  │                                                          │   │
│  └──────────────────────────────────────────────────────────┘   │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Key Tables

TablePurpose
public.provisioning_device_modelsModel definitions and capabilities

Key Files

FileDescription
modules/provisioningDeviceModels/Frontend module
---

2. Module Overview (Commercial/Business)

Business Value

Device Models provides hardware capability management:

Without Device ModelsWith Device Models
Unknown capabilitiesDefined specs
Manual key countingAuto DSS keys
No expansion infoModule support
Generic templatesModel-specific config

Use Cases

  1. Capability Definition
- DSS key counts

- Expansion module support

  1. Template Matching
- Model-specific templates

- Accurate key mapping

  1. Device Inventory
- Track by model

- Report by type

  1. Multi-model Support
- Different phone types

- Consistent provisioning

Feature Highlights

FeatureBenefit
DSS KeysLine/BLF key count
Expansion ModulesAttachment support
SIP LinesAccount capacity
Vendor LinkingOrganized catalog
MAC PrefixAuto-detection
ImageVisual identification
---

3. Module Overview (End User/Administrator)

What Can You Do?

  • View all supported phone models
  • Add new device models
  • Define hardware capabilities
  • Set DSS key counts
  • Configure expansion module support
  • Associate with vendors
  • Upload model images

Device Models Interface

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Device Models                                      │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  [+ Create Model]                                               │
│                                                                 │
│  [🔍 Search models...]                                          │
│                                                                 │
│  Filter by Vendor: [All ▼]                                      │
│                                                                 │
│  ┌───────────────────────────────────────────────────────────┐  │
│  │ Model     │ Vendor      │ DSS │ Lines │ Exp │ Devices │   │  │
│  ├───────────┼─────────────┼─────┼───────┼─────┼─────────┤   │  │
│  │ T54W      │ Yealink     │ 10  │ 16    │ 2   │ 25      │ ✏️│  │
│  │ T46U      │ Yealink     │ 27  │ 16    │ 6   │ 12      │ ✏️│  │
│  │ T42S      │ Yealink     │ 6   │ 12    │ 0   │ 8       │ ✏️│  │
│  │ GXP2170   │ Grandstream │ 48  │ 12    │ 4   │ 15      │ ✏️│  │
│  │ GRP2612   │ Grandstream │ 8   │ 4     │ 0   │ 20      │ ✏️│  │
│  │ VVX450    │ Polycom     │ 30  │ 12    │ 3   │ 5       │ ✏️│  │
│  └───────────────────────────────────────────────────────────┘  │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Create/Edit Model

Plaintext
┌─────────────────────────────────────────────────────────────────┐
│              Create Device Model                                │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  Vendor: [Yealink ▼]                                           │
│                                                                 │
│  Model Name: [T54W                         ]                   │
│                                                                 │
│  Description: [Mid-range color IP phone    ]                   │
│                                                                 │
│  ──────────────────────────────────────────────────────────────│
│                                                                 │
│  Hardware Capabilities                                          │
│                                                                 │
│  DSS Keys: [10             ]                                   │
│    Number of programmable line/BLF keys                         │
│                                                                 │
│  SIP Lines: [16            ]                                   │
│    Maximum SIP account registrations                            │
│                                                                 │
│  Expansion Modules: [2     ]                                   │
│    Number of expansion module slots                             │
│                                                                 │
│  Keys per Module: [20      ]                                   │
│    DSS keys per expansion module                                │
│                                                                 │
│  ──────────────────────────────────────────────────────────────│
│                                                                 │
│  Identification                                                 │
│                                                                 │
│  MAC Prefix: [80:5E:C0     ]                                   │
│    For automatic vendor detection                               │
│                                                                 │
│  Model Image: [📤 Upload]                                       │
│                                                                 │
│  Status: [Active ▼]                                            │
│                                                                 │
│  [Save] [Cancel]                                                │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Quick Tips

TIP
MAC Prefix: Used for auto-detection during network scanning.
TIP
Expansion Modules: Set to 0 if model doesn't support attachments.
NOTE
Pre-populated: Common models typically come pre-installed.

---

4. Configuration Fields

Basic Information

FieldDescription
VendorParent manufacturer
Model NameModel identifier
DescriptionModel details
StatusActive/Inactive

Hardware Capabilities

FieldDescription
DSS KeysProgrammable keys count
SIP LinesMax SIP registrations
Expansion ModulesAttachment slots
Keys per ModuleKeys per expansion

Identification

FieldDescription
MAC PrefixOUI for auto-detection
Model ImageVisual reference
---

5. Common Scenarios & Examples

Scenario 1: Browse Models

  1. Navigate to Provisioning → Device Models
  2. Filter by vendor (optional)
  3. View hardware specs

Scenario 2: Add New Model

  1. Click "Create Model"
  2. Select vendor
  3. Enter model name
  4. Define DSS keys, lines, expansion
  5. Add MAC prefix
  6. Upload image (optional)
  7. Save

Scenario 3: Update Capabilities

  1. Find model in list
  2. Click Edit
  3. Update DSS keys or lines
  4. Save

Scenario 4: Check Model Usage

  1. View models list
  2. Check "Devices" column
  3. See how many devices use each model

---

6. Limitations & Important Notes

Technical Notes

NOTE
Vendor Required: Every model must belong to a vendor.
NOTE
Template Dependency: Models with templates cannot be deleted.
WARNING
DSS Key Accuracy: Incorrect counts affect template key mapping.

Best Practices

  1. Verify Specs: Check manufacturer specs for accuracy
  2. MAC Prefixes: Use correct OUI for auto-detection
  3. Add Images: Visual identification helps users
  4. Keep Updated: Add new models as released
  5. Model Naming: Use official model names

VendorModelDSSLinesExp
YealinkT54W10162
YealinkT46U27166
YealinkT42S6120
GrandstreamGXP217048124
GrandstreamGRP2612840
PolycomVVX45030123
Cisco885110102
---

7. Troubleshooting Tips

Common Issues

SymptomPossible CauseSolution
Can't delete modelHas templates/devicesRemove dependencies
Wrong key countIncorrect DSS valueUpdate model specs
Auto-detect failsWrong MAC prefixCorrect OUI
Model not in dropdownNot createdAdd model first

Check Model Data

Sql
SELECT 
  m.model_name,
  v.name AS vendor,
  m.dss_keys,
  m.sip_lines,
  m.expansion_modules
FROM public.provisioning_device_models m
JOIN public.provisioning_vendors v ON v.id = m.vendor_id
ORDER BY v.name, m.model_name;

Check Device Count

Sql
SELECT 
  m.model_name,
  COUNT(d.id) AS device_count
FROM public.provisioning_device_models m
LEFT JOIN public.provisioning_devices d ON d.model_id = m.id
GROUP BY m.id, m.model_name
ORDER BY device_count DESC;

---

8. Glossary

TermDefinition
DSS KeysDirect Station Selection keys
BLFBusy Lamp Field
SIP LinesSIP account capacity
Expansion ModuleAttached key panel
OUIOrganizationally Unique Identifier (MAC prefix)
MAC AddressHardware address
---

Lua Script Status ℹ️

Data Management Module

ComponentStatus
Device Modelsℹ️ Catalog data - no Lua handler required
Device Models is a data management module. It maintains the model catalog used by templates and devices. No Lua handlers are required.

---

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?