Patent ID: 7307984

Claim:
A method for rapidly dispatching H.323 packets, implemented in a network address and port translation (NAPT) with a first network address, comprising: an H.225 message packet receiving step, which uses the NAPT to receive an H.225 connect message packet sent by a second termination, the H.225 connect message packet including a data content having a first connection port number for an H.245 connection; a connection port number changing step, which uses the NAPT to select a second connection port number to replace the first connection port number of the H.225 connect message packet and thus generate a changed message packet for a first termination; an H.245 connection packet receiving step, which uses the NAPT to receive an H.245 connection packet sent by the first termination, the H.245 connection packet including a source content having both a third connection port number and a second network address and a destination content having both the second connection port number and a third network address; a connection port number changing step, which uses the NAPT to change the third connection port number by means of the second connection port number for generating a changed H.245 connection packet, record the second and third connection port numbers for producing an index relation, and send the changed H.245 connection packet to the second termination; an H.245 connection responding step, which uses the second termination to send a response packet to the second connection port number of the NAPT in accordance with the changed H.245 connection packet, the response packet including a source content having both the third network address and the first connection port number; a packet translation forwarding step, which uses the NAPT to forward the response packet to the first termination based on the index relation and translate firstly the first connection port number in the source content of the response packet into the second connection port number, then the first network address and the first connection port number into the first termination's second network address and the third connection port number and finally the response packet into the third connection port number of the first termination; and a connection message exchanging step, which exchanges packets between the first termination and the second termination through the NAPT and the second connection port number.