SYSTEM AND METHOD FOR CONNECTING A COMMUNICATION TO A CLIENT
1. A method comprising:
- subscribing, by a system bridge, a first client device to a client subscription channel;
receiving, from an outside device, a first incoming communication directed to the first client device, the first incoming communication including a unique identifier associated with the first client device;
transmitting the unique identifier to the first client device via the client subscription channel;
receiving a second incoming communication from the first client device, the first client device having transmitted the second incoming communication to the system bridge in response to receiving the unique identifier; and
initiating a communication session between the first client device and the outside device by merging the second incoming communication received from the first client device with the first incoming communication received from the outside device.
A method and system for connecting a communication to a client including at a system bridge, establishing a client subscription connection with a client device; receiving an incoming communication request at the system bridge; publishing an incoming communication notification from the system bridge to the client device; receiving a client communication at the system bridge; and merging the incoming communication request into the client communication at the system bridge.
- 1. A method comprising:
subscribing, by a system bridge, a first client device to a client subscription channel; receiving, from an outside device, a first incoming communication directed to the first client device, the first incoming communication including a unique identifier associated with the first client device; transmitting the unique identifier to the first client device via the client subscription channel; receiving a second incoming communication from the first client device, the first client device having transmitted the second incoming communication to the system bridge in response to receiving the unique identifier; and initiating a communication session between the first client device and the outside device by merging the second incoming communication received from the first client device with the first incoming communication received from the outside device.
- View Dependent Claims (2, 3, 4, 5, 6, 7)
- 8. A system bridge comprising:
one or more computer processors; and one or more computer-readable mediums storing instructions that, when executed by the one or more computer processors, cause the system bridge to perform operations comprising; subscribing a first client device to a client subscription channel; transmitting the unique identifier to the first client device via the client subscription channel;
- View Dependent Claims (9, 10, 11, 13, 14)
- 12. The system bridge of claim of claim ii, the operations further comprising:
receiving a fourth incoming communication from the second client device, the second client device having transmitted the fourth incoming communication to the system bridge in response to receiving the second unique identifier; and initiating a second communication session between the second client device and the second outside device by merging the third incoming communication received from the second client device with the fourth incoming communication received from the second outside device.
- 15. A non-transitory computer-readable medium storing instructions that, when executed by one or more computer processors of a system bridge, cause the system bridge to perform operations comprising:
subscribing a first client device to a client subscription channel; transmitting the unique identifier to the first client device via the client subscription channel;
- View Dependent Claims (16, 17, 18, 19, 20)
The present application is a continuation of U.S. patent application Ser. No. 16/113,919, filed 27 Aug. 2018, which is a continuation of U.S. patent application Ser. No. 15/184,621, filed 16 Jun. 2016, which is a divisional of U.S. patent application Ser. No. 13/478,495, filed 23 May 2012, which claims priority to: U.S. Provisional Patent Application Ser. No. 61/489,189 entitled “System and Method for Connecting a Call to a Client” and filed on 23 May 2011; and U.S. Provisional Patent Application Ser. No. 61/500,549 entitled “System and Method for Connecting a Call to a Client” and filed on 23 Jun. 2011, the entirety of both of which is incorporated by this reference.
This invention relates generally to the telephony field, and more specifically to a new and useful system and method for connecting a call to a client in the telephony field.
In recent years, telephony applications and Voice over Internet Protocol (VoIP) have found applications in numerous settings. Such technology has enabled clients to establish communication to outside devices such as phones or applications. However, the nature of most network configurations prevents easy incoming messages. Clients behind network address translation (NAT) routers have long been hindered by a lack of end-to-end connectivity that makes incoming communications challenging. Varying network, router, and firewall configurations can complicate this issue. These structural inadequacies seriously limit the scope and applicability of Internet-based telephony. Thus, there is a need in the telephony field to create a new and useful system and method for connecting a call to a client. This invention provides such a new and useful system and method.
The following description of the preferred embodiments of the invention is not intended to limit the invention to these preferred embodiments, but rather to enable any person skilled in the art to make and use this invention.
As shown in
Preferably, the first preferred method can employ authentication and/or authorization security measures that function to secure the communication channels. An authentication layer preferably prevents malicious parties from posing as a client and/or incoming call. In one embodiment, an application (web or native) may facilitate the use of a token to authenticate a client connecting to an incoming call. The first preferred method is preferably used within internet-telephony platform, but may alternatively be used for any suitable applications such as Internet messaging or real-time applications that may need to establish an incoming communication channel. The method can be configured and/or adapted to function for any suitable type of communication, including telephony-based voice calls, Internet based voice calls, video calls, video streams, video sessions, screen sharing, screen sharing streams, screen sharing sessions, SMS messaging, IP messaging, alternative messaging, or any suitable form of communication. The term call should be understood to include any suitable application, and any suitable form of incoming communication to a client may be received and merged with the client through this method, such as video, screen sharing, chat, or text messaging.
As shown in
Block S102, which recites receiving an incoming communication request at the system bridge, functions to accept a communication from an outside entity directed to a client. The incoming call may have any suitable source. A cloud-based communication router preferably initially receives/initiates the incoming communication. The cloud-based communication router is preferably a call router call router of a telephony platform such as one substantially similar to the one described in published U.S. Patent Application No. 2009/0252159, titled “SYSTEM AND METHOD FOR PROCESSING TELEPHONY SESSIONS”, which is hereby incorporated in its entirety by this reference, but the cloud-based communication router may alternatively be any suitable communication router. Alternatively, the system bridge may be integrated into the cloud-based router or call router architecture or alternatively into any suitable communication framework. The incoming call preferably specifies an identifier, and more preferably, the incoming call specifies a name-spaced client identifier. The identifier preferably corresponds to a client or more preferably a subscription channel. In one variation, the client may vary depending on what user devices are active, and thus the identifier is preferably not specific to a particular client device (e.g., addressing to “foo/*”). The identifier is preferably unique to a user, account, session, or any suitable entity. Preferably using the identifier, a subscription is identified and an incoming communication notification is generated for publishing in block S104. While the client is notified and calls out, the system bridge preferably puts the incoming communication into a holding-state. The holding state is preferably a temporary state where the incoming communication is received by the system bridge but the client (e.g., the callee) has not initiated an outgoing communication to connect to the caller. When the system bridge is ready to merge the incoming communication to a client, the incoming communication is pulled from the holding-state.
Block S104, which recites publishing an incoming communication notification from the system bridge to the client device, functions to push a message to the client through the subscription channel. The client subscription channel preferably facilitates simple notification because the connection is substantially persistent and the outside entity is not required to independently establish the connection. There may additionally be a plurality of clients subscribed to the subscription channel, and the incoming communication notification may be published a plurality of clients. The incoming communication notification is preferably sufficient to initiate a client communication sent to the system bridge by the client. Alternatively, the communication notification may include additional parameters such as keys to authenticate the message is from the system bridge, call URI'"'"'s to direct a call out, caller metadata, and/or any suitable parameter. The system bridge may additionally pass opaque data (from the perspective of the client) to the client. This data is preferably passed along when the client connects back in. In one variation, block S104 may include pushing a communication token from the system bridge to the client S110 as shown in
Block S106, which recites receiving a client communication at the system bridge, functions to have the client call out to the system bridge to be merged with the incoming communication. The client, upon receiving the communication notification from block S104, preferably initiates forming connections to the system bridge. The client may be any suitable device with a network connection to the system bridge. The client device may be running a native application or alternatively a web application. The call out message is preferably communicated through HTTP or HTTPS but any suitable transport layer may alternatively be used. Any additional parameters from the client are preferably included in a message to the system bridge as appropriate, such as an application identifier or application data. The application identifier is preferably a name-spaced endpoint. A name spaced endpoint is preferably a context that embodies various aspects for the endpoint (e.g., a client). Name-spaced endpoints preferably include a plurality of parameters including associated phone numbers, application URI'"'"'s, status callback URI'"'"'s (e.g., backup URI'"'"'s if communication with a client application fails), or any suitable parameter. A name-spaced endpoint may be globally or locally unique for a given user. For example, a name-spaced endpoint may be unique for all communication occurring over a platform or protocol. The name-spaced endpoint may alternatively, be unique for an instance of an application. Allowed users, pricing models, account-application settings, and/or any suitable aspects can be stored as part of the name-spaced endpoint. For example, only particular users may be allowed to call in or use a particular scope of a name-spaced endpoint while a second scope may be publicly accessible.
Additionally or alternatively, security measures are taken to authenticate the message from the client to the system bridge as shown in
Block S108, which recites merging the incoming communication request into the client communication at the system bridge, functions to connect the incoming communication request to the client. Once the client sends a client communication to the system bridge, the system bridge preferably identifies the corresponding incoming communication and establishes the communication channel between the client and the outside entity of the incoming communication. The incoming communication is preferably moved out of the holding-state and added to an active channel of communication with the intended client. Upon establishing the connection, the client and the outside entity can preferably continue to use the established connection for communication. For example, a VoIP call made to the system bridge may be connected to a client device, and then a VoIP session can preferably continue to use the channel established by the preferred method. The connection may be any suitable form of connection including a number of channels that may include audio, video, messaging, screen sharing, or any suitable channel for communication.
As shown in
Block S200, which recites receiving a connection request at a policy engine from a client, functions to receive communication from a client wishing to use an application. As described below, an authentication token is preferably directly or indirectly communicated to the policy engine. The policy engine then can preferably allow or deny access to an application by a client based on the verification of the authentication token. The connection request may be accompanied by the token as shown in
Block S202, which recites receiving an authentication token at the policy engine, functions to obtain an authentication token on behalf of a client. The authentication token is preferably a data package that includes application ID and/or additionally parameters. The authentication token is preferably signed. The authentication token is more preferably signed with a secret key shared by the policy engine and an accessing entity (e.g., a web application for use of the telephony application). The application ID and/or the authentication token may be sent to client, which may then use the authentication token to connect to a web application. In another variation, the client may provide an identifier that enables a policy engine to validate with an authentication application. In the first variation, as shown in
Block S204, which recites authenticating the client at the policy engine by verifying the authentication token, functions to determine if a client should be allowed or denied access to an application. In the first variation where a token is received from the client, a shared secret between the application and the policy engine may be used to authenticate the token. In the second variation, the authentication application may send the authentication token, which may be authorized in a similar manner, or the authentication application may communicate to the policy engine if the client is allowed or denied.
Block S206, which includes permitting the client to connect to an application in response to verification of the authentication token, functions to allow the client to connect to the application or to deny the client access to the application. The connection request from the client is preferably forwarded on to the application if the verification of the authentication token allows access. If the connection request is denied, a communication may be sent back to the client or any suitable response may be made. The connection in one application is preferably establishing a voice session, video session, click to call feature, starting an outbound call, a video stream, a screen sharing session, SMS/MMS messaging, IP messaging session, and/or any suitable communication application as in block S212 shown in
As shown in
The system preferably implements the above methods in a computer-readable medium storing computer-readable instructions. The instructions are preferably executed by computer-executable components preferably integrated with the system bridge 210, the pub/sub system 220, and the optional policy engine 230. The computer-readable medium may be stored on any suitable computer readable media such as RAMs, ROMs, flash memory, EEPROMs, optical devices (CD or DVD), hard drives, floppy drives, or any suitable device. The computer-executable component is preferably a processor but the instructions may alternatively or additionally be executed by any suitable dedicated hardware device.
As a person skilled in the art will recognize from the previous detailed description and from the figures and claims, modifications and changes can be made to the preferred embodiments of the invention without departing from the scope of this invention defined in the following claims.