Abstract:
Embodiments of the present invention relate to the communications field and disclose a method, a local gateway, and a system for local voice survivability, to implement local voice survivability without configuring a DNS proxy function on a local gateway or configuring a server on a user terminal. A specific solution is: detecting, according to a preset detection period, an activity state of a server recorded in a server monitoring list, where the server monitoring list records a voice server on an Internet protocol IP multimedia subsystem IMS network in advance; intercepting, when it is detected that all servers in the server monitoring list are in an unavailable state, a service data stream sent by a user terminal to the server; and providing a corresponding service response for the user terminal according to content of the intercepted service data stream. The present invention applies to a process of voice survivability.
Abstract:
A first network device of a plurality of network devices is provided. The first network device is configured to receive a first data packet from a second site; search a flow table stored in the first network device for a target flow entry whose flow identifier is of a first data flow, each entry comprises a flow identifier and a corresponding outbound interface identifier, the target flow entry is created when the first site sends a second data flow to the second site, a source address of the second data flow is a destination address of the first data flow, and a destination address of the second data flow is a source address of the first data flow; and if the target flow entry is found, send the first data packet through an interface corresponding to an outbound interface identifier in the target flow entry.