Patent ID: 7639384

Claim:
A gateway for a fax over Internet protocol (FoIP), the gateway comprising: a first protocol process unit transmitting and receiving an H.323 call setup data; a second protocol process unit generating status information on a fax data based on analysis of a predetermined quality of service (QoS) monitoring data of the fax data transmitted and received between gateways by using a real-time transport protocol; a third protocol process unit receiving the status information for analyzing the status of a network and selecting a method for controlling errors, and the third protocol process unit further performs conversion between data transmitted via the public switched telephone network (PSTN) and data transmitted via the packet switching network; and a connection unit receiving an upper protocol data and said converted data and sending the upper protocol data and the converted data to the PSTN or the packet switching network, and converting a predetermined protocol data for the FoIP including the H.323 call setup data into a data architecture appropriate to a packet switching network for transmitting the converted data to the packet switching network, wherein the transmission gateway adjusts a secondary message sequence length in real-time based on the analysis of the predetermined QoS.