Patent ID: 8325741

Claim:
A method for implementing Network Address Translation, NAT, traversal, comprising: obtaining, by a first Media Gateway, MGW, information about a local candidate and a candidate of a Interactive Connectivity Establishment, ICE, mechanism supporting device of a peer end, and sending the information about the local candidate to the ICE mechanism supporting device of the peer end; performing connectivity check with the ICE mechanism supporting device of the peer end according to the candidate information; and transmitting media streams with the ICE mechanism supporting device according to a result of the connectivity check; wherein in transmitting the media streams, the method further comprises: receiving, by the first MGW, a message of setting a keep-alive packet type and/or a keep-alive packet sending period sent by a first Media Gateway Controller, MGC, through an extended H.248 protocol, and sending a keep-alive packet to the ICE mechanism supporting device according to the received keep-alive packet type and/or the keep-alive packet sending period; or receiving, by the first MGW, an indication of sending the keep-alive packet, wherein the indication is sent by the first MGC through the extended H.248 protocol; and sending the keep-alive packet to the ICE mechanism supporting device according to the indication of sending the keep-alive packet; or answering, by the first MGW, the keep-alive packet sent by the ICE mechanism supporting device.