System and method for processing telephony sessions
AssigneeTwilio Inc.
InventorsJeffrey G. Lawson, John Wolthuis, Evan Cooke
Life of this patent
Estimating the term…
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.
Claims26
A method for processing a telephony communication comprising:
- associating an initial URI with a telephony endpoint;
- initiating a telephony voice session for a telephony communication to the telephony endpoint;
- mapping the initial URI to the telephony session;
- sending an application layer protocol request to an application resource specified by the URI and embedding state information of the telephony voice session in the request;
- receiving a response to the application layer protocol request sent to the application resource, wherein the response includes a document of telephony instructions;
- and
- executing telephony actions during the telephony voice session according to a sequential processing of at least a subset of the telephony instructions of the response.
The method of 14, further comprising sending an application layer protocol request to a second application resource specified by the second URI;
- receiving a second response from the second application resource, wherein the second response includes a second document of telephony instructions;
- and executing telephony actions for the telephony session according to sequentially processed telephony instructions of the second response.
A method for processing a telephony communication comprising:
- associating an initial URI with a telephone number;
- initiating a telephony call session for an incoming telephony communication to the telephone number;
- mapping the initial URI to the telephony session;
- sending an application layer protocol request to an application resource specified by the URI and embedding state information of the telephony session in the request;
- receiving a response from the application resource, wherein the response includes telephony instructions;
- and
- according to the telephony instructions, sequentially executing a plurality of telephony actions over a public switched telephony network (PSTN) during the telephony session, comprising:
- according to a first telephony instruction, playing audio,
- according to a second telephony instruction, playing text-to-speech audio,
- according to a third telephony instruction, calling a telephony number,
- according to a fourth telephony instruction, capturing input, and
- according to a fourth telephony instruction, recording audio.
A method for processing a telephony communication comprising:
- associating an initial URI with a telephone number;
- initiating a telephony call session for an incoming telephony message to the telephone number;
- mapping the initial URI to the telephony session;
- sending an application layer protocol request to an application resource specified by the URI and embedding state information of the telephony session in the request;
- receiving a response from the application resource, wherein the response includes telephony instructions;
- and
- according to the telephony instructions, sequentially executing a plurality of telephony actions, comprising:
- according to a first telephony instruction, sending a telephony message, and
- according to a second telephony instruction, calling a telephone number.
A method for processing a telephony communication comprising:
- associating an initial URI with a telephone number;
- initiating a telephony call session for an incoming telephony message to the telephone number;
- mapping the initial URI to the telephony session;
- sending an application layer protocol request to an application resource specified by the URI and embedding state information of the telephony session in the request;
- receiving a response from the application resource;
- processing a content type of the response;
- if the response is a content type of a playable media file, playing the media file in the telephony voice session and
- if the response is a content type with telephony instructions, sequentially executing a plurality of telephony actions during the telephony voice session according to the telephony instructions, comprising:
- according to a first telephony instruction, sending a telephony message, and
- according to a second telephony instruction, calling a telephone number.
Dependencies are inferred from the claim text.