Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
The ISO/IEC 29341-20-2 standard defines the overarching architecture for UPnP Telephony, establishing the framework within which all other telephony services (Call, Message, Device, Media, Setup) operate. This architectural standard specifies the component model, service relationships, discovery mechanisms, and communication patterns that enable interoperable telephony solutions across heterogeneous home and small business networks. It is the foundational document that ensures consistency and composability across the entire UPnP Telephony device and service ecosystem.
The UPnP Telephony architecture follows a layered model. At the bottom is the Transport Layer, which handles physical and network connectivity — Ethernet, Wi-Fi, and IP networking. Above that sits the Signaling Layer, abstracting SIP, H.323, or proprietary protocols behind the UPnP Telephony service interfaces. The Service Layer contains the four telephony-specific services (Device, Call, Media, Message) plus the Setup service for initial configuration. At the top, the Application Layer hosts control points and user-facing applications that consume the telephony services.
The standard defines two primary device types: the Telephony Client Device (TCD), which represents an endpoint that can initiate and receive calls, and the Telephony Server Device (TSD), which provides telephony services to multiple clients on the network. A TSD might be a home gateway or an IP-PBX that bridges between the UPnP telephony network and external telephone networks (PSTN, cellular, or VoIP providers). The TCD is typically a handset, softphone, or smart speaker.
| Service | Role | Dependencies |
|---|---|---|
| Telephony Device Service | Device capabilities, line configuration, registration | None (root service) |
| Telephony Call Service | Call signaling, state machine, session management | Device Service (hosted) |
| Telephony Media Service | Media stream control, codec negotiation, redirection | Device Service, Call Service |
| Telephony Message Service | Unified messaging, voicemail, SMS, instant messages | Device Service (hosted) |
| Telephony Setup Service | Initial provisioning, account configuration, network setup | Device Service |
Service composition follows the UPnP standard embedding model. The Device service acts as the root container, embedding references to the other services through its service list in the device description document. A control point discovering the Telephony Device can immediately enumerate all available telephony services and their capabilities without additional discovery round-trips. This composite model enables modular implementations where manufacturers can implement only the services relevant to their device class.
When designing a UPnP Telephony system, the choice of service granularity has significant implications for device resource utilization. A resource-constrained IoT device might implement only the Device and Call services with basic audio support, while a full-featured smart home hub implements all five services with comprehensive media and messaging capabilities. The architectural standard explicitly accommodates this flexibility through its profile concept — each device declares a TelephonyProfile that indicates which services and capabilities it supports.
Event synchronization across services presents architectural challenges. When a Call action triggers a media state change, both the Call service and the Media service must emit consistent event notifications. The standard recommends using a shared state management layer within the device that serializes state transitions and ensures event ordering is preserved across service boundaries. Without this, a control point might receive a “call connected” event before the media stream is actually ready, leading to race conditions in user interface updates.