1. Field of the Invention
The invention relates generally to the field of communications, and more specifically to a network configured for Voice over Internet Protocol (VoIP) and/or Facsimile over Internet Protocol (FoTP).
2. Background of the Related Art
Historically, most wired voice communications were carried over the Public Switched Telephone Network (PSTN), which relies on switches to establish a dedicated circuit between a source and a destination to carry an analog voice signal. More recently, Voice over Internet Protocol (VoIP) was developed as a means for enabling speech communication using digital, packet-based, Internet Protocol (1P) networks such as the Internet. A principle advantage of IP is its efficient bandwidth utilization. VoIP may also be advantageous where it is beneficial to carry related voice and data communications over the same channel, to bypass tolls associated with the PSTN, to interface communications originating with Plain Old Telephone Service (POTS) with applications on the Internet, or for other reasons. As discussed in this specification, the problems and solutions related to VoIP may also apply to Facsimile over Internet Protocol (FoIP).
To initiate a VoIP session, a user lifts a handset from the hook of originating telephone 100. A dial tone is returned to the originating telephone 100 via Private Branch Exchange (PBX) 110. The user dials a telephone number, which causes the PSTN 115 to switch the call to the originating gateway 125, and additionally communicates a destination for the call to the originating gateway 125. The gateway will determine which destination gateway a call should be sent to using a look-up table resident within the gateway 125, or it may consult the controller 120 for this information.
The gateway then attempts to establish a call with the destination telephone 145 via the VoIP network 130, the destination gateway 135, signaling lines 155 and the PSTN 140. If the destination gateway and PSTN are capable of completing the call, the destination telephone 145 will ring. When a user at the destination telephone 145 lifts a handset and says “hello?” a first analog voice signal is transferred through the PSTN 140 to the destination gateway 135 via lines 155. The destination gateway 135 converts the first analog voice signal originating at the destination telephone 145 into packetized digital data (not shown) and appends a destination header to each data packet. The digital data packets may take different routes through the VoIP network 130 before arriving at the originating gateway 125. The originating gateway 125 assembles the packets in the correct order, converts the digital data to a second analog voice signal (which should be a “hello?” substantially similar to the first analog signal), and forwards the second analog voice signal to the originating telephone 100 via lines 155, PSTN 115 and PBX 110. A user at the originating telephone 100 can speak to a user at the destination telephone 145 in a similar manner. The call is terminated when the handset of either the originating telephone 100 or destination telephone 145 is placed on the hook of the respective telephone. In the operational example described above, the telephone 105 is not used.
In the related art, the controllers 120 and 160 may provide signaling control in the PSTN and a limited means of controlling a gateway at one end of the call. It will be appreciated by those skilled in the art that, in some configurations, all or part of the function of the controllers 120 and 160 as described above may be embedded into the gateways 125 and 135, respectively.
VoIP in the related art presents several problems for a provider of network-based voice communication services. For example, because packets of information follow different routes between source and destination terminals in an IP network, it is difficult for network service providers to track data and bill for network use. In addition, VoIP networks in the related art lack adequate control schemes for routing packets through PSTNs, gateways and VoIP networks based upon the selected carrier service provider, a desired Quality of Service (QoS), cost, and other factors. Moreover, related art controllers do not provide sufficient interfaces between the large variety of signaling systems used in international communications. Other disadvantages related to monitoring and control also exist with present VoIP schemes.
An object of the invention is to solve at least one or more of the above problems and/or disadvantages in whole or in part and to provide at least the advantages described hereinafter.
Another object of the invention is to provide an improved ability to monitor VoIP and FoIP traffic through a network.
Another object of the invention is to provide an improved ability to identify the best routes for VoIP and FoIP traffic through a network based on a variety of considerations.
Another object of the invention is to provide an improved ability to provision a network in order to direct VoIP and FoIP traffic according to the identified best routes.
Another object of the invention is to simplify the generation of billing records related to VoIP and FoIP network services.
Another object of the invention is to improve the interface between networks having different signaling systems.
Another object of the invention if to provide improved acceptance/decline logic for determining whether to route traffic upon receipt of a routing request.
Another object of the invention is to provide a different quality of service to different classes of customers.
Another object of the invention is to provide an improved method for monitoring the quality of service of a VoIP network.
In order to achieve at least the above objectives in whole or in part and in accordance with the purposes of the invention, as embodied and broadly described, an improved control architecture for VoIP/FoIP communications is provided including the features of: a control signal interface to at least one gateway for routing VoIP/FoIP communications over an IP network. A gatekeeper may be coupled to the control signal interface, and control means coupled to the gatekeeper, wherein the control means is configured to receive a VoIP/FoIP routing request, determine a best route through the IP network, provision the IP network for the determined best route, and analyze traffic on the IP network.
Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention. The objects and advantages of the invention may be realized and attained as particularly pointed out in the appended claims.
The invention will be described in detail with reference to the following drawings in which like reference numerals refer to like elements, and wherein:
A system embodying the invention is depicted in
The originating gateways 125/126 function to convert an analog call into digital packets, which are then sent via the Internet 130 to a destination gateway 135/136. In some instances, the gateways may receive a call that has already been converted into a digital data packet format. In this case, the gateways will function to communicate the received data packets to the proper destination gateways. However, the gateways may modify the received data packets to include certain routing and other formatting information before sending the packets on to the destination gateways.
The gateways 125/126/135/136 are coupled to one or more gatekeepers 205/206. The gatekeepers 205/206 are coupled to a routing controller 200. Routing information used to inform the gateways about where packets should be sent originates at the routing controller.
One of skill in the art will appreciate that although a single routing controller 200 is depicted in
In a preferred embodiment of the invention, as depicted in
According to the invention, the gatekeeper 205 may perform admission control, address translation, call signaling, call management, or other functions to enable the communication of voice and facsimile traffic over the PSTN networks 115/140 and the VoIP network 130. The ability to provide signaling for networks using Signaling System No. 7 (SS7) and other signaling types may be advantageous over network schemes that rely on gateways with significantly less capability. For example, related art gateways not linked to the gatekeepers of the present invention may only provide signaling for Multi-Frequency IF), Integrated Services Digital Network (ISDN), or Dual Tone Multi-Frequency (DTMF).
According to a preferred embodiment of the present invention, the gatekeeper 205 may further provide an interface between different gateways, and the routing controller 200. The gatekeeper 205 may transmit routing requests to the routing controller 200, receive an optimized route from the routing controller 200, and execute the route accordingly.
Persons skilled in the art of communications will recognize that gatekeepers may also communicate with other gatekeepers to manage calls outside of the originating gatekeeper's zone. Additionally, it may be advantageous to have multiple gatekeepers linking a particular gateway with a particular routing controller so that the gatekeepers may be used as alternates, allowing calls to continue to be placed to all available gateways in the event of failure of a single gatekeeper. Moreover, although the gatekeeping function may be logically separated from the gateway function, embodiments where the gatekeeping and gateway functions are combined onto a common physical host are also within the scope of the invention.
In a system embodying the present invention, as shown in
As indicated in
In alternative embodiments, the routing engine 305, Call Detail Record (CDR) engine 325, traffic database 330, traffic analysis engine 335, provisioning engine 340, or provisioning database 345 may be duplicated to provide redundancy. For instance, two CDR engines 325 may function in a master-slave relationship to manage the generation of billing data.
The routing engine 305 may include a communications layer 310 to facilitate an interface between the routing engine 305 and the gatekeepers 205/206. Upon receipt of a routing request from a gatekeeper, the routing engine 305 may determine the best routes for VoIP traffic based upon one or more predetermined attributes such as the selected carrier service provider, time of day, a desired Quality of Service (QoS), cost, or other factors. The routing information generated by the routing engine 305 could include a destination gateway address, and/or a preferred Internet Service Provider to use to place the call traffic into the Internet. Moreover, in determining the best route, the rule engine 315 may apply one or more exclusionary rules to candidate routes, based upon known bad routes, provisioning data from provisioning database 345, or other data.
The routing engine 305 may receive more than one request to route a single call. For example, when a first routing attempt was declined by the terminating gateway, or otherwise failed to result in a connection, or where a previous routing attempt resulted in a disconnect other than a hang-up by the originator or recipient, then the routing engine may receive a second request to route the same call. To provide redundancy, the routing engine 305 may generate alternative routes to a particular far-end destination. In a preferred embodiment of the invention, when the routing engine receives a routing request, the routing engine will return both preferred routing information, and alternative routing information. In this instance, information for at least one next-best route will be immediately available in the event of failure of the preferred route. In an alternative embodiment, routing engine 305 may determine a next-best route only after the preferred route has failed. An advantage of the latter approach is that routing engine 305 may be able to better determine the next best route with the benefit of information concerning the most recent failure of the preferred route.
To facilitate alternative routing, and for other reasons, the routing engine 305 may maintain the state of each VoIP call in a call state library 320. For example, routing engine 305 may store the state of a call as “set up,” “connected,” “disconnected,” or some other state.
Routing engine 305 may further format information about a VoIP call such as the originator, recipient, date, time, duration, incoming trunk group, outgoing trunk group, call states, or other information, into a Call Detail Record (CDR). Including the incoming and outgoing trunk group information in a CDR may be advantageous for billing purposes over merely including IP addresses, since TP addresses may change or be hidden, making it difficult to identify owners of far-end network resources. Routing engine 305 may store CDR's in a call state library 320, and may send CDR's to the CDR engine 325 in real time, at the termination of a call, or at other times.
The CDR engine 325 may store CDR's to a traffic database 330. To facilitate storage, the CDR engine 325 may format CDR's as flat files, although other formats may also be used. The CDR's stored in the traffic database 330 may be used to generate bills for network services. The CDR engine 325 may also send CDR's to the traffic analysis engine 335.
Data necessary for the billing of network services may also be stored in a Remote Authentication Dial-In User Service (RADIUS) server 370. The RADIUS server 370 may also directly communicate with a gateway 125 to receive and store data such as incoming trunk group, call duration, and IP addresses of near-end and far-end destinations. The CDR adapter 375 may read data from both the traffic database 330 and the RADIUS server 370 to create a final CDR. The merged data supports customer billing, advantageously including information which may not be available from RADIUS server 370 alone, or the traffic database 330 alone.
The traffic analysis engine 335 may collect CDR's, and may automatically perform traffic analysis in real time, near real time, or after a predetermined delay. In addition, traffic analysis engine 335 may be used to perform post-traffic analysis upon user inquiry. Automatic or user-prompted analysis may be performed with reference to a predetermined time period, a specified outgoing trunk group, calls that exceed a specified duration, or according to any other variable(s) included in the CDR's.
The provisioning engine 340 may perform tasks necessary to route particular calls over the Internet. For example, the provisioning engine 340 may establish or modify client account information, authorize a long distance call, verify credit, assign phone numbers where the destination resides on a PSTN network, identify available carrier trunk groups, generate routing tables, or perform other tasks. In one embodiment of the invention, provisioning may be performed automatically. In another embodiment, provisioning may be performed with user input. Hybrid provisioning, that is, a combination of automated and manual provisioning, may also be performed. The provisioning engine 340 may further cause provisioning data to be stored in a provisioning database 345.
Client workstations 350 and 360 may be coupled to routing controller 200 to provide a user interface. As depicted in
In a system embodying the invention, as shown in
The gatekeeper 205, in turn may consult the routing controller 200 to determine the most appropriate destination gateway. In some situations, the gatekeeper may already have the relevant routing information. In any event, the gatekeeper would forward the routing information to the originating gateway 125/126, and the originating gateway would then send the appropriate packets to the appropriate destination gateway. As mentioned previously, the routing information provided by the gatekeeper may include just a preferred destination gateway, or it may include both the preferred destination gateway information, and information on one or more next-best destination gateways. The routing information may also include a preferred route or path onto the Internet, and one or more next-best route. The routing information may further include information about a preferred Internet Service Provider.
If, on the other hand, if it is determined in step 405 that provisioning data is available, then the process continues to step 420 for generating a route. In a preferred embodiment of the invention, step 420 may result in the generation of information for both a preferred route, and one or more alternative routes. The alternative routes may further be ranked from best to worst.
The routing information for a call could be simply information identifying the destination gateway to which a call should be routed. In other instances, the routing information could include information to identify the best Internet Service Provider to use to place the call traffic onto the Internet. In addition, the routing controller may know that attempting to send data packets directly from the originating gateway to the destination gateway is likely to result in a failed call, or poor call quality due to existing conditions on the Internet. In these instances, the routing information may include information that allows the data packets to first be routed from the originating gateway to one or more interim gateways, and then from the interim gateways to the ultimate destination gateway. The interim gateways would simply receive the data packets, and immediately forward the data packets on to the ultimate destination gateway.
Step 420 may also include updating the call state library, for example with a call state of “set up” once the route has been generated. Next, a CDR may be generated in step 425. Once a CDR is available, the CDR may be stored in step 430 and sent to the traffic analysis engine in step 435. In one embodiment, steps 430 and 435 may be performed in parallel, as shown in
The process of
The process of
The process depicted in
Upon receipt of the routing request, the routing engine may store a set-up state in call state library. The routing engine may then determine a best route based upon one or more predetermined attributes such as the selected carrier service provider, a desired Quality of Service (QoS), cost, or other factors. The routing engine may then send information pertaining to the best route to the originating gateway, possibly via a gatekeeper, as a first ARQ response message. The gateway would then initiate a first call to a destination gateway using the information contained within the response message. As shown in
When the originating gateway receives a decline message, the gateway may send a second request for routing information, in the form of a second ARQ message, to routing engine. Routing engine may recognize the call as being in a set up state, and may determine a next best route for completion of the call. Routing engine may then send a second ARQ response message to the originating gateway. The originating gateway may then send a second call message to the same or a newly selected destination gateway using the next best route. In response to the second call message, the destination gateway may return a connect message to the originating gateway.
The routing engine may use a conference ID feature of the H.323 protocol, which is unique to every call, in order to keep track of successive routing attempts. Thus, upon receiving a first ARQ for a particular call, routing engine may respond with a best route; upon receiving a second ARQ associated with the same call, routing engine may respond with the second best route. If the second call over the next best route does not result in a connection, the originating gateway may send a third ARQ message to routing engine, and so on, until an ARQ response message from routing engine enables a call to be established between the originating gateway and a destination gateway capable of completing the call to the called party.
In alternative embodiments of the invention, the initial ARQ response from the routing engine to the originating gateway may include information about the best route, and one or more next-best routes. In this instance, when a call is declined by one terminating gateway, the originating gateway can simply attempt to route the call using the next-best route without the need to send additional queries to the routing engine.
Once the originating gateway receives a connect message from a destination gateway, the originating gateway may send an Information Request Response (IRR) message to the routing engine to indicate the connect. In response, the routing engine may store a connected state message to the call state library.
After a call is connected, a call may become disconnected. A disconnect may occur because a party has hung up, because of a failure of a network resource, or for other reasons. In this instance, destination gateway may send a disconnect message to the originating gateway. In response, originating gateway may send a Disengage Request (DRQ) message to the routing engine. The routing engine may then update the call state by storing a disconnected state status in the call state library.
Advantageously, CDR data from the traffic database or the routing controller, or other routing system, may provide outbound trunk group and termination trunk group information used for billing which may not be available from the gateway records read in step 705. The process would then create a final CDR for individual calls in step 715, and customer billing may be generated by a billing utility (not shown in the Figures) in step 720. The process of generating a final CDR may utilize pieces of information gathered from the multiple different sources. Also, when the same type of information for a call is recorded in two places, there may be rules for determining which source to use, or the information may be merged through some sort of averaging process and calculation process to arrive at a final value.
The final CDR for a call could include information identifying call status information, the start date and time, the inbound trunk group, the inbound original DNIS, the inbound translated DNIS, the outbound trunk group, the outbound translated DNIS, the inbound original ANI, the inbound translated ANI, the outbound translated ANI, the duration of the call, the number of re-routings necessary to set the call up, a disconnect cause code number, gateway IP addresses, and a re-route ID number.
Where there are multiple destination carriers capable of completing the call, the selection of a particular destination carrier may be based on one or more considerations including the cost of completing the call through the destination carriers, the quality of service offered by the destination carriers, or other considerations. The destination carrier may be selected according to other business rules including, for example, an agreed upon volume or percentage of traffic to be completed through a carrier in a geographic region. For instance, there may be an agreement between the system operator and the destination carrier that calls for the system operator to make minimum daily/monthly/yearly payments to a destination carrier in exchange for the destination carrier providing a predetermined number of minutes of service. In those circumstances, the system operator would want to make sure that the destination carrier is used to place calls for at least the predetermined number of minutes each day/month/year before routing calls to other destination carriers to ensure that the system operator derives the maximum amount of service from the destination carrier in exchange for the minimum guaranteed payment. Business rules taking onto account these and other similar types of considerations could then be used to determine which destination carrier to use.
Once the destination carrier has been selected, the method would include identifying an IP address of a destination gateway connected to the destination carrier and capable of passing the call on to the destination carrier. The destination gateway could be operated by the system operator, or by the destination carrier, or by a third party. Typically, a table would be consulted to determine which destination gateways correspond to which destination carriers and geographic locations.
Often there may be multiple destination gateways capable of completing a call to a particular destination carrier. In this situation, the step of determining the IP address could include determining multiple destination IP addresses, each of which correspond to destination gateways capable of completing the call to the destination carrier. Also, the IP address information may be ranked in a particular order in recognition that some destination gateways may offer more consistent or superior IP quality. Also, if two or more destination gateways capable of completing a call to a destination carrier are operated by different parties, there may be cost considerations that are also used to tank the IP address information. Of course, combinations of these and other considerations could also be used to select particular destination gateways, and to thus determine the IP address(s) to which data packets should be sent.
In some embodiments of the invention, determining the IP address(s) of the terminating gateway(s) may be the end of the process. This would mean that the system operator does not care which Internet Service Provider (IsP) or which route is used to place data traffic onto the Internet. In other instances, the method would include an additional step, step 806, in which the route onto the Internet and/or the ISP would then be selected. The selection of a particular ISP may be based on a quality of service history, the cost of carrying the data, or various other considerations. The quality of service history may take into account packet loss, latency and other IP based considerations. Also, one ISP may be judged superior at certain times of the day/week, while another ISP may be better at other times. As will be described in more detail below, the system has means for determining the quality of service that exists for various routes onto the Internet. This information would be consulted to determine which route/ISP should be used to place call data onto the Internet. Further, as mentioned above, in some instances, the routing information may specify that the call data be sent from the originating gateway to an interim gateway, and then from the interim gateway to the destination gateway. This could occur, for example, when the system knows that data packets placed onto the Internet at the originating gateway and addressed directly to the destination gateway are likely to experience unacceptable delays or packet loss.
In some instances, the quality of service can be the overriding consideration. In other instances, the cost may be the primary consideration. These factors could vary client to client, and call to call for the same client.
For example, the system may be capable of differentiating between customers requiring different call quality levels. Similarly, even for calls from a single customer, the system may be capable of differentiating between some calls that require high call quality, such as facsimile transmissions, and other calls that do not require a high call quality, such as normal voice communications. The needs and desires of customers could be determined by noting where the call originates, or by other means. When the system determines that high call quality is required, the system may eliminate some destination carriers, destination gateways, and ISPs/routes from consideration because they do not provide a sufficiently high call quality. Thus, the system may make routing decisions based on different minimum thresholds that reflect different customer needs.
The method would then proceed to step 906, where the cost required to complete the call would be determined. The determination in step 906 may be based, at least in part, on a destination, a time of day, and a predetermined quality of service for the traffic. Also, if there are multiple ways to complete the call, this step could involve determining multiple different completion costs, each of which may depend on the destination carrier used, the destination gateways used and the ISP that is used. Until a call setup is attempted, the system may not know what the actual cost to complete the call will be. One of skill in the art will appreciate that steps 904 and 906 could be performed in any order, or simultaneously.
In step 908, the system would then calculate a margin for completing the call, or a difference between the offered price and the cost to compete the call. If the cost of completing the call is greater than the price offered, the margin will be a negative number.
In step 909 the method determines whether the margin is greater than a minimum threshold. The threshold may reflect a minimum amount of money that must be made on the call to justify completing the call. The threshold may, in fact, be zero. If the margin is greater than the threshold, the method proceeds to step 911, and the call is accepted and completed. In some embodiments of the invention, this will be the end of the process, and if the result of the comparison in step 909 indicates that the margin is below the threshold, the call will be declined.
In other embodiments of the invention, if the result of the comparison in step 909 indicates that the margin is below the threshold, the method will include an additional decision step. In these embodiments, in step 910, the system will determine whether there is some other reason for accepting the call. Other reasons could include business considerations that devolve from contracts the service provider has with other carriers. For instance, if the system operator has agreed to provide a certain minimum amount of traffic to a destination service provider, the system may decide to accept and complete a call, even when it is not profitable to do so, so that the minimum traffic obligations can be satisfied. Other similar considerations may also come into play.
If the result of the decision in step 910 is that the call should be accepted for other reasons, the method proceeds to step 911, and the call is accepted and completed. If the result of the decision in step 910 is to decline the call, the method ends at step 912.
As explained above, when a routing controller receives a routing request, the routing controller returns routing information to an originating gateway which tells the originating gateway which destination gateway should receive the data packets that comprise a telephone call. As also explained above, the cost of sending a call through a particular destination service provider and/or to a particular destination gateway are factors in deciding how the call should be routed. The estimated IP quality for the route is also a factor used in deciding how to route the call. Methods embodying the invention for determining or estimating the IP quality of various routes will now be described.
The gateways illustrated in
Some conclusions logically flow from the architecture illustrated in
The decision about how to get data traffic from one gateway to another depends, in part, on the quality of service that exists between the gateways. The methods embodying the invention that are described below explain how one can measure the quality of service between gateways, and then how the quality measurements can be used to make routing decisions.
As is well known in the art, a first gateway can “ping” a second gateway. A “ping” is a packet or stream of packets sent to a specified IP address in expectation of a reply. A ping is normally used to measure network performance between the first gateway and the second gateway. For example, pinging may indicate reliability in terms of a number of packets which have been dropped, duplicated, or re-ordered in response to a pinging sequence. In addition, a round trip time or average round trip time can provide a measure of system latency.
In some embodiments of the invention, the quality of service measurements may be based on an analysis of the round trip of a ping. In other embodiments, a stream of data packets sent from a first gateway to a second gateway could simply be analyzed at the second gateway. For instance, numbered and time-stamped data packets could be sent to the second gateway, and the second gateway could determine system latency and whether packets were dropped or reordered during transit. This information could then be forwarded to the routing controller so that the information about traffic conditions between the first and second gateways is made available to the first gateway.
A system as illustrated in
In methods embodying the invention, each gateway capable of directly accessing another gateway via the Internet will periodically ping each of the other gateways. The information collected from the pings is then gathered and analyzed to determine one or more quality of service ratings for the connection between each of the gateways. The quality of service ratings can then be organized into tables, and the tables can be used to predict whether a particular call path is likely to provide a given minimum quality of service.
A quality of service measure would typically be calculated using the raw data acquired through the pinging process. As is well known to those of skill in the art, there are many different types of data that can be derived from the pinging itself, and there is an almost infinite variety of ways to combine this data to calculate different quality of service measures.
Although only a single value is shown in the matrix illustrated in
The pinging, data collection and calculation of the values shown in the matrix could be done in many different ways. Two alternative methods are illustrated in
In the method shown in
It is necessary to insert a delay into the method to avoid excessive pinging from occurring. The traffic generated by the pinging process takes up bandwidth that could otherwise be used to carry actual data traffic. Thus, it is necessary to strike a balance between conducting the pinging often enough to obtain accurate information and freeing up the system for actual data traffic.
The alternate method shown in
If the result of step 1209 indicates that it is time to recalculate the quality metrics, the method proceeds to step 1211, where the calculations are performed. The calculated quality metrics are then stored in the matrix in step 1213, and the method returns to step 1208. In this method, the matrix is not updated as frequently, and there is not as high a demand for performing the calculations. This can conserve valuable computer resources. In addition, with a method as illustrated in
In either of the methods described above, the data used to calculate the quality metrics could include only the data recorded since the last calculations, or additional data recorded before the last set of quality metrics were calculated. For instance, pinging could occur every five minutes, and the quality metrics could be calculated every five minutes, but each set of calculations could use data recorded over the last hour.
In step 1302, a routing request would be received. In step 1304, the system would obtain a first potential route. This step could involve all of the considerations discussed above relating to the selection of a destination carrier and/or destination gateway and/or an ISP or route between the originating gateway and the destination gateway.
Once the first potential route is determined, in step 1306 the system would look up the quality metrics associated with communications between the originating and destination gateways. This would involve consulting the quality matrix discussed above. One or more quality values in the matrix relating to the first proposed route would be compared to a threshold value in step 1308. If the quality for the first route satisfies the threshold, the method would proceed to step 1310, and the route would be provided to the requesting gateway as a potential route for completion of a call.
If the result of comparison step 1308 indicates that the quality of service metrics for the first route do not satisfy the threshold, then in step 1312 the system would determine if this is the last available route for completing the call. If so, the method would proceed to step 1314, where the best of the available routes would be determined by comparing the quality metrics for each of the routes considered thus far. Then the method would proceed to step 1310, where the best available route would be provided to the requesting gateway.
If the result of step 1312 indicates that there are alternative routes available, the method would proceed to step 1316, where the quality metrics for the next available route would be compared to the threshold value. The method would then proceed to step 1308 to determine if the threshold is satisfied.
A method like the one illustrated in
As also explained above, in providing a route to a gateway, the routing controller may specify either a direct route between the gateways, or a route that uses an interim gateway to relay data packets between an originating and destination gateway. Thus, the step of identifying a potential route in step 1304 could include identifying both direct routes, and indirect routes that pass through one or more interim gateways. When interim gateways are used, the quality metrics for the path between the originating gateway and the interim gateway and the path between the interim gateway and the destination gateway would all have to be considered and somehow combined in the comparison step.
In a system embodying the invention, as shown in
Each of the individual gateways can place data traffic onto the Internet using one or more routes or access points. In the system illustrated in
In prior art systems, when the front end switch 450 receives a call request for a call intended for the destination telephone 145 from either the PSTN 115 or the long distance carrier 117, the front end switch would forward the call to one of the gateways so that the call setup procedures could be carried out. For purposes of explanation, assume that the call request is forwarded to Gateway 1462. The gateway would then make a routing request to the routing controller for information about the address of the destination gateway, and the most preferable route to use to get the data onto the Internet. Again, for purposes of explanation, assume that the routing controller responds with the appropriate address of the destination gateway 464, and with the information that the best routes, in preferred order, are routes C, then A, and then E.
With this information, gateway 1462 would first try to set the call up to go to the destination gateway 464 via route C. Assume that for whatever reason, route C fails. Gateway 1 would then consult the routing information again and determine that the next best route is route A. Thus, gateway 1 would forward the call on to gateway 2460, which is capable of using route A.
When gateway 2460 receives the call request, it too will consult the routing controller for routing information. The same information will be returned to gateway 2460, indicating that the preferred routes are C, then A, then E. With this information, gateway 2460 believes that route C is the best route, so gateway 2460 would bounce the call request back to gateway 1462, so that the call could be sent through route C. Gateway 1 would receive back the same call request it just forwarded on to gateway 2. Depending on the intelligence of gateway 1, gateway 1 might immediately send a message to gateway 2 indicating that route C has already been attempted and that this route failed. Alternatively, gateway 1 might again try to send the call via route C. Again the route would fail. Either way, the call request would ultimately be bounced back to gateway 2 with an indication that the call could not be sent through route C.
When gateway 2 gets the call request back from gateway 1, it would then consult its routing information and determine that the next route to try is route A. If route A is operable, the call could then be setup between gateway 2 and the destination gateway 464 via route A. Although this process eventually results in a successful call setup, there is unnecessary call signaling back and forth between gateway 1 and gateway 2.
Moreover, if gateway 2 is unable to set up the call through route A, gateway 2 would again consult the routing information it received earlier, and gateway 2 would send the call to gateway 3463 so that the call can be placed onto the Internet using route E. When gateway 3 receives the call request from gateway 2, it too would consult the routing controller and learn that the preferred routes are route C, then route A, then route E. With this information, gateway 3 would forward the call request back to gateway 1 with instructions to place the call through route C, which would fail again. Gateway I would then forward the call back to gateway 3. Gateway 3 would then try to complete that call using gateway 2 and route A. This too would fail. Finally, gateway 3 would send the call out using route E.
Because each of the gateways are using the same touting information, when one or more routes fail, there can be a large amount of unnecessary looping and message traffic between the gateways as the a call request is passed back and forth between the gateways until the call is finally placed through an operative route. In preferred embodiments of the invention, special routing procedures are followed to reduce or eliminate unnecessary looping.
In a first embodiment, each of the gateways will know which routes are associated with each gateway. Alternatively, this information may be provided by the routing controller as needed. This means that gateway 2 would know that gateway 1 uses routes C and D, and that gateway 3 uses routes E and F. The gateways can then use this information to reduce or eliminate unnecessary looping.
For instance, using the same example as described above, when a call request comes in to place a call to destination telephone 145, gateway 1 would first try to send the call via route C. When that route fails, gateway 1 would send the call request to gateway 2 so that gateway 2 could send the call via route A. In the prior art system, gateway 2 would have bounced the call request back to gateway 1 because gateway 2 would believe that route C is the best way to route that call. But in a system embodying the invention, gateway 2 would know that gateway 1 uses route C. With this knowledge, and knowing that the call request came from gateway 1, gateway 2 would conclude that gateway 1 must have already tried to use route C, and that route C must have failed. Thus, rather than bouncing the call request back to gateway 1, gateway 2 would simply try the next best route, which would be route A. Similar logic can be used at each of the other gateways to eliminate unnecessary looping.
In another preferred embodiment, special addressing information can be included in the messages passing back and forth between the gateways. For instance, and again with reference to the same example described above, assume that gateway 1 first gets a call request to complete a call to destination telephone 145. Gateway. 1 would try to send the call via route C, and route C would fail. At this point, gateway 1 would know that the next best route is route A. In this embodiment, before sending the call request on to gateway 2, gateway 1 could encode a special addressing message into the call request. The special addressing message would inform gateway 2 that the call request should be sent via a specific route. In the example, gateway 1 would include addressing codes that indicate that the call request should be sent via route A, since that is the next best route.
When gateway 2 receives the call request, it would read the special routing information and immediately know that the call should be sent via route A. If route A is operable, the call will immediately be sent out using route A. If route A is not available, gateway 2 would consult the routing controller and determine that the next route to try is route E. Gateway 2 would then send the call request on to gateway 3 with special addressing information that tells gateway 3 to immediately try to place the call using route E. In this manner, unnecessary looping can be eliminated.
The foregoing embodiments and advantages are merely exemplary and are not to be construed as limiting the present invention. The present teaching can be readily applied to other types of apparatuses. The description of the present invention is intended to be illustrative, and not to limit the scope of the claims. Many alternatives, modifications, and variations will be apparent to those skilled in the art. In the claims, means-plus-function clauses are intended to cover the structures described herein as performing the recited function and not only structural equivalents but also equivalent structures.
This application is a divisional application of U.S. Utility application Ser. No. 10/298,208, filed Nov. 18, 2002, which has now issued as U.S. Pat. No. 7,529,225. This application also claims priority to U.S. Provisional Patent Application Ser. No. 60/331,479, filed Nov. 16, 2001, and U.S. Utility application Ser. No. 10/094,671, filed Mar. 7, 2002, now U.S. Pat. No. 7,391,731, issued Jun. 24, 2008, the disclosure of all of which are hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
5970064 | Clark et al. | Oct 1999 | A |
6269157 | Coyle | Jul 2001 | B1 |
6292481 | Voit et al. | Sep 2001 | B1 |
6373929 | Johnson et al. | Apr 2002 | B1 |
6473499 | Ng et al. | Oct 2002 | B1 |
6480588 | Donovan | Nov 2002 | B1 |
6480898 | Scott et al. | Nov 2002 | B1 |
6556565 | Ward et al. | Apr 2003 | B1 |
6775267 | Kung et al. | Aug 2004 | B1 |
7529225 | Joseph | May 2009 | B2 |
20010001000 | Thomas et al. | May 2001 | A1 |
20010050911 | Eastman | Dec 2001 | A1 |
20020101860 | Thornton et al. | Aug 2002 | A1 |
20020101967 | Eng et al. | Aug 2002 | A1 |
20020110112 | Tuomi | Aug 2002 | A1 |
20040047345 | Joseph et al. | Mar 2004 | A1 |
20040174880 | White et al. | Sep 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20090238175 A1 | Sep 2009 | US |
Number | Date | Country | |
---|---|---|---|
60331479 | Nov 2001 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10298208 | Nov 2002 | US |
Child | 12434854 | US |