# US 2016/0366193 A1 · System and method for processing telephony sessions

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

- Number: US 2016/0366193 A1
- Document ID: US20160366193A1
- Status: Published application
- Kind: A1
- Application number: 15/245,456
- Filed: 2016-08-24
- Published: 2016-12-15
- Earliest claimed: 2008-04-02
- Assignees: Twilio Inc.
- Applicants: Twilio, Inc.
- Inventors: Jeff Lawson; John Wolthuis; Evan Cooke
- Web page: https://patentgrep.com/patent/US20160366193A1

## CPC

- H04L 65/1069: Session establishment or de-establishment
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/3247: {involving digital signatures}
- H04L 65/1013: {Network architectures, gateways, control or user entities}
- H04L 65/1045: Proxies, e.g. for session initiation protocol [SIP]
- H04L 65/1104: Session initiation protocol [SIP]
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 69/329: in the application layer [OSI layer 7]
- H04M 1/2473: {Telephone terminals interfacing a personal computer, e.g. using an API (Application Programming Interface) (details of API H04M7/0021)}
- H04M 7/0021: {Details of Application Programming Interfaces}
- H04M 7/003: {Click to dial services}
- H04M 7/0075: {Details of addressing, directories or routing tables}
- H04L 65/1101: Session protocols
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

In one embodiment, the method of processing telephony sessions includes: communicating with an application server using an application layer protocol; processing telephony instructions with a call router; and creating call router resources accessible through a call router Application Programming Interface (API). In another embodiment, the system for processing telephony sessions includes: a call router, a URI for an application server, a telephony instruction executed by the call router, and a call router API resource.

## Claims

### Claim 1

A method comprising: at a hardware call router system that is communicatively coupled to at least an external first application server via an application layer protocol and that is communicatively coupled to a telephony network:
responsive to the call router system initiating a telephony voice session for a telephony endpoint associated with an initial URI of a first call router account for the first application server, the call router system:
determining a first secret key of the first call router account,
generating a first request to a first application resource of the first application server, wherein the first request includes state information of the telephony voice session, and wherein the first application resource is specified by the initial URI,
signing request parameters of the first request by using the first secret key, and
sending the signed first request to the first application server, wherein the signed first request is an application layer request;
responsive to an application layer protocol first response that is provided by the first application server and that includes a plurality of telephony instructions, the call router system sequentially processing at least a subset of the plurality of telephony instructions and executing at least one telephony action according to the sequential processing of the telephony instructions,
wherein the first application server provides the first response responsive to verification of the signed first request by using the first secret key.

### Claim 2 (depends on 1)

The method of claim 1, wherein executing at least one telephony action comprises at least one of: playing audio during the telephony voice session, playing text-to-speech audio during the telephony voice session, capturing input during the telephony voice session, calling a telephony endpoint during the telephony voice session, and recording audio during the telephony voice session.

### Claim 3 (depends on 1)

The method of claim 1, wherein executing at least one telephony action comprises: the call router system sending a telephony message that is sent to a telephony endpoint.

### Claim 4 (depends on 1)

The method of claim 1, wherein the telephony endpoint is one of a phone number and a Session Initiation Protocol (SIP) address.

### Claim 5 (depends on 1)

The method of claim 1, wherein the telephony voice session is initiated in response to an inbound telephony communication received by the call router system.

### Claim 6 (depends on 1)

The method of claim 1, wherein the telephony voice session is initiated in response to an application programming interface request to create a telephony communication.

### Claim 7

A method comprising: at a hardware call router system that is communicatively coupled to at least an external first application server via an application layer protocol and that is communicatively coupled to an SMS network:
responsive to the call router system receiving an SMS message for a telephony endpoint associated with an initial URI of a first call router account for the first application server, the call router system:
determining a first secret key of the first call router account,
generating a first request to a first application resource of the first application server, wherein the first request includes state information of the SMS message, and wherein the first application resource is specified by the initial URI,
signing request parameters of the first request by using the first secret key, and
sending the signed first request to the first application server, wherein the signed first request is an application layer request;
responsive to an application layer protocol first response that is provided by the first application server and that includes a plurality of telephony instructions, the call router system sequentially processing at least a subset of the plurality of telephony instructions and executing at least one telephony action according to the sequential processing of the telephony instructions,
wherein the first application server provides the first response responsive to verification of the signed first request by using the first secret key.

