Real-Time Communication Platform: PSTN, WebRTC & Call Orchestration

IT IDOL Technologies is developing a real-time communication platform that connects customers with advisors through traditional phone networks and WebRTC-based voice communication. The solution modernizes a legacy phone-based workflow with an advisor mobile application and a backend orchestration engine responsible for call management, advisor availability, billing, and real-time notifications. It supports multiple business brands through a multi-tenant architecture.

Platform Profile

Project Snapshot

Verified environment overview and technical ecosystem specifications for a real-time communication platform.

Industry

Technology & Communications

Project Type

Call Orchestration Backend & Advisor Mobile Application

Project Status

Active

Domain

Real-Time Communication & Voice Platforms

Real-Time Communication

LiveKit, WebRTC

Database

PostgreSQL

ORM

Drizzle ORM

Background Processing

BullMQ, Redis

Messaging & Events

Kafka

Mobile State Management

Zustand

Region

India

Mobile Frontend

React Native, TypeScript

Backend

Node.js, NestJS, TypeScript, Fastify

Mobile Navigation

React Navigation

Native Call Integration

CallKit, ConnectionService

Notifications

Firebase Cloud Messaging (FCM), Apple Push Notification service (APNs)

Testing & Quality

Jest, ESLint, Prettier

Deployment & Infrastructure

Docker, Azure DevOps, AWS ECS

Mobile Build Tools

Gradle, Xcode

About the Client & Project Context

Modernizing Phone-Based Advisor Communication

Businesses that connect customers with advisors through voice calls need to manage more than the communication channel itself. They must coordinate advisor availability, incoming call notifications, connection establishment, call status, and billing throughout the conversation.

The project focused on modernizing an existing phone-based advisor workflow by introducing a mobile application and a backend system capable of coordinating traditional Public Switched Telephone Network (PSTN) calls with WebRTC communication.

The platform needed to support multiple business brands while maintaining reliable call handling across different communication channels. It also required real-time visibility into advisor availability and call status, along with billing workflows that could operate while a conversation was in progress.

IT IDOL Technologies is developing the backend call-orchestration engine and advisor mobile application to support these requirements. The system coordinates advisor availability, call establishment, voice communication, billing events, and call termination through a connected technical workflow.

Project Requirements

Coordinating Real-Time Calls, Advisor Availability & Billing

The platform required a backend architecture capable of managing the complete lifecycle of an advisor call while maintaining communication between mobile applications, voice services, and billing workflows.

Advisor availability management

Allow advisors to log in and update their availability through the mobile application.

Incoming call notifications

Notify available advisors when a customer call is received and provide the required incoming-call experience.

Call lifecycle orchestration

Coordinate advisor locking, call initiation, connection establishment, active call management, and call termination.

PSTN and WebRTC integration

Bridge traditional telephone calls with WebRTC-based voice communication.

Real-time call state tracking

Maintain consistent call states across the backend, mobile application, and communication services.

Mid-call billing

Support additional customer purchases through a Quick Buy top-up workflow while a call is active.

Network resilience

Handle network degradation and support fallback behavior during communication interruptions.

Multi-tenant support

Support communication workflows across multiple business brands.

Push notification integration

Use Firebase Cloud Messaging and Apple Push Notification service for incoming-call notifications.

Call event processing

Coordinate communication events and service updates through backend messaging and processing components.

IT IDOL Technologies' Role

IT IDOL Technologies is responsible for developing the core call-orchestration backend and advisor mobile application. The work focuses on connecting communication services, managing call states, and supporting real-time operational workflows.

Backend Call-Orchestration Development

Developed the NestJS-based backend service using TypeScript and Fastify to coordinate the complete call lifecycle, including advisor locking, call establishment, billing events, and call termination.

Real-Time Communication Integration

Integrated LiveKit for WebRTC media handling and developed the orchestration workflows required to bridge traditional PSTN calls with WebRTC sessions.

Advisor Mobile Application Development

Developed the React Native application for advisors, including authentication, availability management, incoming-call notifications, and active-call interfaces.

Billing & Event Management

Implemented backend workflows for mid-call Quick Buy top-ups, call-related billing events, and asynchronous processing using Redis, BullMQ, and Kafka.

