Smarter & Secure Voice Networks Made Easy with Tmedia APIs

Tmedia gateways are high-performance, world class media gateways. Tmedia devices are made even powerful thanks to the scripting engine at the core of every Tmedia Application Programming Interface (API). Tmedia APIs are fully customizable via the scripting engine and can leverage over 100 call parameters to create intelligent, highly customizable call flows. When these APIs interact with external services—such as fraud detection platforms, routing engines, or analytics tools—they become dynamic enhancements that enable real-time decision-making on every call and signaling interaction.

Whether you’re building custom routing logic, enabling fraud detection, or implementing compliance tools like STIR/SHAKEN, Tmedia APIs give you the flexibility to connect your Tmedia device to the rest of your telecom stack.

Tmedia API Capabilities

API Feature

Function

Use cases

REST API Integration

Enables external systems to interact with Tmedia using HTTP methods (GET, POST, PUT, DELETE) for call decisions, provisioning, and monitoring.

Fraud Prevention, Branded Calling, Call Reputation, Provisioning, Data-Driven Call Routing.

Routing Script Engine

Uses scripting to define custom call routing logic in the browser without compilation.

Advanced Routing, Service Chaining

Tmedia API Solutions

API Feature

Function

Use cases

STIR/SHAKEN API Support

Verifies and signs calls using REST or SIP Identity headers for caller authentication and regulatory compliance.

STIR/SHAKEN Compliance, Branded Calling

CNAM, LNP, Toll-Free Lookup

Performs external lookups via REST API to retrieve caller name, number portability status, and robocall analytics.

LNP Routing, CNAM Delivery, Toll-Free Call Handling

Real-Time Billing & CDR

Generates detailed CDRs and supports billing event triggers for integration with external charging systems.

Billing

Long-Distance Call Routing

using PICs and CICs

Programmatic routing that takes into account carrier codes and primary interexchange carrier codes.

Routing & Billing across LATAs

REST API Integration

Tmedia supports REST API integration during SIP call processing, enabling interaction with external systems in real time. This functionality is driven by Tmedia’s scripting engine, which allows for precise control over when and how API calls are executed using more than 100 available call parameters, such as caller ID, dialed number, or SIP headers.

This approach allows service providers to implement use cases like fraud prevention, branded calling, call reputation analysis, provisioning, and data-driven call routing. Because the API logic is handled within the script, integration is highly flexible and can be tailored to meet specific operational or business requirements.

API calls are made during the signaling phase of the call, ensuring that decisions are made quickly and do not affect media quality. The result is a scalable, reliable way to enhance call handling with external data and services.

Figure: Example of a network architecture of TMedia API Integration​