AI Service Hub & Autonomous Perimeter Orchestration
Table of Contents
Section titled “Table of Contents”- Navigation & Access
- Screenshots & Visual Interface
- 🎯 User Roles & Key Capabilities
- Module Overview (Technical)
- Module Overview (Commercial/Business)
- Module Overview (End User/Administrator)
- Architectural Principles: “AI as a Plus” & “Zero Clutter”
- Tabs & Configuration Sections
- Cascading Profile Resolution Hierarchy
- Settings Reference
- Model Context Protocol (MCP) & External AI Integration
- Common Scenarios & Best Practices
- Troubleshooting & Diagnostics
- Glossary
Navigation & Access
Section titled “Navigation & Access”To access the AI Service Hub module in Ring2All SBC:
- Log in to the Ring2All SBC Web Portal (
https://<sbc-ip-or-domain>/login). - In the left navigation sidebar, navigate to the AI Integration section.
- Click AI Service Hub (
/ai-integration/service-hub) located at the end of the AI menu. - Navigate through the 3 centralized management tabs: NOC Services, NOC Admin Users, and External AI (Claude / ChatGPT).
- Use the universal bottom action bar (
Save ChangesandCancel) to persist or revert changes safely.
Screenshots & Visual Interface
Section titled “Screenshots & Visual Interface”NOC Services AI Orchestration (Tab 1)
Section titled “NOC Services AI Orchestration (Tab 1)”Central telemetry control plane governing automated perimeter intelligence: Heuristic AI Perimeter Guard for real-time SIP threat scoring and dynamic IP bans, RTPEngine QoS Sentinel for MOS degradation alerting and packet loss forensics, and SIP Trace Diagnostics Assistant for automated ladder graph decoding and RFC 3261 compliance analysis.

Administrative Users & NOC AI Assistant Access (Tab 2)
Section titled “Administrative Users & NOC AI Assistant Access (Tab 2)”Per-user AI enablement matrix binding specific Large Language Model reasoning profiles to administrative accounts for the interactive NOC AI Assistant (MCP). Accounts without an assigned profile automatically hide the AI Assistant interface.

External AI & Subscriptions Connector - BYOS (Tab 3)
Section titled “External AI & Subscriptions Connector - BYOS (Tab 3)”Unified Bring Your Own Subscription (BYOS) integration panel allowing network operations center (NOC) engineers to connect Claude Desktop, ChatGPT Plus/Team Custom GPTs, and Cursor IDE directly to Ring2All SBC via Model Context Protocol (MCP) SSE and OpenAPI 3.1 Actions at $0 additional API cost.

🎯 User Roles & Key Capabilities
Section titled “🎯 User Roles & Key Capabilities”| Role | Access Level | Responsibilities & Capabilities |
|---|---|---|
| SBC Super Administrator | Full Access (RW) |
Configure runtime perimeter AI services, assign reasoning profiles to NOC engineers, and issue personal access tokens (PAT) for external AI. |
| NOC Telecom Engineer | Operational (RW) |
Toggle real-time diagnostics, inspect SIP ladder explanations, calibrate QoS MOS thresholds, and interact with the NOC AI Assistant. |
| Perimeter Security Lead | Security Scoped (RW) |
Configure Heuristic AI Perimeter Guard sensitivity, review automated IP bans, and audit toll fraud pattern classifications. |
| Autonomous NOC AI Assistant / MCP Agent | Operational Audit (RO) |
Execute get_sbc_ai_service_hub_status to inspect active AI bindings, check service health, and audit fallback modes across the cluster. |
1. Module Overview (Technical)
Section titled “1. Module Overview (Technical)”What Is the SBC AI Service Hub?
Section titled “What Is the SBC AI Service Hub?”The Ring2All SBC AI Service Hub is the centralized mission control plane that orchestrates artificial intelligence workflows across the carrier perimeter. Rather than configuring AI settings across fragmented interfaces (Kamailio anti-flood, RTPEngine media engines, siptrace tables, user profiles), the AI Service Hub unifies all perimeter intelligence into a single consolidated control center.
Architecture
Section titled “Architecture”┌────────────────────────────────────────────────────────────────────────────────────────┐│ Ring2All SBC AI Service Hub Control Plane │├────────────────────────────────────────────────────────────────────────────────────────┤│ ││ Perimeter Context & Cluster Node Routing ││ ┌──────────────────────────────────────────────────────────────────────────────────┐ ││ │ Node: sbc-core-01.carrier.net (Kamailio 6.1+ & RTPEngine 12.5+) │ ││ └────────────────────────────────────────┬─────────────────────────────────────────┘ ││ │ ││ ┌───────────────────────────────────┼────────────────────────────────────┐ ││ ▼ ▼ ▼ ││ ┌────────────────────────┐ ┌─────────────────────────┐ ┌──────────────────┐ ││ │ 1. NOC Services │ │ 2. NOC Admin Users │ │ 3. External AI │ ││ ├────────────────────────┤ ├─────────────────────────┤ ├──────────────────┤ ││ │ • AI Perimeter Guard │ │ • Lead Eng -> GPT-4o │ │ • Claude Desktop │ ││ │ • RTPEngine QoS MOS │ │ • Tier-2 -> Claude 3.5 │ │ • ChatGPT Custom │ ││ │ • SIP Trace Assistant │ │ • Auditor -> Qwen 2.5 │ │ • Cursor / IDE │ ││ │ • Custom Yes/No Toggle │ │ • Custom Yes/No Toggle │ │ • SSE Transport │ ││ │ • Bottom Action Bar │ │ • Bottom Action Bar │ │ • OpenAPI 3.1 │ ││ └────────────────────────┘ └─────────────────────────┘ └──────────────────┘ ││ │ │ │ ││ ▼ ▼ ▼ ││ ┌──────────────────────────────────────────────────────────────────────────────────┐ ││ │ SBC AI Profiles Engine (sbc_admin.ai_profiles) via Multi-Provider Layer │ ││ │ [Anthropic Claude 3.5] [OpenAI GPT-4o] [Local Ollama / LLaMA 3.1] [Custom GPU] │ ││ └──────────────────────────────────────────────────────────────────────────────────┘ ││ │└────────────────────────────────────────────────────────────────────────────────────────┘Database Persistence
Section titled “Database Persistence”| Table | Purpose |
|---|---|
sbc_admin.ai_service_mappings |
Service toggles and profile foreign keys (service_key, ai_profile_id, is_enabled, config, fallback_mode). |
sbc_admin.users.ai_profile_id |
User-specific AI Assistant reasoning profile assignment. |
sbc_admin.ai_perimeter_guard_settings |
Real-time threshold calibrations and heuristic IP ban triggers. |
sbc_admin.user_api_keys |
Personal Access Tokens (ak_sbc_...) for Claude Desktop, ChatGPT, and Cursor. |
2. Module Overview (Commercial/Business)
Section titled “2. Module Overview (Commercial/Business)”Business Value
Section titled “Business Value”- Zero Carrier Degradation: AI routines operate strictly asynchronously and out-of-band; high-volume SIP packet processing in Kamailio and media relay in RTPEngine remain 100% deterministic and unaffected.
- Proactive Outage Prevention: Identifies subtle degradation patterns (e.g. carrier one-way audio, codec mismatch bursts, route hunting storms) hours before end-users lodge trouble tickets.
- Lower Mean-Time-to-Resolution (MTTR): Complex multi-leg SIP call traces that traditionally require 45 minutes of Wireshark ladder decoding are summarized in plain English within 3 seconds.
- Zero Additional Key Overhead (BYOS): NOC teams leverage existing corporate or personal frontier subscriptions with zero incremental API token expense.
3. Module Overview (End User/Administrator)
Section titled “3. Module Overview (End User/Administrator)”Administrators and NOC operators can:
- Enable or disable automated perimeter telemetry services using signature custom toggles.
- Select which underlying reasoning profile powers each diagnostic service.
- Assign tailored NOC AI Assistant capabilities per operator based on skill and authorization level.
- Issue and revoke Personal Access Tokens (PAT) for external AI assistants in seconds.
- Save changes persistently or revert modifications using the fixed bottom action bar (
SbcFixedActionBar).
4. Architectural Principles: “AI as a Plus” & “Zero Clutter”
Section titled “4. Architectural Principles: “AI as a Plus” & “Zero Clutter””Principle 1: “AI as a Plus” (Perimeter Independence)
Section titled “Principle 1: “AI as a Plus” (Perimeter Independence)”- Core SIP Signaling is Autonomous: Kamailio route blocks, Pike anti-flood heuristics, dispatcher load balancing, and RTPEngine media transcoding execute without requiring internet or AI connectivity.
- Graceful Degradation: If an upstream AI provider experiences downtime or rate limiting, the SBC automatically executes fallback policies (
traditional), logging security anomalies without interrupting live call routing.
Principle 2: “Zero Clutter” (Conditional UI Rendering)
Section titled “Principle 2: “Zero Clutter” (Conditional UI Rendering)”- If an AI service or AI Assistant profile is unassigned or disabled for an operator, all corresponding AI widgets, diagnostic buttons, and action pills are completely suppressed from the web interface.
- The interface presents a clean, distraction-free NOC console without disabled buttons or placeholder warnings.
5. Tabs & Configuration Sections
Section titled “5. Tabs & Configuration Sections”Tab 1: NOC Services
Section titled “Tab 1: NOC Services”- AI Perimeter Guard & Threat Analyst: Evaluates SIP scanning signatures (friendly-scanner, SIPCLI), credential stuffing attacks, and anomalous register bursts to recommend or automatically enforce firewall IP bans.
- RTPEngine QoS Sentinel & MOS Anomaly Detector: Continuously inspects RTPEngine telemetry (jitter, round-trip delay, packet loss fraction) and raises automated alerts when Mean Opinion Scores (MOS) dip below acceptable carrier thresholds (e.g., $< 3.8$).
- SIP Trace Diagnostics & RFC Protocol Assistant: Automatically parses SIP transaction ladders, identifies root causes for error status codes (
408 Request Timeout,488 Not Acceptable Here,503 Service Unavailable), and provides actionable RFC 3261 recommendations. - Bottom Fixed Action Bar: Positioned at the bottom of the viewport (
Save ChangesandCancel), providing convenient one-click persistence or baseline restoration.
Tab 2: NOC Admin Users
Section titled “Tab 2: NOC Admin Users”- User Authorization Table: Displays all administrative accounts, their active AI Assistant enablement toggle, assigned reasoning profile, and security clearance level.
- NOC AI Assistant Mapping: Allows binding high-reasoning models (e.g. Claude 3.5 Sonnet or GPT-4o) to senior engineers while assigning lightweight models to general monitoring accounts.
Tab 3: External AI (Claude / ChatGPT / Cursor) - BYOS
Section titled “Tab 3: External AI (Claude / ChatGPT / Cursor) - BYOS”- Bring Your Own Subscription (BYOS): Connects personal or enterprise accounts to the SBC via Model Context Protocol (MCP) at $0 additional API cost.
- Native MCP Server-Sent Events (SSE): Streams low-latency tool commands over
GET /api/mcp/sseandPOST /api/mcp/messages. - Curated OpenAPI 3.1 Schema: Serves a schema at
GET /api/mcp/openapi.jsonprioritizing essential SBC commands (dispatcher status, live call counts, IP ban enforcement, SIP trace diagnostics) tailored for ChatGPT Custom Actions. - Personal Access Tokens (PAT): Cryptographic secrets (
ak_sbc_...) with configurable validity durations (30 days, 90 days, 1 year, or never) and instant revocation. - 1-Click Config Synthesizer: Generates pre-filled JSON configurations for Claude Desktop and Cursor with system paths and authorization headers ready to copy.
6. Cascading Profile Resolution Hierarchy
Section titled “6. Cascading Profile Resolution Hierarchy”When a perimeter anomaly occurs or an operator queries the NOC AI Assistant, the SBC resolves the AI profile in $< 1\text{ms}$:
1. Does the specific Administrative User have an explicit profile assigned? ├── YES ➔ Use User Profile └── NO ➔ 2. Does the Service have an active mapping in AI Service Hub? ├── YES ➔ Use Service AI Profile └── NO ➔ 3. Traditional Fallback (Deterministic Rule Processing)7. Settings Reference
Section titled “7. Settings Reference”NOC AI Service Mappings
Section titled “NOC AI Service Mappings”| Parameter | Type | Default | Description |
|---|---|---|---|
service_key |
String | Required | Service identifier (ai_perimeter_guard, rtpengine_qos_sentinel, sip_trace_diagnostics). |
ai_profile_id |
Integer | Nullable | References sbc_admin.ai_profiles(id). |
is_enabled |
Boolean | true |
Master toggle controlling autonomous AI execution for this service. |
fallback_mode |
Enum | traditional |
Behavior upon AI provider latency/outage: traditional, retry, or drop. |
External AI Access Tokens (PAT)
Section titled “External AI Access Tokens (PAT)”| Parameter | Type | Default | Description |
|---|---|---|---|
name |
String | Required | Friendly description (e.g., NOC Lead Claude Desktop, Perimeter Watchdog). |
expires_in |
String | 90d |
Expiration window: 30d, 90d (Recommended), 365d, or never. |
key_prefix |
String | ak_sbc_... |
Distinctive token prefix displayed in the audit table. |
client_type |
Enum | claude |
Integration preset (claude, chatgpt, cursor). |
8. Model Context Protocol (MCP) & External AI Integration
Section titled “8. Model Context Protocol (MCP) & External AI Integration”Ring2All SBC implements the official Model Context Protocol (MCP) specification to expose perimeter telemetry and diagnostics to autonomous agents and internal AI assistants.
Available MCP Tools
Section titled “Available MCP Tools”| Tool Name | Scope | Purpose |
|---|---|---|
get_sbc_ai_service_hub_status |
Telemetry & Audit (RO) |
Returns active AI Service Hub mappings, configured profiles, and operational health states. |
get_sbc_dispatcher_status |
Routing (RO) |
Audits carrier dispatchers, active gateways, and probe latencies. |
analyze_sip_trace |
Diagnostics (RO) |
Submits a call ID or SIP ladder to the assigned AI Profile for root-cause analysis. |
enforce_ip_ban |
Security (RW) |
Triggers an immediate temporary or permanent IP block in the perimeter firewall. |
Tool Schema: get_sbc_ai_service_hub_status
Section titled “Tool Schema: get_sbc_ai_service_hub_status”{ "name": "get_sbc_ai_service_hub_status", "description": "Retrieves the centralized AI Service Hub status for Ring2All SBC, showing active service bindings, models, and fallback modes.", "parameters": { "type": "object", "properties": { "node_id": { "type": "string", "description": "Optional cluster node identifier (defaults to local SBC node)." } } }}Realistic Execution Response:
{ "success": true, "data": { "nodeId": "sbc-core-01", "servicesCount": 3, "services": [ { "serviceKey": "ai_perimeter_guard", "isEnabled": true, "fallbackMode": "traditional", "profileName": "Perimeter Threat Analyst", "model": "claude-3-5-sonnet", "providerName": "Anthropic Reasoning Engine" }, { "serviceKey": "rtpengine_qos_sentinel", "isEnabled": true, "fallbackMode": "traditional", "profileName": "Media Quality Analyst", "model": "gpt-4o-mini", "providerName": "OpenAI Production" }, { "serviceKey": "sip_trace_diagnostics", "isEnabled": true, "fallbackMode": "traditional", "profileName": "SIP RFC Protocol Assistant", "model": "gpt-4o", "providerName": "OpenAI Production" } ] }}Bilingual Natural Language Prompt Examples
Section titled “Bilingual Natural Language Prompt Examples”English Prompts
Section titled “English Prompts”- “NOC AI Assistant, what is the current AI Service Hub configuration for the perimeter guard?”
- “Analyze the recent 488 Not Acceptable Here responses from Carrier Alpha using the SIP trace assistant.”
- “Verify if RTPEngine MOS anomaly detection is currently active on node sbc-core-01.”
Spanish Prompts
Section titled “Spanish Prompts”- “Asistente IA del NOC, ¿cuál es la configuración actual del AI Service Hub para el perímetro?”
- “Analiza las respuestas 488 Not Acceptable Here recientes del Carrier Alfa usando el asistente de trazas SIP.”
- “Verifica si la detección de anomalías de MOS en RTPEngine está activa en el nodo sbc-core-01.”
9. Common Scenarios & Best Practices
Section titled “9. Common Scenarios & Best Practices”- High-CPS Resiliency: In high-load carrier environments ($> 500\text{ CPS}$), keep RTPEngine QoS Sentinel on an asynchronous batching schedule to avoid saturating LLM provider rate limits.
- Local Air-Gapped Deployment: For sensitive defense or banking telecommunications, point the AI Service Hub to a local Ollama or vLLM instance running LLaMA 3.1 over a private loopback address (
http://127.0.0.1:11434). - Emergency Fallback Verification: Periodically test the
traditionalfallback mode to ensure that Kamailio firewall rules continue to trigger deterministically during upstream AI outages.
10. Troubleshooting & Diagnostics
Section titled “10. Troubleshooting & Diagnostics”- NOC AI Assistant Widget Missing: Check Tab 2 to verify that your administrator username has an assigned AI profile and that the toggle is set to
Yes. - SIP Trace Analysis Returns Generic Error: Ensure that the assigned profile in Tab 1 has valid API keys under AI Providers and that the
timeout_msparameter is at least30000ms. - Claude Desktop MCP Connection Dropped: Verify that your PAT in Tab 3 has not expired and that the URL in
claude_desktop_config.jsonuses the canonicalhttps://<sbc-host>/api/mcp/sseendpoint.
11. Glossary
Section titled “11. Glossary”- AI Service Hub: Consolidated control center for autonomous perimeter and NOC intelligence services.
- BYOS (Bring Your Own Subscription): Integration model enabling operators to connect personal frontier AI tools at $0 API cost.
- Heuristic AI Perimeter Guard: Real-time traffic analyzer scoring SIP requests against abusive scanner signatures.
- MOS (Mean Opinion Score): Standard metric (1.0 to 5.0) evaluating synthesized and relayed voice audio quality.
- NOC AI Assistant: Autonomous interactive assistant embedded within Ring2All SBC for diagnostics and routing optimization.
- RTPEngine QoS Sentinel: Asynchronous monitor inspecting RTP jitter, packet loss, and latency telemetry.

