Patent ID: 7133934

Claim:
A gateway device capable of being communicably coupled to a first client device over a communication line and to a second gateway device over a packet network, said first gateway device comprising: a controller configured to receive a signal from said first client device; and a signal processor coupled to said controller, said signal processor configured to encode said signal; wherein said controller is further configured to determine a mode of operation of said first client device from said signal, wherein modes of operation of said first client device include a data modem mode and a facsimile mode, wherein each mode of operation includes a plurality of phases of operation; wherein said controller is further configured to determine a current phase of operation from said plurality of phases of operation, while in said determined mode of operation of said first client device, based on analyzing a characteristic of said signal; wherein said signal processor is further configured to adaptively select a level of error correction from a plurality of levels of error correction used by said signal processor to encode said signal based on said current phase of operation of said first client device while in said determined mode of operation.