Patent attributes
A routing method. When implemented in a network system, the routing method ameliorates problems of media stream routing through a network address translation (NAT) device. First, whether a first terminal will correspond to different public address-and-port information for receiving media stream packets from a second terminal opposite to the first terminal after receiving different requests is determined. The first and second terminals comprise a caller and a callee which are capable of communicating in SIP protocol. The public address-and-port information is recorded as source information in media stream packets initiated by the requests. Media stream packets from the first terminal are relayed based on the determination.