Notifications & Native Call Experience

Integrated push notifications through FCM and APNs, alongside native mobile calling capabilities using CallKit on iOS and ConnectionService on Android.

Solution & Implementation

Engineering a Connected PSTN and WebRTC Call-Orchestration System

The solution uses a NestJS-based backend to coordinate advisor availability, call establishment, communication sessions, and billing. LiveKit manages WebRTC media sessions, while the backend connects these sessions with traditional phone networks and the advisor mobile application.

  • The backend uses a call state machine to manage the different stages of a communication session.

    The orchestration workflow coordinates advisor availability and locking before proceeding with call establishment. It then manages the progression through connection, active communication, billing events, and final teardown.

    Advisor locking helps prevent conflicting call assignments and supports controlled handling of incoming requests.

  • LiveKit provides the WebRTC media infrastructure used for real-time voice communication.

    The backend coordinates room creation and session-related events through LiveKit integrations and webhooks. These events help the orchestration service maintain call status and respond to changes throughout the communication lifecycle.

    This approach connects media-session activity with the broader backend call-management workflow.

  • A key engineering component is the integration of traditional PSTN calls with WebRTC communication.

    The backend coordinates the connection between the telephone network and LiveKit-based voice sessions, allowing customers using conventional phone access to communicate through the modernized advisor workflow.

    Network-degradation handling and fallback behavior are also incorporated to support communication continuity when connection quality becomes unstable.

  • The platform includes a mid-call Quick Buy feature that allows additional customer purchases while a conversation is active.

    The backend coordinates top-up events with the ongoing call lifecycle so billing activity can be handled without treating the purchase as a separate communication session.

    This requires call-state awareness and coordination between billing operations and active communication workflows.

  • IT IDOL Technologies developed the advisor-facing mobile application using React Native and TypeScript.

    The application provides the following core interfaces:

    • Advisor login and authentication.
    • Availability status management.
    • Incoming-call screens.
    • Active-call interfaces.
    • Push-driven incoming-call notifications.

    Firebase Cloud Messaging and Apple Push Notification service support notifications across Android and iOS. Native calling integrations through Android ConnectionService and Apple CallKit help connect incoming and active call experiences with the respective mobile operating systems.

  • The backend uses BullMQ and Redis for background job processing, while Kafka supports event-driven communication between system components.

    PostgreSQL stores application data, with Drizzle ORM providing database access. These components support the processing of call-related events and backend workflows without requiring every operation to be handled within a single synchronous request.

  • The platform is designed to support multiple business brands through a multi-tenant approach.

    This allows the call-management system to serve different brand-based advisor operations while maintaining a shared technical foundation for communication, call orchestration, and billing workflows.

Key Capabilities

Real-Time Voice Communication & Advisor Operations

The platform brings together communication, mobile interaction, and billing capabilities through the following functionality:

PSTN and WebRTC connectivity

Bridges traditional telephone calls with browser- and app-based real-time voice communication.

Centralized call orchestration

Manages the lifecycle of calls through a backend state machine.

Advisor availability management

Supports availability updates and controlled advisor assignment.

LiveKit session management

Coordinates WebRTC rooms and communication events.

Network-degradation handling

Supports fallback behavior when network conditions affect communication.

Mid-call Quick Buy

Enables additional customer purchases during active conversations.

Push-driven call notifications

Delivers incoming-call alerts through FCM and APNs.

Native mobile call experience

Integrates with CallKit and Android ConnectionService.

Multi-tenant support

Accommodates multiple business brands through shared communication infrastructure.

Asynchronous event processing

Uses Redis, BullMQ, and Kafka to support background jobs and event coordination.

Key Capabilities

Technology Stack

Mobile App DevelopmentReact Native
Node Js Logo
Backend DevelopmentNode.js

Building Reliable Real-Time Communication Systems

Real-time communication platforms require careful coordination between voice infrastructure, application services, mobile experiences, and billing workflows. IT IDOL Technologies develops backend systems and mobile applications that bring these components together to support complex communication requirements.

Contact Us

Let's Start With a Conversation

Tell us a little about your project, team, or business requirement. You don’t need to have everything figured out before reaching out.

Contact-us-image