WO2014085217A1 - Systems and methods of routing ip telephony data packet communications - Google Patents

Systems and methods of routing ip telephony data packet communications Download PDF

Info

Publication number
WO2014085217A1
WO2014085217A1 PCT/US2013/071382 US2013071382W WO2014085217A1 WO 2014085217 A1 WO2014085217 A1 WO 2014085217A1 US 2013071382 W US2013071382 W US 2013071382W WO 2014085217 A1 WO2014085217 A1 WO 2014085217A1
Authority
WO
WIPO (PCT)
Prior art keywords
telephony
path
communication
telephony device
paths
Prior art date
Application number
PCT/US2013/071382
Other languages
French (fr)
Inventor
Andrew BUCKO
Baruch Sterman
Original Assignee
Vonage Network, Llc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US13/690,052 external-priority patent/US20140153409A1/en
Priority claimed from US13/690,587 external-priority patent/US20140153413A1/en
Application filed by Vonage Network, Llc filed Critical Vonage Network, Llc
Publication of WO2014085217A1 publication Critical patent/WO2014085217A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • H04L41/5025Ensuring fulfilment of SLA by proactively reacting to service quality change, e.g. by reconfiguration after service quality degradation or upgrade
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • H04L43/55Testing of service level quality, e.g. simulating service usage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1083In-session procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Definitions

  • the invention is related to Internet Protocol (IP) telephony systems. More specifically, the invention is related to systems and methods for routing the data packets that carry communications enabled by an IP telephony system, such as telephone calls and text or video messages.
  • IP Internet Protocol
  • IP telephony systems allow users to place and receive telephone calls or to send and/or receive other types of communications, such as text messages, SMS messages, MMS messages and the like.
  • the communications are transmitted, at least in part, by data packets that traverse a private and/or public data network.
  • a calling party can place a telephone call to a called party using an IP telephony device that is coupled to a private or public data network.
  • an IP telephony system receives the request and sets up the call between the calling party's telephony device and the called party's telephony device.
  • the called party's telephony device can also be an IP telephony device that is coupled to a private or public data network.
  • the called party's telephony device could be an analog telephone that is coupled to a publically switched telephony network (PSTN).
  • PSTN publically switched telephony network
  • the called party's telephony device could be a cellular telephone or a mobile computing device with cellular telephone capabilities that is coupled to a cellular telephony network.
  • an IP telephony system receives a call setup request from the calling party's telephony device at an inbound proxy server (or a session border controller, or an originating gateway).
  • the inbound proxy server consults a routing engine to determine the identity of an outbound proxy server (or session border controller or destination gateway) that is capable of communicating with the called telephony device.
  • the inbound proxy server passes along the call setup request to the outbound proxy server.
  • the outbound proxy server then contacts the called telephony device to attempt to setup the call.
  • the calling telephony device and the called telephony device are instructed where to send data packets bearing the media of the telephony communication so that those data packets can be delivered to the other telephony device.
  • a media relay is selected, and both the calling and called telephony devices are instructed to send data packets to the media relay, and to receive data packets from that media relay.
  • two or more media relays may be used in a chain fashion to create a path for the data packets to travel between the calling and called telephony devices.
  • the called and calling telephony devices send data packets back and forth to each other using the path established during call setup. And this path typically no longer includes the inbound and outbound proxy servers. Instead, the path typically includes only one or more media relays that are used to help transmit the data packets between the calling and called telephony device.
  • the complete path that the data packets traverse across the data network usually includes other devices in addition to the media relays that are identified during call setup.
  • the calling and called telephony devices will likely use an interface device of some type to gain access to the data network.
  • the interface device could be a wired or wireless router, or some other type of data network interface device. Regardless, the interface devices are also a part of the overall path that data packets traverse as they travel between the calling and called telephony device.
  • one of the calling and called telephony devices is an analog telephony device that reachable through a PSTN, or a cellular telephony device that is reachable via a cellular telephony service provider
  • the path will likely include a gateway that act as an interface between the data network and the PSTN or cellular telephony service provider.
  • both the calling and called telephony device are IP telephony devices
  • the called and calling telephony device may be instructed to send data packets directly back and forth between each other.
  • the path would not include a media relay.
  • the path would still likely include the data network interface devices which the calling and called telephony devices use to access the data network.
  • the media relay or relays were often selected based on their physical proximity to the calling or called telephony devices, or based on their proximity to the proxy servers that were responsible for setting up the call.
  • the assumption was that if the media relay(s) are physically close to the calling and/or called telephony devices, they will provide higher call quality than media relays that are located further away from the calling and/or called telephony devices. Unfortunately, this is not always a good assumption.
  • the IP telephony systems would track the quality provided by individual media relays over an extended period of time. This historical data could also be used to select particular media relays for an individual telephony communication.
  • databases indicating the call quality provided by various media relays are necessarily based on past performance. As a result, historical databases can only provide a prediction of the likely call quality that a media relay will provide based on how well the media relays performed in the past. Unfortunately, there is no guarantee that a media relay that performed well in the past will perform well for a new call that is just being setup.
  • What is needed is a method of selecting media relay(s) for a communications path for a telephony communication that takes into account the actual network conditions that exist at the time the telephony communication is being setup. What is also needed is a way to determine when the quality provided by a path is deteriorating, and a way to switch to a different path offering better quality while the telephony communication is ongoing.
  • FIG. 1 is a diagram of a communications environment including various elements which are associated with an Internet protocol (IP) telephony system operating in accordance with the invention
  • IP Internet protocol
  • Figure 2 is a diagram of various elements of a processor that forms part of an IP telephony system
  • Figure 3 is a block diagram illustrating elements of software which can be run on an IP telephony device to help test potential communication paths, and to control the routing of data packet communications;
  • Figure 4 is a diagram illustrating selected elements of an IP telephony system which includes a path engine that supplies recommended data transmission paths to IP telephony devices;
  • Figure 5 is a diagram illustrating how a telephony device can test the quality of one or more potential paths that could be used to transmit data packets bearing the media of a telephony communication;
  • Figure 6 is a diagram illustrating steps of a method of testing the quality of one or more potential paths that could be used to transmit data packets bearing the media of a telephony communication;
  • Figure 7 is diagram illustrating steps of a method of setting up, conducting and terminating a telephony communication
  • Figure 8 is a diagram illustrating the paths that are traversed between first and second telephony devices by data packets bearing setup signaling and the media of a telephony communication;
  • Figure 9 is a diagram illustrating how the quality of a plurality of alternate paths may be tested while a telephony communication is ongoing over an initial path;
  • Figure 1 0 is a diagram illustrating how the path traversed by data packets bearing the media of a telephony communication can change from the path illustrated in Figure 8;
  • Figure 1 1 is a diagram illustrating the paths that can be used to communicate data packets bearing the media of a telephony communication, as well as keep-alive messages;
  • Figure 12 illustrates steps of a method which may be performed by an IP telephony device to setup a telephony communication over a first path, conduct periodic testing of the first path and alternate paths, and switch the telephony communication to an alternate path if the alternate path offers better quality;
  • Figure 3 illustrates the conditions in a communication environment which exist while data packets bearing the media of a telephony communication are transmitted over one path at the same time that data packets are transmitted over alternate paths to test the quality of the alternate paths;
  • Figure 14 is a diagram illustrating how data packets bearing the media of a telephony communication may be sent between two telephony devices via first and second paths;
  • Figure 15 is a diagram illustrating how data packets bearing the media of a telephony communication are communicated over only a single path, while keep-alive messages are sent over an alternate path;
  • Figure 16 illustrates steps of a method which may be performed by a telephony device to setup a telephony communication over a first path that offers the fastest initial data transmission speed, to periodically test the quality of multiple paths, and to switch to an alternate path if the alternate path offers better quality;
  • Figure 17 illustrates steps of a method which may be performed by an element of an IP telephony system to control the path used by first and second telephony devices to conduct a telephony communication.
  • VOIP system VOIP telephony system
  • IP system IP telephony system
  • IP telephony system IP telephony system
  • IP telephony system IP telephony system
  • IP telephony system IP telephony system
  • a first IP telephony system 120 enables connection of telephone calls between its own customers and other parties via data communications that pass over a data network.
  • the data network is commonly the Internet 10, however, private data networks may form all or a portion of the data communication path.
  • the IP telephony system 120 is connected to the Internet 1 10.
  • the IP telephony system 120 is connected to both a first publicly switched telephone network (PSTN) 130 and a second PSTN 140 via one or more gateways 122.
  • PSTN publicly switched telephone network
  • the gateway 122 allows users and devices that are connected to the first and second PSTNs 130, 140 to connect with users and devices that are reachable through the first IP telephony system 120, and vice versa. In some instances, the gateway 122 would be a part of the first IP telephony system 120. In other instances, the gateway 122 could be maintained by a third party.
  • IP telephone 108 that is connected to the Internet 1 1 0.
  • IP telephone 1 08 could be connected to an Internet service provider via a wired connection or via a wireless router.
  • the IP telephone 108 could utilize a cellular telephone system to access the Internet 1 1 0.
  • a customer could utilize a normal analog telephone 102a which is connected to the Internet 1 10 via a telephone adapter 104.
  • the telephone adapter 104 converts analog signals from the telephone 102a into data signals that pass over the Internet 1 10, and vice versa.
  • multiple analog telephone devices 102a and 102b could all be coupled to the same telephone adaptor 104.
  • Analog telephone devices include, but are not limited to, standard telephones and document imaging devices such as facsimile machines.
  • a configuration using a telephone adapter 04 is common where all of the analog telephone devices 102a, 102b are located in a residence or business, and all of the telephone devices are connected to the same telephone adapter.
  • a customer could utilize a soft-phone client running on a computer 106 to place and receive IP based telephone calls, and to access other IP telephony systems (not shown).
  • the soft-phone client could be assigned its own telephone number.
  • the soft-phone client could be associated with a telephone number that is also assigned to an IP telephone 108, or to a telephone adaptor 104 that is connected to one or more analog telephones 102.
  • a third party using the first analog telephone 1 32 which is connected to the first PSTN 130 may call a customer of the IP telephony system 120.
  • the call is initially connected from the first analog telephone 1 32 to the first PSTN 1 30, and then from the first PSTN 130, through the gateway 122 to the first IP telephony system 120.
  • the first IP telephony system 120 then routes the call to the customer's IP telephony device.
  • a third party using the first cellular telephone 134 could also place a call to an IP telephony system customer, and the connection would be established in a similar manner, although the first link would involve communications between the first cellular telephone 134 and a cellular telephone network.
  • the cellular telephone network is considered part of the first PSTN 130.
  • mobile computing devices which include cellular telephone capabilities could also be used to place telephone calls to customers of the IP telephony system.
  • the first mobile computing device 1 36 might connect to the first PSTN 1 30 using its cellular telephone capabilities.
  • such devices might also have the ability to connect wirelessly via some other means.
  • the mobile computing device 1 36 might communicate with a wireless data router to connect the first mobile computing device 136 directly to a data network, such as the Internet 1 10.
  • a data network such as the Internet 1 10.
  • communications between the first mobile computing device 136 and other parties could be entirely carried by data communications which pass from the first mobile computing device 136 directly to a data network 1 10.
  • alternate embodiments could utilize any other form of wired or wireless communications path to enable communications.
  • Users of the first IP telephony system 120 are able to access the service from virtually any location where they can connect to the Internet 1 10.
  • a customer could register with an IP telephony system provider in the U.S., and that customer could then use an IP telephone 108 located in a country outside the U.S. to access the services.
  • the customer could also utilize a computer outside the U.S. that is running a soft-phone client to access the first IP telephony system 120.
  • a user could place a telephone call with the first analog telephone 1 32 or first cellular telephone 1 34 that is routed through the first PSTN 1 30 to the first IP telephony system 120 via the gateway 122.
  • Figure 1 also illustrates that a second IP telephony system 170 may interact with the first IP telephony system 120 via the Internet 1 10.
  • customers of the second IP telephony system 170 may place calls to customers of the first IP telephony system 120.
  • assets of the second IP telephony system 170 interact with assets of the first IP telephony system 120 to setup and carry the telephone call.
  • customers of the first IP telephony system 120 can place calls to customers of the second IP telephony system 170.
  • the second IP telephony system could also interact with customers of a second PSTN 140 via a gateway 172.
  • the second PSTN 140 may be connected to a second analog telephone 174, a second cellular telephone 176 and a second mobile computing device 178.
  • the first IP telephony system 120, the first PSTN 1 30, the IP telephone 108, the VOIP adaptor 104, the first analog telephone 132, the first cellular telephone 134 and the first mobile computing device 136 are all located in a first country.
  • the second IP telephony system 170, the second PSTN 140, the second analog telephone 174, the second cellular telephone 176 and the second mobile computing device 178 are all located in a second country.
  • FIG. 2 illustrates elements of a computer processor 250 that can be used as part of the first or second IP telephony systems 120, 170 to accomplish various functions.
  • Each of the IP telephony systems 120, 170 could include multiple processors 250 located at various locations in the system, along with their operating components and programming, each carrying out a specific or dedicated portion of the functions performed by the IP telephony systems 120, 170.
  • the processor 250 shown in Figure 2 may be one of any form of a general purpose computer processor used in accessing an IP-based network, such as a corporate intranet, the Internet or the like.
  • the processor 250 comprises a central processing unit (CPU) 252, a memory 254, and support circuits 256 for the CPU 252.
  • the processor 250 also includes provisions
  • the provisions 258/260 are shown as separate bus structures in Figure 2; however, they may alternately be a single bus structure without degrading or otherwise changing the intended operability of the processor 250.
  • the memory 254 is coupled to the CPU 252.
  • the memory 254, or computer-readable medium may be one or more of readily available memory such as random access memory (RAM), read only memory (ROM), floppy disk, hard disk, flash memory or any other form of digital storage, local or remote, and is preferably of non-volatile nature.
  • the support circuits 256 are coupled to the CPU 252 for supporting the processor in a conventional manner. These circuits include cache, power supplies, clock circuits, input/output circuitry and subsystems, and the like.
  • a software routine 262 when executed by the CPU 252, causes the processor 250 to perform processes of the disclosed embodiments, and is generally stored in the memory 254.
  • the software routine 262 may also be stored and/or executed by a second CPU (not shown) that is remotely located from the hardware being controlled by the CPU 252.
  • the software routines could also be stored remotely from the CPU.
  • the software could be resident on servers and memory devices that are located remotely from the CPU, but which are accessible to the CPU via a data network connection.
  • the software routine 262 when executed by the CPU 252, transforms the general purpose computer into a specific purpose computer that performs one or more functions of the IP telephony system 120.
  • the processes of the disclosed embodiments may be discussed as being implemented as a software routine, some of the method steps that are disclosed therein may be performed in hardware as well as by a processor running software. As such, the embodiments may be implemented in software as executed upon a computer system, in hardware as an application specific integrated circuit or other type of hardware implementation, or a combination of software and hardware.
  • the software routine 262 of the disclosed embodiments is capable of being executed on any computer operating system, and is capable of being performed using any CPU architecture.
  • IP telephony device This term is used to refer to any type of device which is capable of interacting with an IP telephony system to complete a telephone call.
  • An IP telephony device could be an IP telephone, a computer running IP telephony software, a telephone adapter which is connected to an analog telephone, or some other type of device capable of communicating via data packets.
  • An IP telephony device could also be a cellular telephone or a portable or tablet computing device that runs a software client that enables the device to act as an IP telephone.
  • a single device might be capable of operating as both a cellular telephone and an IP telephony device.
  • certain devices that are not traditionally used as telephony devices may act as telephony devices once they are configured with appropriate client software.
  • some devices that would not normally be considered telephony devices may become telephony devices or IP telephony devices once they are running appropriate software.
  • One example would be a desktop or a laptop computer that is running software that can interact with an IP telephony system over a data network to conduct telephone calls.
  • Another example would be a portable computing device, such as an Apple iPod touchTM, which includes a speaker and a microphone.
  • a software application loaded onto an Apple iPod touchTM can be run so that the Apple iPod touch can interact with an IP telephony system to conduct a telephone call.
  • Telephony communications could include audio or video telephone calls, facsimile transmissions, text messages, SMS messages, MMS messages, video messages, and all other types of telephony and data communications sent by or received by a user.
  • Telephony communications could include audio or video telephone calls, facsimile transmissions, text messages, SMS messages, MMS messages, video messages, and all other types of telephony and data communications sent by or received by a user.
  • Telephony communications could include audio or video telephone calls, facsimile transmissions, text messages, SMS messages, MMS messages, video messages, and all other types of telephony and data communications sent by or received by a user.
  • data communications that are conveyed through a PSTN or VOIP telephony system. In other words, these terms are intended to encompass any communications whatsoever, in any format, which traverse all or a portion of a communications network or telephony network.
  • Figure 3 illustrates elements of a software application that may be run on a telephony device to accomplish various functions, as described in detail below.
  • the software application 300 includes a potential path determination unit 302, a path quality testing unit 304, a path quality database 305, a path selection unit 306 and a path switching unit 308.
  • FIG. 4 illustrates selected elements of an IP telephony system 400 which performs various functions in accordance with the invention.
  • the IP telephony system 400 includes a CDR database 402, and a billing unit 404.
  • the IP telephony system 400 also includes a path engine 406, which includes a path database 410, a path evaluation unit 412, a historical database 414, and a potential path generation unit 416.
  • path engine 406 includes a path database 410, a path evaluation unit 412, a historical database 414, and a potential path generation unit 416.
  • the calling telephony device and the called telephony device are informed of a communication path which can be used to transmit and receive data packets containing the media of the telephony communication.
  • the called telephony device and the calling telephony device then route data packets bearing the media of the telephony communication through the identified communication path.
  • Each communication path can include one or more media relays.
  • the IP telephony system may select a particular media relay to be used as part of a communications path based on the proximity of the media relay to the called and calling telephony devices, based on historical data about the quality that the media relay typically offers, based on the cost of using the media relay, and based on a variety of other considerations. Unfortunately, when the media relays are selected in this fashion, the actual current conditions which exist within the data network are not always taken into account.
  • a telephony device conducts real world testing of one or more potential communication paths which could be used to transmit and receive data packets bearing the media of a telephony communication. These tests can be performed periodically by the telephony device. Alternatively, the testing could occur after a triggering event has occurred, as will be explained in more detail below. The results of the testing are then used to select a path for data packets bearing the media of a telephony communication. As a result, the path which is selected is based on the actual conditions which presently exist, and not just historical data about past performance.
  • FIG. 5 illustrates a communications environment 500 in which a method of testing multiple potential paths is conducted.
  • a first IP telephony device 502 communicates with the Internet 510 over an access point 504.
  • the access point 504 could be a wired or wireless access point which provides the first IP telephony device 502 with access to the Internet 510.
  • Figure 5 also illustrates that an IP telephony system 520 includes an inbound proxy server 580, an outbound proxy server 582, and a path engine 584.
  • the IP telephony system 520 also includes multiple media relays.
  • the IP telephony system 520 includes a first media relay 570, a second media relay 572, a third media relay 574 and fourth media relay 575.
  • one or more media relays which form part of a communication path between two telephony devices are illustrated as being a part of an IP telephony system.
  • the media relays which form all or part of a communication path can be owned and controlled by third parties.
  • some communication paths could include one or more media relays which are part of an IP telephony system, as well as one or more media relays which are owned and/or controlled by a third party.
  • the illustration of the media relays as being part of the IP telephony system should in no way be considered limiting.
  • the first IP telephony device 502 When the first IP telephony device 502 utilizes the IP telephony system 520 to set up and conduct a telephony communication, the first IP telephony device 502 could use any of the first, second, third and fourth media relays as part of a communication path that extends between the first IP telephony device 502 and another telephony device. As a result, it is desirable to test a quality of communication paths that exist between the first IP telephony device 502 and each of the potential media relays. Once those tests have been conducted, the first IP telephony device 502 will have information about the quality that can be offered by paths extending through each of the media relays.
  • the quality of a path refers generally to the ability of the path to transmit data packets quickly, in sequential order, and without losses.
  • Traditional measures of quality include the rate at which data packets can be communicated along a path, the average time delay in getting data packets between two points, the number of packets that are lost, and jitter, which is a measure of the variability of the transmission delays which may be experienced by individual data packets. These measures and others may be combined in some fashion to provide an overall quality measure of a communications path.
  • the quality of a particular path may also be determined based, at least in part, on a calculated mean opinion score (MOS).
  • MOS mean opinion score
  • a MOS can be calculated subjectively by human test personnel, software has also been developed to automatically calculate a MOS for telephony communications that pass over a path. The calculated MOS may be taken into account, along with other factors, to determine the overall quality offered by a path.
  • a perceptual evaluation of speech quality (PESQ) score may be calculated for a path.
  • PESQ perceptual evaluation of speech quality
  • the PESQ score for a path may be used along with the other measures described above to determine the overall quality of a particular path.
  • Figure 5 also illustrates that a second IP telephony device 590 can utilize an access point 592 to obtain access to the Internet 510. This would allow the first IP telephony device 502 to communicate with the second IP telephony device 590 via data packet communications which pass through one or more media relays of the IP telephony system 520. However, before a telephony communication is established, the first IP telephony device 502 conducts testing of multiple potential paths which could be used to conduct a telephony communication with the second IP telephony device 590.
  • Figure 6 illustrates steps of a method which could be performed by the first IP telephony device 502 to test the quality of multiple potential paths.
  • a software application on the first IP telephony device 502, including the elements illustrated in Figure 3, could be used to perform the method illustrated in Figure 6.
  • the method would begin and proceed to step S602 where the software application 300 on the first IP telephony device 502 obtains a list of available communication paths.
  • the potential path determination unit 302 obtains a list of available paths. This list of available paths could be provided to the software application 300 by elements of an IP telephony system 400 upon request, or on a periodic basis.
  • the potential path determination unit 302 of the telephony device software 300 could periodically query the IP telephony system 400 to obtain a list of potential paths, or such a query could be issued upon the occurrence of a triggering event.
  • an IP telephony system can include a path engine 406 which includes a path database 410 and a potential path generation unit 416.
  • the path database 410 could include a list of all potential paths which are available to the IP telephony system 400.
  • the path database 410 could include information about individual media relays, such as the location of the media relays, and the functional capabilities of the media relays.
  • the path database 41 0 could also include information about the cost of using the media relays.
  • the path database 410 could include information about the historical quality offered by individual media relays, or predetermined combinations of media relays.
  • the potential path generation unit 416 utilizes information in the path database 410, to determine which communication paths are available to an IP telephony device for conducting a telephony communication.
  • the potential path generation unit 416 may also take into account information about the IP telephony devices themselves. For example, an IP telephony device 108 located in a first country may have access to only a selected number of media relays. In addition, a particular IP telephony device may require that certain functions be performed by a media relay. As a result, only those media relays capable of providing the required functions could be part of a potential path used by that IP telephony device.
  • the potential path generation unit 416 utilizes information in the path database 410, as well as possibly information about the IP telephony device making the request and/or information about the telephony device to which the communication will be sent, to determine which potential paths are available. The potential path generation unit 416 then sends a listing of those paths to the requesting IP telephony device.
  • the process of determining which paths are available to an IP telephony device could be repeated on a periodic basis, and the results could be sent to the IP telephony device each time that the process is performed. In some instances, the process is only performed upon the occurrence of a triggering event, such as the IP telephony device registering with the IP telephony system via an access point. If an IP telephony device moves from a first location to a second location, when the IP telephony device registers with the IP telephony system from the second location, the location information could be taken into account by the path engine 406 in determining which potential communication paths exist.
  • the IP telephony device itself may be capable of determining which paths are available for establishing a telephony communication.
  • the potential path determination unit 302 of the telephony device software 300 on the IP telephony device may have the ability to determine whether communications can be established with individual media relays which are capable of sending and receiving data packets bearing the media of a telephony communication.
  • the potential path determination unit 302 may obtain a list of all available media relays from an IP telephony system, and then use the list to attempt to contact each of the media relays.
  • step S604 the first IP telephony device 502 conducts testing of all the available paths. This testing would be conducted by the path quality testing unit 304 of the telephony device software 300 on the IP telephony device 502.
  • Individual path testing could be conducted by sending test data packets from the IP telephony device 502 through the access point 504 and the Internet 510 to each of the individual media relays, as illustrated by the dashed lines in Figure 5.
  • the dashed lines in Figure 5 illustrate data packets being sent to media relays, and responses being sent from the media relays back to the IP telephony device 502.
  • the first IP telephony device 502 could send a stream of test data packets which mimic a typical telephony communication through the access point 504 and the Internet 510 to the first media relay 570.
  • the first media relay 570 Upon receiving the test data packets, the first media relay 570 sends back either a copy of the data packets originally transmitted, or a response message containing new or different information.
  • the response message would be sent from the first media relay 570 back through the Internet 510 and the access point 504 to the first IP telephony device 502.
  • the path quality testing unit 304 of the telephony device software 300 on the first IP telephony device 502 evaluates the reply message from the first media relay 570 to the determine a quality of the communication path that exists between the first IP telephony device 502 and the first media relay 570.
  • the first IP telephony device 502 could send a stream of test data packets through the access point 504 and the Internet 510 to the fourth media relay 575.
  • the fourth media relay 575 sends a response message back through the Internet 510 and the access point 504 to the first IP telephony device 502.
  • the path quality testing unit 304 of the telephony device software 300 then analyzes the reply message from the fourth media relay 575 to determine a quality of the communication path that exists between the first IP telephony device 502 and the fourth media relay 575.
  • Figure 5 also illustrates that a communication path may include two or more media relays which are arranged in a chain fashion.
  • the first IP telephony device 502 sends a plurality of test data packets through the access point 504 and the Internet 510 to the third media relay 574. However, those data packets are addressed to the second media relay 572.
  • the third media relay 574 passes the test data packets on to the second media relay 572.
  • the second media relay 572 then sends a reply message back through the third media relay 574, the Internet 510 and the access point 504 to the first IP telephony device 502.
  • the path quality testing unit 304 analyzes the reply message sent from the second media relay 572 to determine a quality of the communication path that exists between the first IP telephony device 502 and the second media relay 572.
  • the path quality testing unit 304 has sent test data packets through each of the available paths, and has analyzed the quality of each of those paths, in step S606, the path quality information is stored in a path quality database 305.
  • step S608 a determination is made as to whether a triggering event has occurred.
  • the method loops back to step S602, and the steps of obtaining a list of available paths, conducting quality testing, and storing the test results in the path quality database are repeated.
  • the methods simply loops back and repeats step S608 until a triggering event occurs.
  • a triggering event which causes the available communication paths to be re-determined and re-tested could simply be the expiration of a predetermined period of time after the last quality tests were conducted, or since the last time that the available paths were determined.
  • the triggering event could also be the IP telephony device switching from a first data connection to a second data connection. For example, if the IP telephony device reestablishes a connection to the IP telephony system via a new and different data access point, the conditions which existed during the last testing steps would no longer exist. Some of the paths that were previously available may no longer be available, and some new paths may have become available. Also, even the same paths may not provide the same quality through the new data connection. For these reasons, it makes sense to repeat the steps of identifying the available paths and conducting quality testing on the new paths if the IP telephony device has established a new data connection.
  • the new location of the IP telephony device may also change which data paths are available to the IP telephony device.
  • the steps of identifying the available paths and testing the paths would be repeated.
  • the first IP telephony device 802 illustrated in Figure 8 is attempting to set up and conduct a telephony communication with the second IP telephony device 890.
  • the first IP telephony device 802 sends a telephony communication setup request to an inbound proxy server 880 of the IP telephony system 820.
  • the solid lines in Figure 8 illustrate the path traversed by data packets bearing the setup signaling when the telephony communication is originally setup, and possibly also when the telephony communication is being terminated.
  • the dashed lines in Figure 8 illustrate the paths which are traversed by data packets bearing the media of a telephony communication.
  • the inbound proxy server 880 receives the setup request from the first IP telephony device 802, it locates an outbound proxy server 882 which is capable of communicating with the second IP telephony device 890. The inbound proxy server 880 then forwards the setup request to the outbound proxy server 882. The outbound proxy server 882 sends the setup request through the Internet 810 and the access point 892 to the second IP telephony device 890. At this point, the second IP telephony device 890 begins to perform the method illustrated in Figure 7.
  • the method begins and proceeds to step S702, where the second IP telephony device 890 receives the telephony communication setup request.
  • Telephony device software 300 on the second IP telephony device 890 determines which of multiple potential paths are available to conduct the IP telephony communication with the first IP telephony device 802, and which of those paths are likely to provide the best quality.
  • the telephony device software 300 on the second IP telephony device 890 would have been periodically performing testing steps, as illustrated in Figure 6, to determine the quality of all potential paths available to it, and that quality information would be available in the path quality database 305 of the telephony device software 300.
  • a path selection unit 306 of the telephony device software 300 on the second IP telephony device 890 consults the information in the path quality database 305 to determine which potential path is likely to provide the best call quality. This determination may be based, in part, on the identity and location of the first IP telephony device 802. The identity and location of the first IP telephony device 802 may be determined using caller ID information which is included in the setup request sent from the outbound proxy 882. Alternatively, the setup request could include information about the potential paths that are available to carry the telephony communication. And the path selection unit 306 of the telephony device software 300 on the second IP telephony device would then examine the relative quality of the paths identified in the setup request to determine which path is likely to offer the best quality.
  • step S704 the path selection unit 306 of the telephony device software 300 informs the outbound proxy server 882 of the path which is likely to offer the best quality. In this instance, that path runs through the fourth media relay 876.
  • step S706 the path information is communicated back to the first IP telephony device 802 via the inbound proxy server 880, the Internet 810, and the access point 804.
  • both the first IP telephony device 802 and the second IP telephony device 890 know to communicate with each other via a path which passes through the fourth media relay 876.
  • the telephony communication then begins.
  • the second IP telephony device 890 generates a stream of data packets bearing the media of the telephony communication, and sends that stream of data packets to the first IP telephony device 802 through the fourth media relay 876.
  • the first IP telephony device 802 generates a stream of data packets bearing the media of the telephony call and sends the stream to the second IP telephony device 890 via the fourth media relay 876.
  • the telephony communication proceeds in this fashion until one or both parties choose to terminate the telephony communication. At that point, in step S708, the telephony communication is terminated.
  • the called telephony device identifies the communication path which is to be used for the telephony communication.
  • the telephony device which is requesting that the telephony communication be established in this instance, the first IP telephony device 802 may inform the inbound proxy server 880 of the communication path which it would like to use in order to conduct the telephony communication. In this instance, information about the path which is to be used would be relayed from the inbound proxy server 880 to the outbound proxy server 882, and then to the second IP telephony device 890 during the setup procedures.
  • either the calling IP telephony device or the called IP telephony device may provide information about the path which is to be used for a telephony communication.
  • the path selection would be based upon quality information which has been obtained by real world testing conducted by the IP telephony device identifying the preferred path.
  • the first IP telephony device 802 requesting that the telephony communication be established may specify one or more preferred communication paths for the telephony communication
  • the second IP telephony device 890 when it receives the setup request, may also provide information about one or more paths which it would prefer to use for the telephony communication.
  • An element of the IP telephony system 820 such as the inbound proxy server 880 or the outbound proxy server 882, or possibly a path engine 884 would use this information to determine the communication path that is ultimately selected for the telephony communication.
  • a telephony communication is first established between a first IP telephony device and a second IP telephony device over an initial communication path. While the telephony communication is in progress, one or both of the IP telephony devices identify alternate paths which could be used to carry the telephony communication. One or both of the IP telephony devices then conduct quality testing of the path which is in use, and the identified alternate paths. If one of the alternate paths offers better quality then the path which is use, the telephony communication is switched to the alternate path. This process is repeated throughout the duration of the telephony communication, and whenever an alternate path is identified as offering better quality than the path which is currently in use, the telephony communication is switched to the alternate path offering better quality.
  • the first IP telephony device 802 in Figure 9 is attempting to setup a telephony communication with the second IP telephony device 890. Similar to the description provided above, the first IP telephony device 802 sends a setup request through the access point 804 and the Internet 810 to the inbound proxy server 880. The inbound proxy server 880 identifies an outbound proxy server 882 capable of communicating with the second IP telephony device 890. The setup signaling is then be forwarded through the outbound proxy server 882, the Internet 810 and the access point 892 to the second IP telephony device 890. [0099] The method illustrated in Figure 12 is performed by the second IP telephony device 890.
  • the method would begin, in step S1202, when the second IP telephony device 890 receives the setup request.
  • the second IP telephony device 890 could identify the path it would like to use for the telephony communication.
  • the first IP telephony device 802 could have originally identified a communication path that it would like to use for the telephony communication.
  • information about preferred paths provided by both the first IP telephony device 802 and the second IP telephony device 890 could be used to determine the initial path for the telephony communication. In this embodiment, however, we will assume that a path engine 884 of the IP telephony system 820 identifies an initial path which is to be used for the telephony communication.
  • this initial path is path P2 (see Figure 9) which passes through the third media relay 874 and the second media relay 872.
  • This path would be identified in the setup request which is sent to the second IP telephony device 890.
  • Setup signaling would also be sent to the first IP telephony device 802 to inform the first IP telephony device 802 that path P2 is to be the initial path used for the telephony communication.
  • step S1204 the telephony communication is commenced between first IP telephony device 802 and the second IP telephony device 890 through path P2, which passes through the second media relay 872 and the third media relay 874.
  • step S1206 the second IP telephony device 890 obtains or determines one or more alternate paths which could be used for the telephony communication.
  • the potential path determination unit 302 of the telephony device software 300 on the second IP telephony device 890 would determine the alternate paths which could be used for the telephony communication.
  • the potential path determination unit 302 could obtain information about alternate paths from the path engine 884 of the IP telephony system 820.
  • step S1208 the path quality testing unit 304 of the telephony device software 300 on the second IP telephony device 890 conducts quality testing of the path P2 which is currently in use, as well as the alternate paths.
  • Figure 9 illustrates that the alternate paths could include a path P1 which runs through the first media relay 870, a path P3 which runs through the fourth media relay 876, and a path P4 which passes through no media relays, and instead runs directly from the first IP telephony device 802 to the second IP telephony device 890.
  • the quality of the paths could be determined by sending test data packets to each of the media relays on the paths, and then evaluating test data packets of response messages which are sent back from the media relays.
  • the testing may involve sending test data packets from the second IP telephony device 890 to the first IP telephony device 802 via each of the paths.
  • the first IP telephony device 802 would then send response messages back along each of the respective paths.
  • the second IP telephony device 890 would then evaluate each of the response messages sent back via each respective path to determine he respective quality of each of the paths.
  • step S1210 a determination is made as to whether one of the alternate paths offers better quality than the path which is currently in use, in this instance, path P2. This determination could be made by the path quality testing unit 304 or the path selection unit 306 of the telephony device software 300 on the second IP telephony device 890.
  • step S121 0 If the check performed in step S121 0 indicates that none of the alternate paths provide better quality than the path P2 that is currently in use, the method proceeds to step S1214, where determination is made as to whether the call has been terminated. If the call has not yet been terminated, the method proceeds to step S1216, and a delay period is allowed to expire. The method then proceeds to step S1218, where the path quality testing unit 304 of the telephony device software 300 on the second IP telephony device 890 conducts another round of quality testing on both the current path and the alternate paths. The method then proceeds to step S1220, where another determination is made as to whether one of the alternate paths offers better quality than the path currently in use. If none of the alternate paths offer better quality, the method loops back to step S1214, and the steps discussed above are repeated.
  • step S1220 If the determination made in step S1220 indicates that an alternate path offers better quality than the path currently in use, the method loops to step S1212. The method could also arrive at step S1212 if the determination made in step S12 0 indicates that an alternate path provides better quality than the initial path which was selected for the telephony communication.
  • step S1212 the telephony communication is switched from its present path to the alternate path offering better quality.
  • the method of switching from one path to another will be illustrated with reference to Figures 10 and 1 1 .
  • Figure 10 illustrates the conditions which would exist after the telephony communication is first established over initial path P2, which passes through the second media relay 872 and the third media relay 874. During the switch, the telephony communication is to be changed to alternate path P3, which passes through the fourth media relay 876. In order to switch the telephony communication from the initial path P2 to the alternate path P3, both the first telephony device 802 and the second telephony device 890 must be informed that the switch is to occur. Information regarding the switch could be sent to the first IP telephony device 802 and the second IP telephony device 890 through call control signaling, which is represented by the solid lines in Figure 10.
  • Figure 10 illustrates that the inbound proxy server 880 and the outbound proxy server 882 may be used to communicate this information to the first IP telephony device 802 and the second IP telephony device 890.
  • other elements of the IP telephony system 820 could send this information.
  • the first IP telephony device 802 and the second IP telephony device 890 are instructed to build up buffers of the data packets being sent back and forth between the IP telephony devices before the switch occurs. Once the buffers are full, the first and second IP telephony devices are instructed to begin sending data packets bearing the media of the IP telephony communication in parallel through both the initial path P2 and the alternate path P3. The IP telephony devices will continue to use the data packets being sent via the initial path P2 until it is clear that the alternate path P3 is operational.
  • the first and second IP telephony devices are instructed to begin using the data packets being communicated over the alternate path P3. Any short term disruption which occurs as the switch is being made could be handled through use of data in the data buffers.
  • FIG. 1 1 Once the switch has been made, the conditions illustrated in Figure 1 1 would exist. As shown in Figure 1 1 , data packets bearing the media of the telephony communication are communicated along alternate path P3, which passes through the fourth media relay 876. However, Figure 1 also illustrates that "keep-alive" messages are also communicated back and forth between the first IP telephony device 802 and the second IP telephony device 890 along the initial path P2. In Figure 1 1 , keep-alive messages are represented by the lines which include alternating dashes and dots. Keep-alive messages are one of the various messages used in the Session Initiation Protocol (SIP), as defined in ITEF RFC 5626 by Jennings, et al. , October 2009.
  • SIP Session Initiation Protocol
  • keep-alive messages are periodic messages with essentially no data content which are sent through a communication path to ensure that all elements involved in the communication path remain available and ready for immediate use.
  • initial path P2 by sending keep-alive messages through the initial path P2, initial path P2 remains open and available for immediate use, should it become necessary to switch the telephony communication from the alternate path P3 back to the initial path P2. This may be necessary if the alternate path fails for any reason, or suddenly declines in quality.
  • step S12 8 the periodic testing steps conducted in step S12 8 are performed each time that the predetermined period of time elapses in step S1216, unless, of course, the call is determined to have been terminated in step S1214. Whenever the testing conducted in step S1218 indicates that alternate path provides better quality than the path currently in used, as determined in step S1220, a switch is made to the alternate path offering better quality in step S 212.
  • the second IP telephony device 890 conducts an initial round of quality testing, and subsequent periodic rounds of quality testing to determine if an alternate path is offering better quality than the path currently in use. In alternate embodiments, however, those testing steps could be performed by the first IP telephony device 802. Moreover, in yet other alternate embodiments, both the first IP telephony device 802 and the second IP telephony device 890 could both be performing periodic testing, and the results from the testing conducted by both IP telephony devices could be used to determine if an alternate path is offering better quality than the path currently in use.
  • the telephony communication may only be moved to an alternate path if both IP telephony devices agree that the alternate path offers better quality than the path currently in use.
  • an IP telephony device conducts quality testing of one or more paths which can be used to conduct a telephony communication.
  • this call quality testing can be conducted by sending test data packets from the IP telephony device to an element of an IP telephony system, such a media relay.
  • the test data packets may be forwarded on to another IP telephony device to determine the quality of the path which extends all the way between first and second IP telephony devices.
  • Response messages are then received back at the IP telephony device that originally sent the test data packets. The response messages are used to determine the quality of a path.
  • the data packets which are sent as part of the quality testing could be configured to resemble, as closely as possible, the types of data packets which would be sent during an actual telephony communication.
  • FIG. 1 Figures 1 3-16 will now be used to provide a description of yet another alternate embodiment.
  • the telephony communication is initially sent along one or more paths which provide the fastest initial data transmissions between the first and second IP telephony devices.
  • quality testing is conducted on the path(s) in use, and any alternate paths which could be used for the telephony communication. If one of the alternate paths offers better quality than an initial path(s), the telephony communication is switched to the alternate path offering higher call quality.
  • periodic quality testing is performed while the call is ongoing, and whenever an alternate path is determined to offer better quality, the telephony communication is switched to the alternate path offering better quality.
  • the first IP telephony device 1302 sends a request to setup a telephony communication with the second IP telephony device 1 390 to an inbound proxy server 1 380 of an IP telephony system 1320 via an access point 1 304 and the Internet 1310.
  • the inbound proxy server 1380 identifies the outbound proxy server 1382 as able to communicate with the second IP telephony device 1390, and setup signaling is sent to the second IP telephony device 1390 via the outbound proxy server 1382, the Internet 1310 and the access point 1392.
  • the method begins and proceeds to step S1602 when the setup request is received by the second IP telephony device 1390.
  • the method then proceeds to step S1604 where the available communication paths between the first IP telephony device 1302 and the second IP telephony device 1390 are determined. In some embodiments, this determination could be made by the path selection unit 306 of telephony device software 300 on either or both of the first IP telephony device 1302 and the second IP telephony device 1 390.
  • the path engine 1384 of the IP telephony system 1320 could identify the potential paths which are available for the telephony communication, and this information could be sent to the first and second IP telephony devices as part of the setup signaling.
  • step S1606 the first IP telephony device 1302 and the second IP telephony device 1390 both begin to send data packets bearing the media of the telephony communication in parallel through all available paths.
  • the second IP telephony device 1390 sends data packets bearing the media of the telephony communication to the first IP telephony device 1302 in parallel through all of the same paths.
  • step S1608 the first IP telephony device 1 302 determines which of the available paths delivered data packets from the second IP telephony device 1 390 the fastest. The first IP telephony device 1302 then informs the second IP telephony device 1390 of which path was fastest. In some embodiments in the invention, this path would then be used as the initial path for the telephony communication.
  • the second IP telephony device 1 390 determines which of the paths delivered the data packets sent from the first IP telephony device 1302 the fastest. The second IP telephony device 1390 then informs the first IP telephony device 1302 of which path was the fastest. In these embodiments, the telephony communication would begin with the first IP telephony device 1302 sending its data packets bearing the media of the telephony communication to the second IP telephony device 1 390 over the fastest path for sending data packets in that direction.
  • the second IP telephony device 1390 sends its data packets bearing the media of the telephony communication to the first IP telephony device 1 302 over the path offering the fastest transmissions in that direction.
  • the first IP telephony device 1302 may end up sending its data packets over a different communication path than the second IP telephony device 1 390.
  • Figure 14 illustrates a situation where the first IP telephony device 1 302 begins the telephony communication by sending its data packets to the second IP telephony device 1390 via path P1 , which passes through the first media relay 1370.
  • the second IP telephony device 1390 begins the telephony communication by sending its data packets to the first IP telephony device 1302 via path P3, which passes through the fourth media relay 1376.
  • the data packets being sent from each of the first and second telephony devices are traversing different paths.
  • step S1610 the quality of all available paths are tested.
  • This testing step would be conducted in a fashion similar to the testing steps described above. Specifically, the testing step could involve one or both of the IP telephony devices conducting quality testing through all the available paths. Once the testing has been conducted, the test result would be examined and a single path would be selected for use in continuing the telephony communication. However, if two different paths have been used during the initial stages, as illustrated in Figure 14, and one of those two paths is selected to continue the telephony communication, keep- alive messages would be sent through the path which is no longer being used.
  • both the first and second IP telephony devices would begin to use path P1 to continue the telephony communication, and the result would be as illustrated in Figure 1 5.
  • keep-alive messages are communicated between the first and second telephony devices along path P3, which was also used during the initial stages of the telephony communication.
  • step S1614 check is made to determine if the call it has been terminated. If not, the method proceeds to step S1616, and a delay period is allowed to expire. The method then proceeds to step S1618, where another round of quality testing is conducted on both the current path, and any available alternate paths. The method then proceeds to step S1620, where a determination is made as to whether any of the alternate paths offer better quality than the current path. If not, the method loops back to step S1614. If so, the method loops to step S1612 and the first and second IP telephony devices being using the alternate path offering better quality. The switch to the alternate path could be conducted as explained above.
  • step S1614 indicates that the call has been terminated.
  • a software application running on a telephony device performs various functions.
  • a browser running on the telephony device may access a software application that is running on some other device via a data network connection.
  • the software application could be running on a remote server that is accessible via a data network connection.
  • the software application running elsewhere, and accessible via a browser on the telephony device may provide all of the same functionality as an application running on the telephony device itself.
  • any references in the foregoing description and the following claims to an application running on a telephony device are intended to also encompass embodiments and implementations where a browser running on a telephony device accesses a software application running elsewhere via a data network.
  • a first IP telephony device is seeking to setup a telephony communication with a second IP telephony device.
  • the systems and methods described above are equally applicable to situations where a first IP telephony device is attempting to setup a telephony communication with an analog or cellular telephone.
  • the first IP telephony device would be sending data packets bearing the media of the telephony communication to a gateway or another similar device which acts as an interface between an IP telephony system and the PSTN or a cellular network.
  • the media relays discussed above could still be used to communicate data packets bearing the media of the telephony communication between the interface gateway and the first IP telephony device.
  • most of the methods described above could also be used to facilitate the selection and use of particular communication paths in this situation.