### Claim 8 (depends on 7)

The method of claim 7, wherein executing at least one telephony action comprises at least one of: playing audio during the telephony voice session, playing text-to-speech audio during the telephony voice session, capturing input during the telephony voice session, calling a telephony endpoint during the telephony voice session, and recording audio during the telephony voice session.

### Claim 9 (depends on 7)

The method of claim 7, wherein executing at least one telephony action comprises: the call router system sending a telephony message that is sent to a telephony endpoint.

### Claim 10 (depends on 7)

The method of claim 7, wherein the telephony endpoint is one of a phone number and a Session Initiation Protocol (SIP) address.

### Claim 11

A system comprising:
a hardware call router system that is constructed to:
communicatively couple to at least an external first application server and an external second application server via an application layer protocol, and communicatively couple to at least one of a telephony network and an SMS network,
responsive to the call router system initiating a telephony voice session for a first telephony endpoint associated with a first initial URI of a first call router account for the first application server:
generate a first request to a first application resource of the first application server, wherein the first request includes state information of the telephony voice session, and wherein the first application resource is specified by the first initial URI,
send the first request to the first application server, wherein the first request is an application layer request,
responsive to an application layer protocol first response that is provided by the first application server and that includes a plurality of telephony instructions, sequentially process at least a subset of the plurality of telephony instructions and execute at least one telephony action according to the sequential processing of the telephony instructions,
responsive to the call router system receiving an SMS message for a second telephony endpoint associated with a second initial URI of a second call router account for the second application server:
generate a second request to a second application resource of the second application server, wherein the second request includes state information of the SMS message, and wherein the second application resource is specified by the second initial URI,
send the second request to the second application server, wherein the second request is an application layer request,
responsive to an application layer protocol second response that is provided by the second application server and that includes a plurality of telephony instructions, sequentially process at least a subset of the plurality of telephony instructions and execute at least one telephony action according to the sequential processing of the telephony instructions.

### Claim 12 (depends on 11)

The method of claim 11,
wherein the call router system is constructed to:
during generation of the first request, determine a first secret key of the first call router account, and sign request parameters of the first request by using the first secret key,
wherein the first request sent by the call router system is the signed first request, and
wherein the first application server provides the first response responsive to verification of the signed first request by using the first secret key.

### Claim 13 (depends on 11)

The method of claim 11,
wherein the call router system is constructed to:
during generation of the second request, determine a second secret key of the second call router account, and sign request parameters of the second request by using the second secret key,
wherein the second request sent by the call router system is the signed second request, and
wherein the second application server provides the second response responsive to verification of the signed second request by using the second secret key.

### Claim 14 (depends on 11)

The method of claim 11, wherein executing at least one telephony action for the telephony voice session comprises at least one of: playing audio during the telephony voice session, playing text-to-speech audio during the telephony voice session, capturing input during the telephony voice session, calling a telephony endpoint during the telephony voice session, and recording audio during the telephony voice session.

### Claim 15 (depends on 11)

The method of claim 11, wherein executing at least one telephony action for the telephony voice session comprises: the call router system sending a telephony message that is sent to a telephony endpoint.

### Claim 16 (depends on 11)

The method of claim 11, wherein executing at least one telephony action for the SMS message comprises: the call router system sending a telephony message that is sent to a telephony endpoint.

### Claim 17 (depends on 11)

The method of claim 11, wherein the first telephony endpoint and the second telephony endpoint are one of a phone number and a Session Initiation Protocol (SIP) address.

### Claim 18 (depends on 11)

The method of claim 11, wherein the telephony voice session is initiated in response to an inbound telephony communication received by the call router system.

### Claim 19 (depends on 11)

The method of claim 11, wherein the telephony voice session is initiated in response to an application programming interface request to create a telephony communication.
