Patent ID: 7948985

Claim:
A method for source-aware IP routing between media gateways connected by multiple routes, the method comprising: receiving a packet at a media gateway having a source-aware routing table, wherein the packet includes a source IP address and a destination IP address and wherein the source-aware routing table includes source IP address information, destination IP address information, and routing information; locating at least one entry, in the source-aware routing table, corresponding to at least a portion of the destination IP address and at least a portion of the source IP address; determining whether the at least one entry corresponding to the portion of the destination IP address and to the portion of the source IP address includes two or more entries; in response to determining that the at least one entry includes two or more entries, selecting one of the two or more entries based on a user-configurable value associated with the each of the two or more entries; and routing the packet based on the routing information included in the selected entry.