LS

Local Source

Protocol
Introduced in Rel-8
A term from the H.248/Megaco media gateway control protocol denoting a logical entity within a Media Gateway that represents the source of media (e.g., audio, video) originating locally within that gateway. It is used in context associations to describe the flow and termination of media streams.

Description

Within the 3GPP architecture, particularly in specifications related to the Media Gateway Control Function (MGCF) and IP Multimedia Subsystem (IMS), the term "Local Source" (LS) is adopted from the ITU-T H.248 (Megaco) protocol naming convention. H.248 is a master-slave protocol used by a Media Gateway Controller (MGC), such as an MGCF, to control the resources and media processing within a Media Gateway (MGW). The protocol models a Media Gateway as containing a set of Terminations and Contexts. Terminations represent physical or logical endpoints that source or sink media streams (e.g., a TDM timeslot or an RTP port), while Contexts are associations that mix, switch, or connect multiple Terminations.

The "Local Source" is a specific role assigned to a Termination within a Context. In a typical two-termination Context representing a point-to-point call, one Termination is designated as the Local Source (LS) and the other as the Remote Source (RS). The Local Source Termination is the entity that is physically located within the Media Gateway being controlled and is the source of the media stream *from the perspective of that specific MGW*. For example, if an MGW is converting a TDM circuit from the PSTN side to an RTP stream on the IP side, the TDM termination would be configured as the Local Source for the media flowing from the PSTN into the gateway, and the RTP termination would be the Remote Source for that same media flow direction.

This distinction is crucial for the Media Gateway Controller to correctly command media processing operations like echo cancellation, transcoding, or packetization. Commands sent via H.248, such as Modify, can include descriptors (e.g., LocalControl, LocalDescriptor) that contain parameters specific to the Local Source termination, such as the codec to use, packetization period, and sending IP address/port for the RTP stream. The LS/RS model allows the MGC to unambiguously define the topology and flow of media within a Context, enabling precise control over complex scenarios involving multiple media streams, conferencing, or announcements. In 3GPP specs like TS 29.230 and TS 29.238, which define H.248 profiles for IMS and PSTN/CS interworking, the use of Local Source is specified to ensure interoperable control of Media Gateways across different vendor equipment.

Purpose & Motivation

The concept of Local Source (and its counterpart, Remote Source) was introduced in the H.248 protocol to solve the problem of unambiguous media stream control in a decomposed gateway architecture. Traditional monolithic switches handled switching and media processing internally. With the advent of softswitch and IMS architectures, the control plane (MGC/MGCF) was separated from the media plane (MGW). This required a standardized protocol, H.248, for the controller to instruct the gateway on how to process media. A key challenge was for the controller to describe bidirectional media flows and processing requirements without inherent knowledge of the gateway's internal physical mappings.

The LS/RS terminology provides this necessary frame of reference. By defining a "local" perspective (the MGW itself) and a "remote" perspective (the entity on the other side of the media stream), the protocol commands become relative and portable. The same logical command sequence can be used by an MGC to control different types of MGWs (e.g., one with a DS1 interface, another with an E1 interface) because it operates on the abstract roles of LS and RS rather than absolute physical ports. This abstraction is vital for multi-vendor interoperability and for simplifying the control logic in the MGC.

In the context of 3GPP's adoption of H.248 for IMS Media Gateway Control, specifying the use of Local Source was motivated by the need for precise control in interworking scenarios. When an MGCF sets up a call between the PSTN and IMS, it must create Contexts in the MGW that bridge TDM and IP terminations. Using the LS designation allows the MGCF to correctly configure which termination provides the incoming media to be packetized (the LS on the TDM side) and which termination provides the incoming packets to be converted to TDM (the LS on the IP side). This ensures proper media flow, supports advanced features like tone injection and law conversion, and forms the foundation for reliable voice and video interworking between circuit-switched and packet-switched domains.

Key Features

  • A logical role for a Termination within an H.248 Context, denoting the media source local to the Media Gateway
  • Provides a frame of reference for issuing media control commands (e.g., Modify, Add)
  • Used in conjunction with descriptors (LocalDescriptor) to set sending parameters like codec and RTP address
  • Essential for defining media flow direction and topology in a Context
  • Enables abstract, vendor-agnostic control of media processing by the Media Gateway Controller
  • Critical for interworking scenarios between TDM/PSTN and IP/IMS networks

Evolution Across Releases

Rel-8 Initial

Adopted the H.248 protocol and its "Local Source" (LS) terminology into 3GPP specifications for Media Gateway Control, particularly within the IMS architecture. Defined its use in TS 23.167 (IMS), TS 29.230 (H.248 profile for IMS MGW), and TS 29.238 (PSTN/CS interworking) to control media streams in Media Gateways for service interworking and bearer path control.

Refined H.248 profiles and procedures, further specifying the application of Local Source in contexts for IMS Centralized Services (ICS) and other advanced media gateway scenarios.

Enhanced support for Local Source in broader interworking and transcoding scenarios. Specifications were updated to align with new codec and transport options.

Maintained the H.248-based control model with Local Source as a core concept for MGW control within the evolving IMS and CS interworking frameworks.

Continued inclusion of Local Source definitions in H.248 profiles supporting VoLTE and SRVCC, ensuring consistent media control during handovers and service continuity.

No specific evolution for the Local Source concept documented. It remained a stable part of the H.248 protocol usage within 3GPP.

Local Source terminology and its application in MGW control persisted as defined in earlier releases, supporting ongoing deployments.

As 5G introduced new media handling requirements, the existing H.248-based control for interworking with legacy networks (PSTN, 2G/3G CS) was carried forward, retaining the Local Source model.

Continued support for Local Source within the H.248 profiles used for 5G media gateway control, particularly for interconnection with non-5G networks.

Maintained the use of Local Source in relevant specifications. The focus on control protocols shifted towards more cloud-native approaches, but H.248 and its terminology remained for specific interworking functions.

Local Source definitions in H.248 profiles were upheld without change, ensuring backward compatibility for media gateway control in hybrid network environments.

The Local Source concept, as part of the H.248 protocol framework for media gateway control, remains supported in 3GPP specifications for legacy and interworking scenarios, with no updates in this release.

Defining Specifications

SpecificationTitle
TS 23.167 3GPP TS 23.167
TS 23.889 3GPP TS 23.889
TS 29.230 3GPP TS 29.230
TS 29.238 3GPP TS 29.238