Abstract

Systems and methods performed by a telephony device allow the telephony device to test the quality of multiple potential paths which can be used to conduct a telephony communication. By testing the conditions that presently exist, the telephony device can choose the path that is presently offering the best quality. A telephony communication may be setup over an initial path, and then subsequent testing may determine that it is best to switch to an alternate path offering better call quality. The initial path used for the telephony communication may be the one that offers the fastest initial connection. When multiple potential paths exist, the telephony communication may be conducted over a first path while keep-alive messages are communicated over a second path so that the telephony communication can be quickly switched to the second path.

Description

SYSTEMS AND METHODS OF ROUTING IP TELEPHONY DATA PACKET
COMMUNICATIONS
BACKGROUND OF THE INVENTION
[0001] The invention is related to Internet Protocol (IP) telephony systems. More specifically, the invention is related to systems and methods for routing the data packets that carry communications enabled by an IP telephony system, such as telephone calls and text or video messages.
[0002] Existing IP telephony systems allow users to place and receive telephone calls or to send and/or receive other types of communications, such as text messages, SMS messages, MMS messages and the like. The communications are transmitted, at least in part, by data packets that traverse a private and/or public data network.
[0003] For example, a calling party can place a telephone call to a called party using an IP telephony device that is coupled to a private or public data network. When the user requests that the call be placed, an IP telephony system receives the request and sets up the call between the calling party's telephony device and the called party's telephony device. The called party's telephony device can also be an IP telephony device that is coupled to a private or public data network. Alternatively, the called party's telephony device could be an analog telephone that is coupled to a publically switched telephony network (PSTN). In still other instances, the called party's telephony device could be a cellular telephone or a mobile computing device with cellular telephone capabilities that is coupled to a cellular telephony network.
[0004] Typically, an IP telephony system receives a call setup request from the calling party's telephony device at an inbound proxy server (or a session border controller, or an originating gateway). The inbound proxy server consults a routing engine to determine the identity of an outbound proxy server (or session border controller or destination gateway) that is capable of communicating with the called telephony device. The inbound proxy server passes along the call setup request to the outbound proxy server. The outbound proxy server then contacts the called telephony device to attempt to setup the call.
[0005] During the call setup, the calling telephony device and the called telephony device are instructed where to send data packets bearing the media of the telephony communication so that those data packets can be delivered to the other telephony device. Often, a media relay is selected, and both the calling and called telephony devices are instructed to send data packets to the media relay, and to receive data packets from that media relay. In some instances, two or more media relays may be used in a chain fashion to create a path for the data packets to travel between the calling and called telephony devices.
[0006] Once the call has been setup, the called and calling telephony devices send data packets back and forth to each other using the path established during call setup. And this path typically no longer includes the inbound and outbound proxy servers. Instead, the path typically includes only one or more media relays that are used to help transmit the data packets between the calling and called telephony device.
[0007] The complete path that the data packets traverse across the data network usually includes other devices in addition to the media relays that are identified during call setup. For example, when both the calling telephony device and the called telephony device are IP telephony devices, the calling and called telephony devices will likely use an interface device of some type to gain access to the data network. The interface device could be a wired or wireless router, or some other type of data network interface device. Regardless, the interface devices are also a part of the overall path that data packets traverse as they travel between the calling and called telephony device.
[0008] If one of the calling and called telephony devices is an analog telephony device that reachable through a PSTN, or a cellular telephony device that is reachable via a cellular telephony service provider, the path will likely include a gateway that act as an interface between the data network and the PSTN or cellular telephony service provider.
[0009] If both the calling and called telephony device are IP telephony devices, in some instances, the called and calling telephony device may be instructed to send data packets directly back and forth between each other. In this instance, the path would not include a media relay. However, the path would still likely include the data network interface devices which the calling and called telephony devices use to access the data network.
[0010] In addition, when data packets are sent across a data network such as the Internet, the data packets typically make multiple separate hops between various nodes of the public Internet. As a result, two consecutive data packets generated by the calling telephony device could traverse vastly different paths as they make their way between the calling telephony device and the called telephony device.
[001 1] The quality of a telephone call, or any other type of communication carried in this fashion, is highly dependent on how well the data packets carrying the media of the telephony communication are being transmitted over the relevant private and/or public data networks. If data packets are being lost, call quality will deteriorate. If transmitted data packets are being significantly delayed, call quality will deteriorate. Another problem is jitter, where the latency or delay is variable in nature. If jitter becomes a problem, call quality also will deteriorate. [0012] Presently, IP telephony systems have only limited control over the path that data packets bearing the media of a telephony communication traverse as the data packets travel between a calling and called telephony device. Typically, the IP telephony can only determine the identity of the media relays that are used in the path,
[0013] When the IP telephony system had a choice about which media relay or relays to select for a particular telephony communication, the media relay or relays were often selected based on their physical proximity to the calling or called telephony devices, or based on their proximity to the proxy servers that were responsible for setting up the call. The assumption was that if the media relay(s) are physically close to the calling and/or called telephony devices, they will provide higher call quality than media relays that are located further away from the calling and/or called telephony devices. Unfortunately, this is not always a good assumption.
[0014] In some instances, the IP telephony systems would track the quality provided by individual media relays over an extended period of time. This historical data could also be used to select particular media relays for an individual telephony communication. However, databases indicating the call quality provided by various media relays are necessarily based on past performance. As a result, historical databases can only provide a prediction of the likely call quality that a media relay will provide based on how well the media relays performed in the past. Unfortunately, there is no guarantee that a media relay that performed well in the past will perform well for a new call that is just being setup.
[0015] Moreover, even if the initial path that is established for a telephony communication provides good quality, there is always the possibility that network conditions may change while the telephony communication is ongoing, and that those changes may result in a deterioration of the quality provided by the initial path. In known methods, once the path is established during call setup, the path cannot be changed.
[0016] What is needed is a method of selecting media relay(s) for a communications path for a telephony communication that takes into account the actual network conditions that exist at the time the telephony communication is being setup. What is also needed is a way to determine when the quality provided by a path is deteriorating, and a way to switch to a different path offering better quality while the telephony communication is ongoing.
BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a diagram of a communications environment including various elements which are associated with an Internet protocol (IP) telephony system operating in accordance with the invention;
[0018] Figure 2 is a diagram of various elements of a processor that forms part of an IP telephony system;
[0019] Figure 3 is a block diagram illustrating elements of software which can be run on an IP telephony device to help test potential communication paths, and to control the routing of data packet communications;
[0020] Figure 4 is a diagram illustrating selected elements of an IP telephony system which includes a path engine that supplies recommended data transmission paths to IP telephony devices;
[0021] Figure 5 is a diagram illustrating how a telephony device can test the quality of one or more potential paths that could be used to transmit data packets bearing the media of a telephony communication; [0022] Figure 6 is a diagram illustrating steps of a method of testing the quality of one or more potential paths that could be used to transmit data packets bearing the media of a telephony communication;
[0023] Figure 7 is diagram illustrating steps of a method of setting up, conducting and terminating a telephony communication;
[0024] Figure 8 is a diagram illustrating the paths that are traversed between first and second telephony devices by data packets bearing setup signaling and the media of a telephony communication;
[0025] Figure 9 is a diagram illustrating how the quality of a plurality of alternate paths may be tested while a telephony communication is ongoing over an initial path;
[0026] Figure 1 0 is a diagram illustrating how the path traversed by data packets bearing the media of a telephony communication can change from the path illustrated in Figure 8;
[0027] Figure 1 1 is a diagram illustrating the paths that can be used to communicate data packets bearing the media of a telephony communication, as well as keep-alive messages;
[0028] Figure 12 illustrates steps of a method which may be performed by an IP telephony device to setup a telephony communication over a first path, conduct periodic testing of the first path and alternate paths, and switch the telephony communication to an alternate path if the alternate path offers better quality;
[0029] Figure 3 illustrates the conditions in a communication environment which exist while data packets bearing the media of a telephony communication are transmitted over one path at the same time that data packets are transmitted over alternate paths to test the quality of the alternate paths;
[0030] Figure 14 is a diagram illustrating how data packets bearing the media of a telephony communication may be sent between two telephony devices via first and second paths;
[0031] Figure 15 is a diagram illustrating how data packets bearing the media of a telephony communication are communicated over only a single path, while keep-alive messages are sent over an alternate path; and
[0032] Figure 16 illustrates steps of a method which may be performed by a telephony device to setup a telephony communication over a first path that offers the fastest initial data transmission speed, to periodically test the quality of multiple paths, and to switch to an alternate path if the alternate path offers better quality; and
[0033] Figure 17 illustrates steps of a method which may be performed by an element of an IP telephony system to control the path used by first and second telephony devices to conduct a telephony communication.
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
[0034] The following detailed description of preferred embodiments refers to the accompanying drawings, which illustrate specific embodiments of the invention. Other embodiments having different structures and operations do not depart from the scope of the present invention.
[0035] In the following description, the terms VOIP system, VOIP telephony system, IP system and IP telephony system are all intended to refer to a system that connects callers and that delivers data, text or video communications using Internet protocol data communications. [0036] As illustrated in Figure 1 , a communications environment is provided to facilitate IP based communications. A first IP telephony system 120 enables connection of telephone calls between its own customers and other parties via data communications that pass over a data network. The data network is commonly the Internet 10, however, private data networks may form all or a portion of the data communication path. The IP telephony system 120 is connected to the Internet 1 10. In addition, the IP telephony system 120 is connected to both a first publicly switched telephone network (PSTN) 130 and a second PSTN 140 via one or more gateways 122.
[0037] The gateway 122 allows users and devices that are connected to the first and second PSTNs 130, 140 to connect with users and devices that are reachable through the first IP telephony system 120, and vice versa. In some instances, the gateway 122 would be a part of the first IP telephony system 120. In other instances, the gateway 122 could be maintained by a third party.
[0038] Customers of the first IP telephony system 120 can place and receive telephone calls using an IP telephone 108 that is connected to the Internet 1 1 0. Such an IP telephone 1 08 could be connected to an Internet service provider via a wired connection or via a wireless router. In some instances, the IP telephone 108 could utilize a cellular telephone system to access the Internet 1 1 0.
[0039] Alternatively, a customer could utilize a normal analog telephone 102a which is connected to the Internet 1 10 via a telephone adapter 104. The telephone adapter 104 converts analog signals from the telephone 102a into data signals that pass over the Internet 1 10, and vice versa. Also, as illustrated in Figure 1 , multiple analog telephone devices 102a and 102b could all be coupled to the same telephone adaptor 104. Analog telephone devices include, but are not limited to, standard telephones and document imaging devices such as facsimile machines. A configuration using a telephone adapter 04 is common where all of the analog telephone devices 102a, 102b are located in a residence or business, and all of the telephone devices are connected to the same telephone adapter. With this configuration, all of the analog telephone devices 102a, 1 02b share the same telephone number assigned to the telephone adaptor 104. Other configurations are also possible where multiple communication lines (e.g., a second telephone number) are provisioned by the IP telephony system 120.
[0040] In addition, a customer could utilize a soft-phone client running on a computer 106 to place and receive IP based telephone calls, and to access other IP telephony systems (not shown). In some instances, the soft-phone client could be assigned its own telephone number. In other instances, the soft-phone client could be associated with a telephone number that is also assigned to an IP telephone 108, or to a telephone adaptor 104 that is connected to one or more analog telephones 102.
[0041] A third party using the first analog telephone 1 32 which is connected to the first PSTN 130 may call a customer of the IP telephony system 120. In this instance, the call is initially connected from the first analog telephone 1 32 to the first PSTN 1 30, and then from the first PSTN 130, through the gateway 122 to the first IP telephony system 120. The first IP telephony system 120 then routes the call to the customer's IP telephony device. A third party using the first cellular telephone 134 could also place a call to an IP telephony system customer, and the connection would be established in a similar manner, although the first link would involve communications between the first cellular telephone 134 and a cellular telephone network. For purposes of this explanation, the cellular telephone network is considered part of the first PSTN 130.
[0042] In addition, mobile computing devices which include cellular telephone capabilities could also be used to place telephone calls to customers of the IP telephony system. The first mobile computing device 1 36, as illustrated in Figure 1 , might connect to the first PSTN 1 30 using its cellular telephone capabilities. However, such devices might also have the ability to connect wirelessly via some other means. For example, the mobile computing device 1 36 might communicate with a wireless data router to connect the first mobile computing device 136 directly to a data network, such as the Internet 1 10. In this instance, communications between the first mobile computing device 136 and other parties could be entirely carried by data communications which pass from the first mobile computing device 136 directly to a data network 1 10. Of course, alternate embodiments could utilize any other form of wired or wireless communications path to enable communications.
[0043] Users of the first IP telephony system 120 are able to access the service from virtually any location where they can connect to the Internet 1 10. Thus, a customer could register with an IP telephony system provider in the U.S., and that customer could then use an IP telephone 108 located in a country outside the U.S. to access the services. Likewise, the customer could also utilize a computer outside the U.S. that is running a soft-phone client to access the first IP telephony system 120. Further, in some instances a user could place a telephone call with the first analog telephone 1 32 or first cellular telephone 1 34 that is routed through the first PSTN 1 30 to the first IP telephony system 120 via the gateway 122. This would typically be accomplished by the user calling a local telephone number that is routed to the first IP telephony system 120 via the gateway 122. Once connected to the first IP telephony system 120, the user may then place an outgoing long distance call to anywhere in the world using the first IP telephony system's network. Thus, the user is able place a long distance call using lower cost IP telephony service provided by the first IP telephony system 120, rather than a higher cost service provided by the first PSTN 130.
[0044] Figure 1 also illustrates that a second IP telephony system 170 may interact with the first IP telephony system 120 via the Internet 1 10. For example, customers of the second IP telephony system 170 may place calls to customers of the first IP telephony system 120. In that instance, assets of the second IP telephony system 170 interact with assets of the first IP telephony system 120 to setup and carry the telephone call. Conversely, customers of the first IP telephony system 120 can place calls to customers of the second IP telephony system 170.
[0045] The second IP telephony system could also interact with customers of a second PSTN 140 via a gateway 172. The second PSTN 140 may be connected to a second analog telephone 174, a second cellular telephone 176 and a second mobile computing device 178.
[0046] In the following description, we will assume that the first IP telephony system 120, the first PSTN 1 30, the IP telephone 108, the VOIP adaptor 104, the first analog telephone 132, the first cellular telephone 134 and the first mobile computing device 136 are all located in a first country. Also, the second IP telephony system 170, the second PSTN 140, the second analog telephone 174, the second cellular telephone 176 and the second mobile computing device 178 are all located in a second country.
[0047] Figure 2 illustrates elements of a computer processor 250 that can be used as part of the first or second IP telephony systems 120, 170 to accomplish various functions. Each of the IP telephony systems 120, 170 could include multiple processors 250 located at various locations in the system, along with their operating components and programming, each carrying out a specific or dedicated portion of the functions performed by the IP telephony systems 120, 170.
[0048] The processor 250 shown in Figure 2 may be one of any form of a general purpose computer processor used in accessing an IP-based network, such as a corporate intranet, the Internet or the like. The processor 250 comprises a central processing unit (CPU) 252, a memory 254, and support circuits 256 for the CPU 252. The processor 250 also includes provisions
258/260 for connecting the processor 250 to customer equipment, to service provider equipment, to and IP network or gateways, as well as possibly one or more input/output devices (not shown) for accessing the processor and/or performing ancillary or administrative functions related thereto. The provisions 258/260 are shown as separate bus structures in Figure 2; however, they may alternately be a single bus structure without degrading or otherwise changing the intended operability of the processor 250.
[0049] The memory 254 is coupled to the CPU 252. The memory 254, or computer-readable medium, may be one or more of readily available memory such as random access memory (RAM), read only memory (ROM), floppy disk, hard disk, flash memory or any other form of digital storage, local or remote, and is preferably of non-volatile nature. The support circuits 256 are coupled to the CPU 252 for supporting the processor in a conventional manner. These circuits include cache, power supplies, clock circuits, input/output circuitry and subsystems, and the like.
[0050] A software routine 262, when executed by the CPU 252, causes the processor 250 to perform processes of the disclosed embodiments, and is generally stored in the memory 254. The software routine 262 may also be stored and/or executed by a second CPU (not shown) that is remotely located from the hardware being controlled by the CPU 252. Also, the software routines could also be stored remotely from the CPU. For example, the software could be resident on servers and memory devices that are located remotely from the CPU, but which are accessible to the CPU via a data network connection.
[0051] The software routine 262, when executed by the CPU 252, transforms the general purpose computer into a specific purpose computer that performs one or more functions of the IP telephony system 120. Although the processes of the disclosed embodiments may be discussed as being implemented as a software routine, some of the method steps that are disclosed therein may be performed in hardware as well as by a processor running software. As such, the embodiments may be implemented in software as executed upon a computer system, in hardware as an application specific integrated circuit or other type of hardware implementation, or a combination of software and hardware. The software routine 262 of the disclosed embodiments is capable of being executed on any computer operating system, and is capable of being performed using any CPU architecture.
[0052] In the following description, references will be made to an "IP telephony device." This term is used to refer to any type of device which is capable of interacting with an IP telephony system to complete a telephone call. An IP telephony device could be an IP telephone, a computer running IP telephony software, a telephone adapter which is connected to an analog telephone, or some other type of device capable of communicating via data packets. An IP telephony device could also be a cellular telephone or a portable or tablet computing device that runs a software client that enables the device to act as an IP telephone. Thus, a single device might be capable of operating as both a cellular telephone and an IP telephony device.
[0053] Moreover, certain devices that are not traditionally used as telephony devices may act as telephony devices once they are configured with appropriate client software. Thus, some devices that would not normally be considered telephony devices may become telephony devices or IP telephony devices once they are running appropriate software. One example would be a desktop or a laptop computer that is running software that can interact with an IP telephony system over a data network to conduct telephone calls. Another example would be a portable computing device, such as an Apple iPod touch™, which includes a speaker and a microphone. A software application loaded onto an Apple iPod touch™ can be run so that the Apple iPod touch can interact with an IP telephony system to conduct a telephone call. [0054] The following description will also refer to telephony communications and telephony activity. These terms are intended to encompass all types of telephone communications, regardless of whether all or a portion of the calls are carried in an analog or digital format. Telephony communications could include audio or video telephone calls, facsimile transmissions, text messages, SMS messages, MMS messages, video messages, and all other types of telephony and data communications sent by or received by a user. These terms are also intended to encompass data communications that are conveyed through a PSTN or VOIP telephony system. In other words, these terms are intended to encompass any communications whatsoever, in any format, which traverse all or a portion of a communications network or telephony network.
[0055] Figure 3 illustrates elements of a software application that may be run on a telephony device to accomplish various functions, as described in detail below. The software application 300 includes a potential path determination unit 302, a path quality testing unit 304, a path quality database 305, a path selection unit 306 and a path switching unit 308.
[0056] Figure 4 illustrates selected elements of an IP telephony system 400 which performs various functions in accordance with the invention. The IP telephony system 400 includes a CDR database 402, and a billing unit 404. The IP telephony system 400 also includes a path engine 406, which includes a path database 410, a path evaluation unit 412, a historical database 414, and a potential path generation unit 416. A detailed description of how these elements of the IP telephony system 400 interact with telephony devices and elements of a data network to set up and route telephony communications is provided below.
[0057] As explained in the background section above, during call setup procedures, the calling telephony device and the called telephony device are informed of a communication path which can be used to transmit and receive data packets containing the media of the telephony communication. The called telephony device and the calling telephony device then route data packets bearing the media of the telephony communication through the identified communication path.
[0058] Each communication path can include one or more media relays. The IP telephony system may select a particular media relay to be used as part of a communications path based on the proximity of the media relay to the called and calling telephony devices, based on historical data about the quality that the media relay typically offers, based on the cost of using the media relay, and based on a variety of other considerations. Unfortunately, when the media relays are selected in this fashion, the actual current conditions which exist within the data network are not always taken into account.
[0059] Periodic Testing of Communication Paths
[0060] In a first set of methods described below, a telephony device conducts real world testing of one or more potential communication paths which could be used to transmit and receive data packets bearing the media of a telephony communication. These tests can be performed periodically by the telephony device. Alternatively, the testing could occur after a triggering event has occurred, as will be explained in more detail below. The results of the testing are then used to select a path for data packets bearing the media of a telephony communication. As a result, the path which is selected is based on the actual conditions which presently exist, and not just historical data about past performance.
[0061] Figure 5 illustrates a communications environment 500 in which a method of testing multiple potential paths is conducted. As shown in Figure 5, a first IP telephony device 502 communicates with the Internet 510 over an access point 504. The access point 504 could be a wired or wireless access point which provides the first IP telephony device 502 with access to the Internet 510. [0062] Figure 5 also illustrates that an IP telephony system 520 includes an inbound proxy server 580, an outbound proxy server 582, and a path engine 584. The IP telephony system 520 also includes multiple media relays. In the embodiment illustrated in Figure 5, the IP telephony system 520 includes a first media relay 570, a second media relay 572, a third media relay 574 and fourth media relay 575.
[0063] In the following embodiments, one or more media relays which form part of a communication path between two telephony devices are illustrated as being a part of an IP telephony system. However, in alternate embodiments, the media relays which form all or part of a communication path can be owned and controlled by third parties. Also, some communication paths could include one or more media relays which are part of an IP telephony system, as well as one or more media relays which are owned and/or controlled by a third party. Thus, the illustration of the media relays as being part of the IP telephony system should in no way be considered limiting.
[0064] When the first IP telephony device 502 utilizes the IP telephony system 520 to set up and conduct a telephony communication, the first IP telephony device 502 could use any of the first, second, third and fourth media relays as part of a communication path that extends between the first IP telephony device 502 and another telephony device. As a result, it is desirable to test a quality of communication paths that exist between the first IP telephony device 502 and each of the potential media relays. Once those tests have been conducted, the first IP telephony device 502 will have information about the quality that can be offered by paths extending through each of the media relays.
[0065] The quality of a path refers generally to the ability of the path to transmit data packets quickly, in sequential order, and without losses. Traditional measures of quality include the rate at which data packets can be communicated along a path, the average time delay in getting data packets between two points, the number of packets that are lost, and jitter, which is a measure of the variability of the transmission delays which may be experienced by individual data packets. These measures and others may be combined in some fashion to provide an overall quality measure of a communications path.
[0066] The quality of a particular path may also be determined based, at least in part, on a calculated mean opinion score (MOS). Although a MOS can be calculated subjectively by human test personnel, software has also been developed to automatically calculate a MOS for telephony communications that pass over a path. The calculated MOS may be taken into account, along with other factors, to determine the overall quality offered by a path.
[0067] Also, a perceptual evaluation of speech quality (PESQ) score may be calculated for a path. Various standards and software exists to compute a PESQ score for a telephony communication passing along a path. The PESQ score for a path may be used along with the other measures described above to determine the overall quality of a particular path.
[0068] Figure 5 also illustrates that a second IP telephony device 590 can utilize an access point 592 to obtain access to the Internet 510. This would allow the first IP telephony device 502 to communicate with the second IP telephony device 590 via data packet communications which pass through one or more media relays of the IP telephony system 520. However, before a telephony communication is established, the first IP telephony device 502 conducts testing of multiple potential paths which could be used to conduct a telephony communication with the second IP telephony device 590.
[0069] Figure 6 illustrates steps of a method which could be performed by the first IP telephony device 502 to test the quality of multiple potential paths. A software application on the first IP telephony device 502, including the elements illustrated in Figure 3, could be used to perform the method illustrated in Figure 6. [0070] The method would begin and proceed to step S602 where the software application 300 on the first IP telephony device 502 obtains a list of available communication paths. Specifically, as illustrated in Figure 3, the potential path determination unit 302 obtains a list of available paths. This list of available paths could be provided to the software application 300 by elements of an IP telephony system 400 upon request, or on a periodic basis. Alternatively, the potential path determination unit 302 of the telephony device software 300 could periodically query the IP telephony system 400 to obtain a list of potential paths, or such a query could be issued upon the occurrence of a triggering event.
[0071] As illustrated in Figure 4, an IP telephony system can include a path engine 406 which includes a path database 410 and a potential path generation unit 416. The path database 410 could include a list of all potential paths which are available to the IP telephony system 400. The path database 410 could include information about individual media relays, such as the location of the media relays, and the functional capabilities of the media relays. The path database 41 0 could also include information about the cost of using the media relays. Further, the path database 410 could include information about the historical quality offered by individual media relays, or predetermined combinations of media relays.
[0072] The potential path generation unit 416 utilizes information in the path database 410, to determine which communication paths are available to an IP telephony device for conducting a telephony communication. The potential path generation unit 416 may also take into account information about the IP telephony devices themselves. For example, an IP telephony device 108 located in a first country may have access to only a selected number of media relays. In addition, a particular IP telephony device may require that certain functions be performed by a media relay. As a result, only those media relays capable of providing the required functions could be part of a potential path used by that IP telephony device. [0073] When an IP telephony device requests a list of potential paths for a telephony communication, the potential path generation unit 416 utilizes information in the path database 410, as well as possibly information about the IP telephony device making the request and/or information about the telephony device to which the communication will be sent, to determine which potential paths are available. The potential path generation unit 416 then sends a listing of those paths to the requesting IP telephony device.
[0074] As noted above, the process of determining which paths are available to an IP telephony device could be repeated on a periodic basis, and the results could be sent to the IP telephony device each time that the process is performed. In some instances, the process is only performed upon the occurrence of a triggering event, such as the IP telephony device registering with the IP telephony system via an access point. If an IP telephony device moves from a first location to a second location, when the IP telephony device registers with the IP telephony system from the second location, the location information could be taken into account by the path engine 406 in determining which potential communication paths exist.
[0075] In still other embodiments, the IP telephony device itself may be capable of determining which paths are available for establishing a telephony communication. Specifically, the potential path determination unit 302 of the telephony device software 300 on the IP telephony device may have the ability to determine whether communications can be established with individual media relays which are capable of sending and receiving data packets bearing the media of a telephony communication. The potential path determination unit 302 may obtain a list of all available media relays from an IP telephony system, and then use the list to attempt to contact each of the media relays.
[0076] Returning to the method illustrated in Figure 6, once the first IP telephony device 502 has obtained or generated a list of available paths in step S602, the method proceeds to step S604 where the first IP telephony device 502 conducts testing of all the available paths. This testing would be conducted by the path quality testing unit 304 of the telephony device software 300 on the IP telephony device 502.
[0077] Individual path testing could be conducted by sending test data packets from the IP telephony device 502 through the access point 504 and the Internet 510 to each of the individual media relays, as illustrated by the dashed lines in Figure 5. The dashed lines in Figure 5 illustrate data packets being sent to media relays, and responses being sent from the media relays back to the IP telephony device 502.
[0078] For example, as illustrated in Figure 5, the first IP telephony device 502 could send a stream of test data packets which mimic a typical telephony communication through the access point 504 and the Internet 510 to the first media relay 570. Upon receiving the test data packets, the first media relay 570 sends back either a copy of the data packets originally transmitted, or a response message containing new or different information. The response message would be sent from the first media relay 570 back through the Internet 510 and the access point 504 to the first IP telephony device 502. The path quality testing unit 304 of the telephony device software 300 on the first IP telephony device 502 then evaluates the reply message from the first media relay 570 to the determine a quality of the communication path that exists between the first IP telephony device 502 and the first media relay 570.
[0079] In a similar fashion, the first IP telephony device 502 could send a stream of test data packets through the access point 504 and the Internet 510 to the fourth media relay 575. The fourth media relay 575 sends a response message back through the Internet 510 and the access point 504 to the first IP telephony device 502. The path quality testing unit 304 of the telephony device software 300 then analyzes the reply message from the fourth media relay 575 to determine a quality of the communication path that exists between the first IP telephony device 502 and the fourth media relay 575.
[0080] Figure 5 also illustrates that a communication path may include two or more media relays which are arranged in a chain fashion. In the embodiment illustrated in Figure 5, the first IP telephony device 502 sends a plurality of test data packets through the access point 504 and the Internet 510 to the third media relay 574. However, those data packets are addressed to the second media relay 572. As a result, the third media relay 574 passes the test data packets on to the second media relay 572. The second media relay 572 then sends a reply message back through the third media relay 574, the Internet 510 and the access point 504 to the first IP telephony device 502. The path quality testing unit 304 analyzes the reply message sent from the second media relay 572 to determine a quality of the communication path that exists between the first IP telephony device 502 and the second media relay 572.
[0081] Once the path quality testing unit 304 has sent test data packets through each of the available paths, and has analyzed the quality of each of those paths, in step S606, the path quality information is stored in a path quality database 305.
[0082] As illustrated in Figure 6, the method proceeds to step S608, where a determination is made as to whether a triggering event has occurred. When a triggering event occurs, the method loops back to step S602, and the steps of obtaining a list of available paths, conducting quality testing, and storing the test results in the path quality database are repeated. On the other hand, if no triggering event has yet occurred, the methods simply loops back and repeats step S608 until a triggering event occurs.
[0083] A triggering event which causes the available communication paths to be re-determined and re-tested could simply be the expiration of a predetermined period of time after the last quality tests were conducted, or since the last time that the available paths were determined. The triggering event could also be the IP telephony device switching from a first data connection to a second data connection. For example, if the IP telephony device reestablishes a connection to the IP telephony system via a new and different data access point, the conditions which existed during the last testing steps would no longer exist. Some of the paths that were previously available may no longer be available, and some new paths may have become available. Also, even the same paths may not provide the same quality through the new data connection. For these reasons, it makes sense to repeat the steps of identifying the available paths and conducting quality testing on the new paths if the IP telephony device has established a new data connection.
[0084] Also, if the IP telephony device switches from a first physical location to a second physical location, which would also involve reestablishing a new data connection to the IP telephony system, the new location of the IP telephony device may also change which data paths are available to the IP telephony device. As a result, when the IP telephony device moves from a first location to a second location, the steps of identifying the available paths and testing the paths would be repeated.
[0085] Setting Up A Telephony Communication Using Test Data
[0086] A method that would be performed when a first IP telephony device is attempting to set up a telephony communication with a second IP telephony device will now be explained with reference to Figures 7 and 8. The steps illustrated in Figure 7 would be performed by the second IP telephony device, which is the called device.
[0087] In this method, the first IP telephony device 802 illustrated in Figure 8 is attempting to set up and conduct a telephony communication with the second IP telephony device 890. The first IP telephony device 802 sends a telephony communication setup request to an inbound proxy server 880 of the IP telephony system 820. The solid lines in Figure 8 illustrate the path traversed by data packets bearing the setup signaling when the telephony communication is originally setup, and possibly also when the telephony communication is being terminated. The dashed lines in Figure 8 illustrate the paths which are traversed by data packets bearing the media of a telephony communication.
[0088] When the inbound proxy server 880 receives the setup request from the first IP telephony device 802, it locates an outbound proxy server 882 which is capable of communicating with the second IP telephony device 890. The inbound proxy server 880 then forwards the setup request to the outbound proxy server 882. The outbound proxy server 882 sends the setup request through the Internet 810 and the access point 892 to the second IP telephony device 890. At this point, the second IP telephony device 890 begins to perform the method illustrated in Figure 7.
[0089] The method begins and proceeds to step S702, where the second IP telephony device 890 receives the telephony communication setup request. Telephony device software 300 on the second IP telephony device 890 then determines which of multiple potential paths are available to conduct the IP telephony communication with the first IP telephony device 802, and which of those paths are likely to provide the best quality. The telephony device software 300 on the second IP telephony device 890 would have been periodically performing testing steps, as illustrated in Figure 6, to determine the quality of all potential paths available to it, and that quality information would be available in the path quality database 305 of the telephony device software 300.
[0090] More specifically, when the setup request is received, a path selection unit 306 of the telephony device software 300 on the second IP telephony device 890 consults the information in the path quality database 305 to determine which potential path is likely to provide the best call quality. This determination may be based, in part, on the identity and location of the first IP telephony device 802. The identity and location of the first IP telephony device 802 may be determined using caller ID information which is included in the setup request sent from the outbound proxy 882. Alternatively, the setup request could include information about the potential paths that are available to carry the telephony communication. And the path selection unit 306 of the telephony device software 300 on the second IP telephony device would then examine the relative quality of the paths identified in the setup request to determine which path is likely to offer the best quality.
[0091] In step S704, the path selection unit 306 of the telephony device software 300 informs the outbound proxy server 882 of the path which is likely to offer the best quality. In this instance, that path runs through the fourth media relay 876.
[0092] In step S706, the path information is communicated back to the first IP telephony device 802 via the inbound proxy server 880, the Internet 810, and the access point 804. As a result, both the first IP telephony device 802 and the second IP telephony device 890 know to communicate with each other via a path which passes through the fourth media relay 876. The telephony communication then begins. Specifically, the second IP telephony device 890 generates a stream of data packets bearing the media of the telephony communication, and sends that stream of data packets to the first IP telephony device 802 through the fourth media relay 876. Likewise, the first IP telephony device 802 generates a stream of data packets bearing the media of the telephony call and sends the stream to the second IP telephony device 890 via the fourth media relay 876. The telephony communication proceeds in this fashion until one or both parties choose to terminate the telephony communication. At that point, in step S708, the telephony communication is terminated.
[0093] In the embodiment described above, the called telephony device identifies the communication path which is to be used for the telephony communication. In alternate embodiments, the telephony device which is requesting that the telephony communication be established, in this instance, the first IP telephony device 802 may inform the inbound proxy server 880 of the communication path which it would like to use in order to conduct the telephony communication. In this instance, information about the path which is to be used would be relayed from the inbound proxy server 880 to the outbound proxy server 882, and then to the second IP telephony device 890 during the setup procedures. Thus, either the calling IP telephony device or the called IP telephony device may provide information about the path which is to be used for a telephony communication. In either case, the path selection would be based upon quality information which has been obtained by real world testing conducted by the IP telephony device identifying the preferred path.
[0094] In yet other embodiments of the invention, the first IP telephony device 802 requesting that the telephony communication be established may specify one or more preferred communication paths for the telephony communication, and the second IP telephony device 890, when it receives the setup request, may also provide information about one or more paths which it would prefer to use for the telephony communication. An element of the IP telephony system 820, such as the inbound proxy server 880 or the outbound proxy server 882, or possibly a path engine 884 would use this information to determine the communication path that is ultimately selected for the telephony communication. Thus, in some embodiments it may also be possible for information developed through testing at both of the IP telephony devices to be used to determine the communication path that is selected for the telephony communication.
[0095] Embodiments Where Quality Testing is Conducted While a Telephony
Communication is Ongoing
[0096] Alternate embodiments in which quality testing is conducted while a telephony communication is in progress will now be described with reference to Figures 9-12, In these alternate embodiments, a telephony communication is first established between a first IP telephony device and a second IP telephony device over an initial communication path. While the telephony communication is in progress, one or both of the IP telephony devices identify alternate paths which could be used to carry the telephony communication. One or both of the IP telephony devices then conduct quality testing of the path which is in use, and the identified alternate paths. If one of the alternate paths offers better quality then the path which is use, the telephony communication is switched to the alternate path. This process is repeated throughout the duration of the telephony communication, and whenever an alternate path is identified as offering better quality than the path which is currently in use, the telephony communication is switched to the alternate path offering better quality.
[0097] As is also described below, when a telephony communication is switched from a first path to a second path, "keep-alive" messages may be transmitted between the first and second IP telephony devices over the first path after the switch has occurred to keep the first path available for immediate use. This makes it possible to quickly and easily switch the telephony communication from the second path back to the first path, should quality of the second path degrade.
[0098] For purposes of this explanation, we will assume that the first IP telephony device 802 in Figure 9 is attempting to setup a telephony communication with the second IP telephony device 890. Similar to the description provided above, the first IP telephony device 802 sends a setup request through the access point 804 and the Internet 810 to the inbound proxy server 880. The inbound proxy server 880 identifies an outbound proxy server 882 capable of communicating with the second IP telephony device 890. The setup signaling is then be forwarded through the outbound proxy server 882, the Internet 810 and the access point 892 to the second IP telephony device 890. [0099] The method illustrated in Figure 12 is performed by the second IP telephony device 890. The method would begin, in step S1202, when the second IP telephony device 890 receives the setup request. In the embodiments described above, the second IP telephony device 890 could identify the path it would like to use for the telephony communication. Also, the first IP telephony device 802 could have originally identified a communication path that it would like to use for the telephony communication. Further, as also explained above, information about preferred paths provided by both the first IP telephony device 802 and the second IP telephony device 890 could be used to determine the initial path for the telephony communication. In this embodiment, however, we will assume that a path engine 884 of the IP telephony system 820 identifies an initial path which is to be used for the telephony communication. Further, this initial path is path P2 (see Figure 9) which passes through the third media relay 874 and the second media relay 872. This path would be identified in the setup request which is sent to the second IP telephony device 890. Setup signaling would also be sent to the first IP telephony device 802 to inform the first IP telephony device 802 that path P2 is to be the initial path used for the telephony communication.
[00100] The method proceeds to step S1204, where the telephony communication is commenced between first IP telephony device 802 and the second IP telephony device 890 through path P2, which passes through the second media relay 872 and the third media relay 874.
[00101] Once the telephony communication is begun, the method proceeds to step S1206, where the second IP telephony device 890 obtains or determines one or more alternate paths which could be used for the telephony communication. In some instances, the potential path determination unit 302 of the telephony device software 300 on the second IP telephony device 890 would determine the alternate paths which could be used for the telephony communication. In other embodiments, the potential path determination unit 302 could obtain information about alternate paths from the path engine 884 of the IP telephony system 820.
[00102] The method then proceeds to step S1208, where the path quality testing unit 304 of the telephony device software 300 on the second IP telephony device 890 conducts quality testing of the path P2 which is currently in use, as well as the alternate paths. Figure 9 illustrates that the alternate paths could include a path P1 which runs through the first media relay 870, a path P3 which runs through the fourth media relay 876, and a path P4 which passes through no media relays, and instead runs directly from the first IP telephony device 802 to the second IP telephony device 890.
[00103] As discussed above, the quality of the paths could be determined by sending test data packets to each of the media relays on the paths, and then evaluating test data packets of response messages which are sent back from the media relays. In this instance, however, because a communication has been established with a different IP telephony device, the testing may involve sending test data packets from the second IP telephony device 890 to the first IP telephony device 802 via each of the paths. The first IP telephony device 802 would then send response messages back along each of the respective paths. The second IP telephony device 890 would then evaluate each of the response messages sent back via each respective path to determine he respective quality of each of the paths.
[00104] In step S1210, a determination is made as to whether one of the alternate paths offers better quality than the path which is currently in use, in this instance, path P2. This determination could be made by the path quality testing unit 304 or the path selection unit 306 of the telephony device software 300 on the second IP telephony device 890.
[00105] If the check performed in step S121 0 indicates that none of the alternate paths provide better quality than the path P2 that is currently in use, the method proceeds to step S1214, where determination is made as to whether the call has been terminated. If the call has not yet been terminated, the method proceeds to step S1216, and a delay period is allowed to expire. The method then proceeds to step S1218, where the path quality testing unit 304 of the telephony device software 300 on the second IP telephony device 890 conducts another round of quality testing on both the current path and the alternate paths. The method then proceeds to step S1220, where another determination is made as to whether one of the alternate paths offers better quality than the path currently in use. If none of the alternate paths offer better quality, the method loops back to step S1214, and the steps discussed above are repeated.
[00106] If the determination made in step S1220 indicates that an alternate path offers better quality than the path currently in use, the method loops to step S1212. The method could also arrive at step S1212 if the determination made in step S12 0 indicates that an alternate path provides better quality than the initial path which was selected for the telephony communication.
[00107] In step S1212, the telephony communication is switched from its present path to the alternate path offering better quality. The method of switching from one path to another will be illustrated with reference to Figures 10 and 1 1 .
[00108] Figure 10 illustrates the conditions which would exist after the telephony communication is first established over initial path P2, which passes through the second media relay 872 and the third media relay 874. During the switch, the telephony communication is to be changed to alternate path P3, which passes through the fourth media relay 876. In order to switch the telephony communication from the initial path P2 to the alternate path P3, both the first telephony device 802 and the second telephony device 890 must be informed that the switch is to occur. Information regarding the switch could be sent to the first IP telephony device 802 and the second IP telephony device 890 through call control signaling, which is represented by the solid lines in Figure 10. Figure 10 illustrates that the inbound proxy server 880 and the outbound proxy server 882 may be used to communicate this information to the first IP telephony device 802 and the second IP telephony device 890. However, in alternate embodiments, other elements of the IP telephony system 820 could send this information.
[00109] In preferred embodiments, the first IP telephony device 802 and the second IP telephony device 890 are instructed to build up buffers of the data packets being sent back and forth between the IP telephony devices before the switch occurs. Once the buffers are full, the first and second IP telephony devices are instructed to begin sending data packets bearing the media of the IP telephony communication in parallel through both the initial path P2 and the alternate path P3. The IP telephony devices will continue to use the data packets being sent via the initial path P2 until it is clear that the alternate path P3 is operational. Once it is clear that data packets are being successfully delivered via the alternate path P3, the first and second IP telephony devices are instructed to begin using the data packets being communicated over the alternate path P3. Any short term disruption which occurs as the switch is being made could be handled through use of data in the data buffers.
[001 10] Once the switch has been made, the conditions illustrated in Figure 1 1 would exist. As shown in Figure 1 1 , data packets bearing the media of the telephony communication are communicated along alternate path P3, which passes through the fourth media relay 876. However, Figure 1 also illustrates that "keep-alive" messages are also communicated back and forth between the first IP telephony device 802 and the second IP telephony device 890 along the initial path P2. In Figure 1 1 , keep-alive messages are represented by the lines which include alternating dashes and dots. Keep-alive messages are one of the various messages used in the Session Initiation Protocol (SIP), as defined in ITEF RFC 5626 by Jennings, et al. , October 2009.
[001 1 1] As is well known to those of ordinary skill in the art, keep-alive messages are periodic messages with essentially no data content which are sent through a communication path to ensure that all elements involved in the communication path remain available and ready for immediate use. In the embodiment illustrated in Figure 1 1 , by sending keep-alive messages through the initial path P2, initial path P2 remains open and available for immediate use, should it become necessary to switch the telephony communication from the alternate path P3 back to the initial path P2. This may be necessary if the alternate path fails for any reason, or suddenly declines in quality.
[001 12] Returning to the method illustrated in Figure 12, the periodic testing steps conducted in step S12 8 are performed each time that the predetermined period of time elapses in step S1216, unless, of course, the call is determined to have been terminated in step S1214. Whenever the testing conducted in step S1218 indicates that alternate path provides better quality than the path currently in used, as determined in step S1220, a switch is made to the alternate path offering better quality in step S 212.
[001 13] For example, if the telephony communication has already been switched from the initial path P2 to the alternate path P3, and performance of the periodic testing step S1218 later indicates that the quality of the initial path P2 has become better than the quality of alternate path P3, the telephony communication would be switched back to the initial path P2. At that point in time, however, keep-alive messages would be communicated through alternate path P3. In some situations, the telephony communication could also be switched from alternate path P3 to a second alternate path, such as path P1 . In that instance, keep-alive messages would thereafter be sent along first alternate path P3. [001 14] In the method described above and illustrated in Figure 12, the second IP telephony device 890 conducts an initial round of quality testing, and subsequent periodic rounds of quality testing to determine if an alternate path is offering better quality than the path currently in use. In alternate embodiments, however, those testing steps could be performed by the first IP telephony device 802. Moreover, in yet other alternate embodiments, both the first IP telephony device 802 and the second IP telephony device 890 could both be performing periodic testing, and the results from the testing conducted by both IP telephony devices could be used to determine if an alternate path is offering better quality than the path currently in use. In embodiments where both the first IP telephony device 802 and the second IP telephony device 890 are both conducting periodic testing, the telephony communication may only be moved to an alternate path if both IP telephony devices agree that the alternate path offers better quality than the path currently in use.
[001 15] In all the methods described above, an IP telephony device conducts quality testing of one or more paths which can be used to conduct a telephony communication. As mentioned above, this call quality testing can be conducted by sending test data packets from the IP telephony device to an element of an IP telephony system, such a media relay. In some instances, the test data packets may be forwarded on to another IP telephony device to determine the quality of the path which extends all the way between first and second IP telephony devices. Response messages are then received back at the IP telephony device that originally sent the test data packets. The response messages are used to determine the quality of a path.
[001 16] The data packets which are sent as part of the quality testing could be configured to resemble, as closely as possible, the types of data packets which would be sent during an actual telephony communication. In particular, it is advantageous to ensure that at least the headers of the data packets closely resemble data packets that bear the media of a telephony communication to ensure that the test data packets are handled in the same way as data packets bearing the media of a telephony communication. Likewise, it may be advantageous to the test data packets at a data rate which mimics the data rate of data packets bearing the media of a telephony communication, for essentially the same reasons. By formatting and transmitting the test data packets so that they closely resemble the data packets bearing the media of a telephony communication, one can better determine whether an Internet service provider is attempting to throttle transmission of those types of data packets.
[001 17] Embodiments Where The Fastest Path is Selected as the Initial
Path, and Where Quality Testing is Thereafter Conducted
[001 18] Figures 1 3-16 will now be used to provide a description of yet another alternate embodiment. In this embodiment, when a telephony communication is to be setup between first and second IP telephony devices, the telephony communication is initially sent along one or more paths which provide the fastest initial data transmissions between the first and second IP telephony devices. After the telephony communication begins, quality testing is conducted on the path(s) in use, and any alternate paths which could be used for the telephony communication. If one of the alternate paths offers better quality than an initial path(s), the telephony communication is switched to the alternate path offering higher call quality. As with the embodiment described above, periodic quality testing is performed while the call is ongoing, and whenever an alternate path is determined to offer better quality, the telephony communication is switched to the alternate path offering better quality.
[001 19] In this embodiment, the first IP telephony device 1302, as illustrated in Figure 13, sends a request to setup a telephony communication with the second IP telephony device 1 390 to an inbound proxy server 1 380 of an IP telephony system 1320 via an access point 1 304 and the Internet 1310. The inbound proxy server 1380 identifies the outbound proxy server 1382 as able to communicate with the second IP telephony device 1390, and setup signaling is sent to the second IP telephony device 1390 via the outbound proxy server 1382, the Internet 1310 and the access point 1392.
[00120] As illustrated in Figure 16, the method begins and proceeds to step S1602 when the setup request is received by the second IP telephony device 1390. The method then proceeds to step S1604 where the available communication paths between the first IP telephony device 1302 and the second IP telephony device 1390 are determined. In some embodiments, this determination could be made by the path selection unit 306 of telephony device software 300 on either or both of the first IP telephony device 1302 and the second IP telephony device 1 390. In other embodiments, the path engine 1384 of the IP telephony system 1320 could identify the potential paths which are available for the telephony communication, and this information could be sent to the first and second IP telephony devices as part of the setup signaling.
[00121] Once the available paths are determined, and both the first IP telephony device 1302 and the second IP telephony device 1390 have been informed of all available communication paths, the method proceeds to step S1606 where the first IP telephony device 1302 and the second IP telephony device 1390 both begin to send data packets bearing the media of the telephony communication in parallel through all available paths. With reference to Figure 13, this would mean that the first IP telephony device 1302 sends data packets bearing the media of the telephony communication to the second IP telephony device 1 390 through path P1 which passes through the first media relay 1370, through path P2 passing through the second media relay 1372 and the third media relay 1374, through path P3, which passes through the fourth media relay 1376, and through path P4, which passes directly between the first IP telephony device 1302 and the second IP telephony device 1390. At the same time, the second IP telephony device 1390 sends data packets bearing the media of the telephony communication to the first IP telephony device 1302 in parallel through all of the same paths.
[00122] In step S1608, the first IP telephony device 1 302 determines which of the available paths delivered data packets from the second IP telephony device 1 390 the fastest. The first IP telephony device 1302 then informs the second IP telephony device 1390 of which path was fastest. In some embodiments in the invention, this path would then be used as the initial path for the telephony communication.
[00123] In alternate embodiments, the second IP telephony device 1 390 determines which of the paths delivered the data packets sent from the first IP telephony device 1302 the fastest. The second IP telephony device 1390 then informs the first IP telephony device 1302 of which path was the fastest. In these embodiments, the telephony communication would begin with the first IP telephony device 1302 sending its data packets bearing the media of the telephony communication to the second IP telephony device 1 390 over the fastest path for sending data packets in that direction. Likewise, the second IP telephony device 1390 sends its data packets bearing the media of the telephony communication to the first IP telephony device 1 302 over the path offering the fastest transmissions in that direction. As a result, the first IP telephony device 1302 may end up sending its data packets over a different communication path than the second IP telephony device 1 390.
[00124] Figure 14 illustrates a situation where the first IP telephony device 1 302 begins the telephony communication by sending its data packets to the second IP telephony device 1390 via path P1 , which passes through the first media relay 1370. At the same time, the second IP telephony device 1390 begins the telephony communication by sending its data packets to the first IP telephony device 1302 via path P3, which passes through the fourth media relay 1376. As a result, during the initial stages of the telephony communication, the data packets being sent from each of the first and second telephony devices are traversing different paths.
[00125] The method then proceeds to step S1610 where the quality of all available paths are tested. This testing step would be conducted in a fashion similar to the testing steps described above. Specifically, the testing step could involve one or both of the IP telephony devices conducting quality testing through all the available paths. Once the testing has been conducted, the test result would be examined and a single path would be selected for use in continuing the telephony communication. However, if two different paths have been used during the initial stages, as illustrated in Figure 14, and one of those two paths is selected to continue the telephony communication, keep- alive messages would be sent through the path which is no longer being used.
[00126] If the first path P1 is selected to continue the telephony communication in step S1612, both the first and second IP telephony devices would begin to use path P1 to continue the telephony communication, and the result would be as illustrated in Figure 1 5. Note, keep-alive messages are communicated between the first and second telephony devices along path P3, which was also used during the initial stages of the telephony communication.
[00127] The method then proceeds to step S1614, where check is made to determine if the call it has been terminated. If not, the method proceeds to step S1616, and a delay period is allowed to expire. The method then proceeds to step S1618, where another round of quality testing is conducted on both the current path, and any available alternate paths. The method then proceeds to step S1620, where a determination is made as to whether any of the alternate paths offer better quality than the current path. If not, the method loops back to step S1614. If so, the method loops to step S1612 and the first and second IP telephony devices being using the alternate path offering better quality. The switch to the alternate path could be conducted as explained above. Also, when a switch is made to the alternate path offering better call quality, the first and second telephony devices would communicate keep-alive messages through the path which is no longer being used. These method steps would continue until the check in step S1614 indicates that the call has been terminated.
[00128] In many of the foregoing descriptions, a software application running on a telephony device performs various functions. In alternate embodiments, a browser running on the telephony device may access a software application that is running on some other device via a data network connection. For example, the software application could be running on a remote server that is accessible via a data network connection. The software application running elsewhere, and accessible via a browser on the telephony device may provide all of the same functionality as an application running on the telephony device itself. Thus, any references in the foregoing description and the following claims to an application running on a telephony device are intended to also encompass embodiments and implementations where a browser running on a telephony device accesses a software application running elsewhere via a data network.
[00129] In the embodiments discussed above, a first IP telephony device is seeking to setup a telephony communication with a second IP telephony device. However, the systems and methods described above are equally applicable to situations where a first IP telephony device is attempting to setup a telephony communication with an analog or cellular telephone. In those instances, the first IP telephony device would be sending data packets bearing the media of the telephony communication to a gateway or another similar device which acts as an interface between an IP telephony system and the PSTN or a cellular network. However, the media relays discussed above could still be used to communicate data packets bearing the media of the telephony communication between the interface gateway and the first IP telephony device. Thus, most of the methods described above could also be used to facilitate the selection and use of particular communication paths in this situation.
[00130] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
[00131] While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims

WHAT IS CLAIMED IS:
1. A method of identifying one or more preferred paths for transmission of digital data packets bearing the media of an Internet protocol (IP) telephony communication that is to be conducted by a telephony device, comprising:
conducting testing to determine the respective quality of each of a plurality of paths that can be used to communicate data packets between the telephony device and one or more elements of a communications network;
evaluating the results of the conducting step to determine the relative quality of each of the plurality of paths; and
identifying one or more of the paths as preferred paths based on the result of the evaluating step.
2. The method of claim 1 , wherein the conducting step is
performed in response to a triggering event.
3. The method of claim 2, wherein the triggering event is the telephony device establishing a new connection to a data network.
4. The method of claim 2, wherein the triggering event is the elapse of a predetermined period of time since the last time that the
conducting step was performed.
5. The method of claim 2, wherein the triggering event is the elapse of a predetermined period of time since the last time that the identifying step was performed.
6. The method of claim 1 , wherein the identifying step is performed in response to receipt of a call setup request.
7. The method of claim 6, wherein the call setup request is received from a proxy server, a gateway or a session border controller, and wherein the identifying step comprises sending a communication identifying one or more of the paths as preferred paths to the device which sent the call setup request.
8. The method of claim 1 , wherein the conducting step comprises conducting testing to determine the respective quality of each of a plurality of paths between the telephony device and a plurality of media relays,
9. The method of claim 8, wherein at least one of the paths comprises a path that extends from the telephony device, through a first media relay to a second media relay, and wherein data packets passing between the telephony device and the second media relay are communicated through the first media relay.
10. The method of claim 1 , further comprising obtaining a listing of the plurality of paths from a path engine of an IP telephony system before performing the conducting step.
1 1 . The method of claim , wherein the identifying step comprises identifying the paths in a ranked order, the order being indicative of the relative quality of each of the paths.
12. A system for identifying one or more preferred paths for transmission of digital data packets bearing the media of an Internet protocol (IP) telephony communication that is to be conducted by a telephony device, comprising:
means for conducting testing to determine the respective quality of each of a plurality of paths that can be used to communicate data packets between the telephony device and one or more elements of a communications network; means for evaluating the results of testing conducted by the means for conducting testing to determine the relative quality of each of the plurality of paths; and
means for identifying one or more of the paths as preferred paths based on the evaluation performed by the means for evaluating.
13. A system for identifying one or more preferred paths for transmission of digital data packets bearing the media of an Internet protocol (IP) telephony communication that is to be conducted by a telephony device, comprising:
a path quality testing unit that conducts testing to determine the respective quality of each of a plurality of paths that can be used to communicate data packets between the telephony device and one or more elements of a communications network; and
a path selecting unit that evaluates the results of testing conducted by the path quality testing unit and that determines the relative quality of each of the plurality of paths, wherein the path selecting unit also identifies one or more of the paths as preferred paths based on the evaluation.
14. The system of claim 13, wherein the path quality testing unit conducts testing in response to a triggering event.
15. The system of claim 14, wherein the triggering event is the telephony device establishing a new connection to a data network.
16. The system of claim 14, wherein the triggering event is the elapse of a predetermined period of time since the last time that path quality testing was performed.
17. The system of claim 14, wherein the triggering event is the elapse of a predetermined period of time since the last time that the path selection unit identified one or more paths as preferred paths.
18. The system of claim 13, wherein the path selecting unit identifies one or more of the paths as preferred paths in response to receipt of a call setup request.
19. The system of claim 18, wherein the call setup request is received from a proxy server, a gateway or a session border controller, and wherein the path selecting unit sends a communication identifying one or more of the paths as preferred paths to the device which sent the call setup request.
20. The system of claim 13, wherein the path quality testing unit conducts testing to determine the respective quality of each of a plurality of paths between the telephony device and a plurality of media relays.
21 . The system of claim 20, wherein at least one of the paths comprises a path that extends from the telephony device, through a first media relay to a second media relay, and wherein data packets passing between the telephony device and the second media relay are communicated through the first media relay.
22. The system of claim 13, wherein the path quality testing unit obtains a listing of the plurality of paths from a path engine of an IP telephony system before performing testing.
23. The system of claim 13, wherein the path selection unit identifies the paths in a ranked order, the order being indicative of the relative quality of each of the paths.
24. A non-transitory computer readable medium having stored thereon instructions which, when executed by one or more processors, causes the one or more processors to perform a method comprising:
conducting testing to determine the respective quality of each of a plurality of paths that can be used to communicate data packets between the telephony device and one or more elements of a communications network;
evaluating the results of the conducting step to determine the relative quality of each of the plurality of paths; and
identifying one or more of the paths as preferred paths based on the result of the evaluating step.
25. A method performed by a first telephony device for conducting an Internet protocol (IP) telephony communication with a second telephony device, wherein the IP telephony communication is routed, at least initially, through an element of a data network that is in communication with the second telephony device, comprising:
receiving a setup request at the first telephony device, the setup request indicating that an IP telephony communication is to be established between the first telephony device and the second telephony device through the data network;
initiating the telephony communication by communicating data packets bearing the media of the telephony communication via a first path through the data network that extends between the first telephony device and a first element of the data network that is in communication with the second telephony device;
testing of a quality of the first path and a quality of an alternate path through the data network that extends at least part of the way between the first telephony device and the second telephony device while data packets bearing the media of the telephony communication are traversing the first path; and continuing the telephony communication by communicating data packets bearing the media of the telephony communication via the alternate path based on the results of the testing step.
26. The method of claim 25, wherein the continuing step comprises continuing the telephony communication by communicating data packets via the alternate path if the testing step indicates that a quality of the alternate path is better than a quality of the first path.
27. The method of claim 25, wherein the first element of the data network is a data network interface device that is in communication with the second telephony device.
28. The method of claim 25, wherein the setup request identifies the first path.
29. The method of claim 25, wherein the first telephony device selects the first path.
30. The method of claim 25, wherein the first telephony device selects the first path and the alternate path.
31 . The method of claim 25, wherein the first telephony device consults a path engine of an IP telephony system to request identification of at least one of the first and alternate paths.
32. The method of claim 25, wherein the alternate path includes a second element of the data network which is not part of the first path.
33. The method of claim 25, wherein the alternate path extends between the first telephony device and the second telephony device without traversing a media relay, a proxy server, a gateway or a session border controller.
34. The method of claim 25, wherein the telephony communication is continued by communicating data packets bearing the media of the call via the first path if the result of the testing step indicates that a quality of the first path is better than a quality of the alternate path.
35. The method of claim 25, further comprising:
retesting a quality of the path that is currently being used to communicate data packets bearing the media of the telephony communication and at least one alternate path each time that a predetermined delay period expires while the telephony communication is ongoing; and
continuing the telephony communication by communicating data packets bearing the media of the telephony communication via an alternate path if the retesting step indicates that a quality of the alternate path is better than a quality of the current path.
36. The method of claim 25, wherein if the telephony communication is switched from the first path to an alternate path while the telephony communication is ongoing, the method further comprises communicating keep-alive messages via the first path while data packets bearing the media of the call are communicated via the alternate path.
37. The method of claim 36, wherein if the telephony communication is switched from an alternate path back to the first path while the telephony communication is ongoing, the method further comprises communicating keep-alive messages via the alternate path while data packets bearing the media of the call are communicated via the first path.
38. A first telephony device configured to conduct an Internet protocol (IP) telephony communication with a second telephony device, wherein the IP telephony communication is routed, at least initially, through an element of a data network that is in communication with the second telephony device, comprising:
means for receiving a setup request, the setup request indicating that an IP telephony communication is to be established between the first telephony device and the second telephony device through the data network;
means for initiating the telephony communication by communicating data packets bearing the media of the telephony
communication via a first path through the data network that extends between the first telephony device and a first element of the data network that is in communication with the second telephony device;
means for testing of a quality of the first path and a quality of an alternate path through the data network that extends at least part of the way between the first telephony device and the second telephony device while data packets bearing the media of the telephony communication are traversing the first path; and
means for continuing the telephony communication by communicating data packets bearing the media of the telephony
communication via the alternate path based on the results of the testing conducted by the testing means.
39. A non-transitory computer readable medium bearing instructions which, when executed by one or more processors of a first telephony device enable the first telephony device to conduct an Internet protocol (IP) telephony communication with a second telephony device, wherein the IP telephony communication is routed, at least initially, through an element of a data network that is in communication with the second telephony device, wherein the instructions on the non-transitory computer readable medium cause the one or more processors of the first telephony device to perform a method that comprises: receiving a setup request that indicates that an IP telephony communication is to be established between the first telephony device and the second telephony device through the data network,
initiating the telephony communication by communicating data packets bearing the media of the telephony communication via a first path through the data network that extends between the first telephony device and a first element of the data network that is in communication with the second telephony device;
testing of a quality of the first path and a quality of an alternate path through the data network that extends at least part of the way between the first telephony device and the second telephony device while data packets bearing the media of the telephony communication are traversing the first path; and
continuing the telephony communication by communicating data packets bearing the media of the telephony communication via the alternate path based on the results of the testing step.
40. The non-transitory computer readable medium of claim 39, wherein the continuing step comprises continuing the telephony
communication by communicating data packets via the alternate path if the testing step indicates that a quality of the alternate path is better than a quality of the first path.
41. The non-transitory computer readable medium of claim 39, wherein the first element of the data network is a data network interface device that is in communication with the second telephony device.
42. The non-transitory computer readable medium of claim 39, wherein receiving the setup request comprises receiving a setup request that identifies the first path.
43. The non-transitory computer readable medium of claim 39, wherein the step of initiating the telephony communication comprises the first telephony device selecting the first path.
44. The non-transitory computer readable medium of claim 39, wherein the initiating step comprises the first telephony device selecting the first path, and wherein the testing step comprises the first telephony device selecting the alternate path.
45. The non-transitory computer readable medium of claim 39, wherein during the initiating step, the first telephony device consults a path engine of an IP telephony system to request identification of the first.
46. The non-transitory computer readable medium of claim 39, wherein during the testing step, the first telephony device consults a path engine of an IP telephony system to request identification of the alternate path.
47. The non-transitory computer readable medium of claim 39, wherein the alternate path includes a second element of the data network which is not part of the first path.
48. The non-transitory computer readable medium of claim 39, wherein the alternate path extends between the first telephony device and the second telephony device without traversing a media relay, a proxy server, a gateway or a session border controller.
49. The non-transitory computer readable medium of claim 39, wherein the telephony communication is continued by communicating data packets bearing the media of the call via the first path if the result of the testing step indicates that a quality of the first path is better than a quality of the alternate path.
50. The non-transitory computer readable medium of claim 39, wherein the instructions on the non-transitory computer readable medium also cause the one or more processors of the first telephony device to perform the further steps of:
retesting a quality of the path that is currently being used to communicate data packets bearing the media of the telephony communication and at least one alternate path each time that a predetermined delay period expires while the telephony communication is ongoing; and
continuing the telephony communication by communicating data packets bearing the media of the telephony communication via an alternate path if the retesting step indicates that a quality of the alternate path is better than a quality of the current path.
51 . The non-transitory computer readable medium of claim 39, wherein if the telephony communication is switched from the first path to an alternate path while the telephony communication is ongoing, the method further comprises communicating keep-alive messages via the first path while data packets bearing the media of the telephony communication are communicated via the alternate path.
52. The non-transitory computer readable medium of claim 5 , wherein if the telephony communication is switched from an alternate path back to the first path while the telephony communication is ongoing, the method further comprises communicating keep-alive messages via the alternate path while data packets bearing the media of the telephony communication are communicated via the first path.
PCT/US2013/071382 2012-11-30 2013-11-22 Systems and methods of routing ip telephony data packet communications WO2014085217A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US13/690,052 2012-11-30
US13/690,052 US20140153409A1 (en) 2012-11-30 2012-11-30 Systems and methods of routing ip telephony data packet communciations
US13/690,587 US20140153413A1 (en) 2012-11-30 2012-11-30 Systems and methods of routing ip telephony data packet communciations
US13/690,587 2012-11-30

