SIP Session Reconstruction via Header Modification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing communication systems face challenges in maintaining and redirecting established communication sessions during failover, particularly with protocols like SIP, as the failover system often fails to recognize redirected communications, leading to difficulties in maintaining session state.

Innovation Solution

A method where a first message is processed by a primary container, and upon detection of its unavailability, a second message associated with the session is modified by moving or adding headers, allowing it to be encapsulated into a new SIP INVITE message sent to a secondary container, which reconstructs the session by creating new To and From tags, enabling successful failover of SIP sessions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a failover system redirects an existing SIP communication session to a secondary container, then communication continuity is attempted, but the failover system is rejected by the secondary container because it cannot recognize the redirected communication as an existing session

Engineering Contradiction:
Improvecommunication continuityVSAvoidsession recognition
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system performs preliminary actions by modifying the SIP message headers (moving To/From tags to Record-Route headers, adding X-Original-To and X-Original-From headers) before the message reaches the secondary container. This preliminary modification ensures that the secondary container can recognize the message as part of an existing session, enabling successful failover while maintaining session state.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The failover system acts as an intermediary between the primary and secondary containers. It intercepts SIP messages, modifies their headers to preserve session context, and forwards them to the appropriate container. This intermediary function enables the secondary container to recognize redirected communications as existing sessions rather than new requests.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If the primary container is made unavailable for failover testing, then system reliability is improved, but the session state cannot be maintained on the failover system

Engineering Contradiction:
Improvefailover capabilityVSAvoidsession state
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The system creates a copy of the session state information by preserving critical SIP message headers (To, From, Call-ID, CSeq) in modified form within the message stream. When failover occurs, these copied header values enable the secondary container to reconstruct the session context without needing direct access to the primary container's memory state.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

Before the primary container becomes unavailable, the system preliminarily modifies the SIP message headers to embed session identification information. This preliminary action ensures that when the failover system receives messages during the unavailable period, it can recognize and maintain session state based on the pre-modified headers.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If SIP message headers are modified to enable session recognition, then session continuity is achieved, but message structure complexity increases

Engineering Contradiction:
Improvesession recognitionVSAvoidmessage structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The modified SIP message headers serve multiple functions simultaneously: the Record-Route headers maintain routing information while preserving session context, and the X-Original-To/X-Original-From headers provide both authentication and session identification. This multi-functionality reduces the need for additional separate mechanisms, offsetting the structural complexity with functional consolidation.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS9344460B2High availability session reconstruction
Publication Date: 2016.05.17 ARLINGTON TECHNOLOGIES LLC
  • US9344460B2 patent drawing
  • US9344460B2 patent drawing
  • US9344460B2 patent drawing

AI summary

A first message is received at a primary container that is replicated by a secondary container. The first message is an initial message to initiate a first session. The first message is processed by an application in the primary container. At a point in time, the primary container is unavailable and the system and method detect that the primary container is unavailable. A second message is received. The second message is associated with the first session. The second message is modified by moving at least a portion of a header in the second message into a different header in the second message and adding an additional header to the second message in response to the primary container being unavailable.