# US 2024/0422267 A1 · System and method for running a multi-module telephony application

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0422267 A1
- Document ID: US20240422267A1
- Status: Published application
- Kind: A1
- Application number: 18/817,875
- Filed: 2024-08-28
- Published: 2024-12-19
- Earliest claimed: 2009-10-07
- Assignees: Twilio Inc.
- Applicants: Twilio Inc.
- Inventors: Jeff Lawson; John Wolthuis; Evan Cooke
- Web page: https://patentgrep.com/patent/US20240422267A1

## CPC

- H04M 15/43: {Billing software details}
- H04M 15/41: {Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]}
- H04M 15/51: {for resellers, retailers or service providers}
- H04M 15/61: {based on the service used}
- H04M 15/68: {Payment of value-added services}
- H04M 15/8228: {Session based}
- H04L 2101/38: Telephone uniform resource identifier [URI]
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system and method of a telephony application platform can include receiving a communication session request specifying a destination endpoint, connecting the communication session through a first application module according to the destination endpoint, receiving an instruction to transition communication control to a second application module, transitioning communication control of the communication session to the second application module, independently metering resource usage of the communication session of each application module, and accounting the metered usage of the communication session.

## Claims

### Claim 1

A system comprising:
a computer-readable medium that stores instructions; and
one or more processors configured to execute the instructions to perform operations comprising:
receiving a communication session request with an origin endpoint and directed to a destination endpoint;
identifying a mapping between the destination endpoint and an initial module configuration;
based on the mapping, controlling a communication session by a routing module or an instruction-processing module;
during the communication session and in response to receiving a direction to transfer application control, transitioning control of the communication session between the routing module and the instruction-processing module;
tracking platform resource usage of the routing module during the communication session while controlling the communication session according to the routing module; and
tracking platform usage of the instruction-processing module during the communication session while controlling the communication session according to the instruction-processing module.

### Claim 2 (depends on 1)

The system of claim 1, wherein the communication session is a synchronous communication session.

### Claim 3 (depends on 1)

The system of claim 1, wherein the controlling of the communication session by the routing module comprises connecting the origin endpoint and the destination endpoint through routing resources of the routing module.

### Claim 4 (depends on 1)

The system of claim 1, wherein the controlling of the communication session by the instruction-processing module comprises:
connecting the communication session through communication processing resources;
retrieving application instructions; and
executing telephony instructions during the communication session;

### Claim 5 (depends on 1)

The system of claim 1, wherein:
the direction to transfer application control is a direction to transfer application control to the routing module; and
the transitioning of the control of the communication session between the routing module and the instruction-processing module comprises transitioning control of the communication session to the routing module.

### Claim 6 (depends on 1)

The system of claim 1, wherein:
the direction to transfer application control is a direction to transfer application control to the instruction-processing module; and
the transitioning of the control of the communication session between the routing module and the instruction-processing module comprises transitioning control of the communication session to the instruction-processing module.

### Claim 7 (depends on 1)

The system of claim 1, wherein the operations further comprise:
during the communication session, receiving a direction to transfer application control to a service module;
in response to the direction to transfer control to the service module, transferring control to the service module; and
tracking platform usage of the service module during the communication session while controlling the communication session according to the service module.

### Claim 8

A non-transitory computer-readable medium that stores instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
receiving a communication session request with an origin endpoint and directed to a destination endpoint;
identifying a mapping between the destination endpoint and an initial module configuration;
based on the mapping, controlling a communication session by a routing module or an instruction-processing module;
during the communication session and in response to receiving a direction to transfer application control, transitioning control of the communication session between the routing module and the instruction-processing module;
tracking platform resource usage of the routing module during the communication session while controlling the communication session according to the routing module; and
tracking platform usage of the instruction-processing module during the communication session while controlling the communication session according to the instruction-processing module.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the communication session is a synchronous communication session.

### Claim 10 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the controlling of the communication session by the routing module comprises connecting the origin endpoint and the destination endpoint through routing resources of the routing module.

### Claim 11 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the controlling of the communication session by the instruction-processing module comprises:
connecting the communication session through communication processing resources;
retrieving application instructions; and
executing telephony instructions during the communication session;

### Claim 12 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein:
the direction to transfer application control is a direction to transfer application control to the routing module; and
the transitioning of the control of the communication session between the routing module and the instruction-processing module comprises transitioning control of the communication session to the routing module.

### Claim 13 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein:
the direction to transfer application control is a direction to transfer application control to the instruction-processing module; and
the transitioning of the control of the communication session between the routing module and the instruction-processing module comprises transitioning control of the communication session to the instruction-processing module.

### Claim 14 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the operations further comprise:
during the communication session, receiving a direction to transfer application control to a service module;
in response to the direction to transfer control to the service module, transferring control to the service module; and
tracking platform usage of the service module during the communication session while controlling the communication session according to the service module.

### Claim 15

A method comprising:
receiving a communication session request with an origin endpoint and directed to a destination endpoint;
identifying a mapping between the destination endpoint and an initial module configuration;
based on the mapping, controlling a communication session by a routing module or an instruction-processing module;
during the communication session and in response to receiving a direction to transfer application control, transitioning control of the communication session between the routing module and the instruction-processing module;
tracking platform resource usage of the routing module during the communication session while controlling the communication session according to the routing module; and
tracking platform usage of the instruction-processing module during the communication session while controlling the communication session according to the instruction-processing module.

### Claim 16 (depends on 15)

The method of claim 15, wherein the communication session is a synchronous communication session.

### Claim 17 (depends on 16)

The method of claim 16, wherein the controlling of the communication session by the routing module comprises connecting the origin endpoint and the destination endpoint through routing resources of the routing module.

### Claim 18 (depends on 15)

The method of claim 15, wherein the controlling of the communication session by the instruction-processing module comprises:
connecting the communication session through communication processing resources;
retrieving application instructions; and
executing telephony instructions during the communication session;

### Claim 19 (depends on 15)

The method of claim 15, wherein:
the direction to transfer application control is a direction to transfer application control to the routing module; and
the transitioning of the control of the communication session between the routing module and the instruction-processing module comprises transitioning control of the communication session to the routing module.

### Claim 20 (depends on 15)

The method of claim 15, wherein:
the direction to transfer application control is a direction to transfer application control to the instruction-processing module; and
the transitioning of the control of the communication session between the routing module and the instruction-processing module comprises transitioning control of the communication session to the instruction-processing module.