Publications (1)

Publication Number Publication Date
WO2014085217A1 true WO2014085217A1 (en) 2014-06-05

Family

ID=49724685

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2013/071382 WO2014085217A1 (en) 2012-11-30 2013-11-22 Systems and methods of routing ip telephony data packet communications

Country Status (1)

Country Link
WO (1) WO2014085217A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114616810A (en) * 2019-10-28 2022-06-10 微软技术许可有限责任公司 Network path redirection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816464B1 (en) * 2000-09-13 2004-11-09 Array Telecom Corporation Method, system, and computer program product for route quality checking and management
US20070291648A1 (en) * 2006-06-15 2007-12-20 Lucent Technologies Inc. VoIP voice quality remote for switch-to-switch connections
WO2008005274A2 (en) * 2006-06-30 2008-01-10 Vonage Holdings Corp. Method and system for network path discrimination
US7995464B1 (en) * 2005-06-27 2011-08-09 At&T Intellectual Property Ii, L.P. Method and apparatus for measuring quality of service levels

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816464B1 (en) * 2000-09-13 2004-11-09 Array Telecom Corporation Method, system, and computer program product for route quality checking and management
US7995464B1 (en) * 2005-06-27 2011-08-09 At&T Intellectual Property Ii, L.P. Method and apparatus for measuring quality of service levels
US20070291648A1 (en) * 2006-06-15 2007-12-20 Lucent Technologies Inc. VoIP voice quality remote for switch-to-switch connections
WO2008005274A2 (en) * 2006-06-30 2008-01-10 Vonage Holdings Corp. Method and system for network path discrimination

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JENNINGS ET AL., ITEF RFC 5626, October 2009 (2009-10-01)
MAKOWSKI S ET AL: "PACKET PATH ASSURANCE FOR IP NETWORKS", BELL LABS TECHNICAL JOURNAL, WILEY, CA, US, vol. 1, no. 11, 21 March 2006 (2006-03-21), pages 99 - 106, XP001242663, ISSN: 1089-7089, DOI: 10.1002/BLTJ.20146 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114616810A (en) * 2019-10-28 2022-06-10 微软技术许可有限责任公司 Network path redirection

Similar Documents

Publication Publication Date Title
US8767716B2 (en) Systems and methods of routing IP telephony data packet communications
US10057428B1 (en) Systems, methods, devices and arrangements for cost-effective routing
US7852749B2 (en) Methods and systems for routing telecommunications
US8605682B2 (en) Systems and methods for handoff of a mobile telephone call in a VOIP environment
US9001699B2 (en) Systems and methods for communication setup via reconciliation of internet protocol addresses
US9509744B2 (en) Systems and methods of routing IP telephony data packet communications
EP2738986B1 (en) Systems and methods of routing IP telephony data packet communications
US20160099979A1 (en) Method and apparatus for rapid setup of a telephony communication using multiple communication channels
US20140153562A1 (en) Systems and methods of routing ip telephony data packet communciations
US20140153409A1 (en) Systems and methods of routing ip telephony data packet communciations
US9313238B2 (en) Systems and methods for communication setup via reconciliation of internet protocol addresses
US9451507B2 (en) Systems and methods for handoff of a mobile telephone call in a VOIP environment
US20140153413A1 (en) Systems and methods of routing ip telephony data packet communciations
WO2014085217A1 (en) Systems and methods of routing ip telephony data packet communications
CA2833904C (en) Systems and methods of routing ip telephony data packet communications
JP5608748B2 (en) Method and apparatus in a communication network
US8553570B1 (en) Systems and methods of routing IP telephony data packet communications
US20140269677A1 (en) Systems and methods for transitioning a telephony communication between connection paths to preserve communication quality
WO2014151217A1 (en) Systems and methods for transitioning a telephony communication between connection paths to preserve communication quality
US9906567B2 (en) Systems and methods of routing IP telephony data packet communications
JP4165335B2 (en) Delay time measuring device, jitter tolerance measuring device, and speech quality evaluation device using them
US20140376391A1 (en) Systems and methods of routing ip telephony data packet communications
JP4325731B2 (en) Delay time measuring device, jitter tolerance measuring device, and speech quality evaluation device using them
US20140086074A1 (en) Systems and methods of routing ip telephony data packet communications
US20140086142A1 (en) Systems and methods of routing ip telephony data packet communications

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13801949

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13801949

Country of ref document: EP

Kind code of ref document: A1