Smart FoIP

Smart FoIP

Products with Smart FoIP®

The NetGen product-line includes the Smart ATA® and the MX8A Gateway, offering Smart FoIP, the patented technology that solves the two main causes of failed Fax over IP (FoIP) transmissions: Late T.38 re-Invite and G.711 synchronization. Both the Smart ATA and the MX8A offer enhanced, full-function voice and fax capabilities that provide near-PSTN success rates over IP. These products eliminate the need for POTS lines and complete a comprehensive IP solution, reducing costs and improving productivity for service providers and end-users.

The Problem

Through rigorous testing, NetGen has learned the effect on call set-up performance of how an ATA, a gateway, or a fax server handles late-arriving T.38 re-invites for Fax over IP (FoIP). Signaling delays within a carrier network can cause an ATA/gateway to effectively kill a fax session by blindly accepting a T.38 re-invite received from its off-ramp peer in a non-V.34 session. In lay-person’s terms, “the two ends are not speaking on the same terms, and one hangs up”.

Problem Solved

To solve this problem, NetGen developed Smart FoIP® (Smart FoIP), NetGen’s licensed software that includes patent-approved technology that puts intelligence into the decision to accept a T.38 re-invite, thereby eliminating too-late re-Invites as a cause of failed sessions, boosting transaction success rates to near-PSTN levels.

FoIP and T.38 Background

Not all T.38 (the ITU protocol for real-time faxes in IP networks since 1998) implementations exhibit the same performance in the field, even if they conform to the T.38 recommendation. You could easily have a widely interoperable T.38 with an intolerably low transaction-success rate. It is difficult to verify interoperability, and it’s even more difficult to determine performance. And to make matters worse, the parameters of T.38 performance aren’t even widely known.

Beyond interoperability, much of what we call T.38 performance is inherent in its implementation, not the specification. It’s safe to say that the best T.38 designs were developed by an engineer that has successfully fielded T.30, the protocol of terminating fax. This is because T.38 does not give any guidance on how to improve delay tolerance, for example, but, as we know, it is improved through so-called spoofing techniques implemented by skilled T.38-relay developers who thoroughly understand T.30. Better relays can handle up to five seconds of round-trip delay in the IP path.

Smart ATA attaches a V.21 modem (along with other analysis algorithms) to the media streams at the beginning of a fax call. Smart ATA analyzes the decoded V.21 data to track the T.30 states of the calling and called terminals. The called terminal will repeatedly send its initial message (DIS) until Smart ATA sends its response. Once Smart ATA receives a complete DIS, it sends its response (DCS) within 75 milliseconds. Therefore, once this calling-terminal response (DCS) is received by the called terminal, uninterruptable G.711-based modem operations have begun, and the gateways can no longer switch the session to T.38 without possible corruption of the T.30 states being maintained in the endpoint terminals.

With Smart FoIP, once Smart ATA detects the preamble to the calling fax terminal’s response, it will no longer accept the T.38 re-invite, continuing the transaction in G.711 mode and avoiding the session failures caused by the transition occurring during a modem session.

G.711 Pass-Through Fax

Of course, refusing a T.38 re-invite means continuing the session in what is called “G.711 pass-through mode.” But, you may have wondered, doesn’t Smart FoIP mean more G.711 pass-through faxes? And don’t they inevitably fail? That’s a good question because the answer is yes, G.711 fax sessions do often fail unless the session includes a fax relay with Smart FoIP’s proprietary buffer-management technology.

Carriers have done a great job of virtually eliminating dropped packets, but PCM clock-synchronization problems remain. The problem results from jitter buffer under-run and over-run caused by the PCM clocks at opposite ends of the link (the endpoint terminals) not being equal, which is always the case. The question, of course, is how unequal are they and how long is the fax? The more unequal they are, the quicker the session fails. Long-enough G.711 pass-through faxes and even long T.38 sessions can fail if the jitter buffers are not effectively handled. Smart ATA includes buffer-management technology that eliminates PCM-clock-synchronization problems in G.711 pass-through and T.38 fax sessions.

In relay-to-relay T.38 operations, there are two analog PCM sample clocks: one at the remote transmitting fax and the other at the local re-modulating modem. These two clocks always have a different rate. Bits generated at the transmitting endpoint fax terminal must be re-transmitted by the off-ramp gateway’s local modem. If the remote fax is generating bits faster than the off-ramp gateway’s local modem can send them out to the fax terminal, off-ramp overflow eventually occurs. In the reverse case (off-ramp faster than transmitting fax terminal), the on-ramp modem will run dry since the off-ramp gateway is sending the bits out faster than it receives them, and T.38 relay will have to spoof some bits to keep the transmitter running (provided you have a well designed relay, of course). Underflow is not as much of a problem, since the relay can insert additional flags in V.21 data or padding bits at the end of a line of image data (Does your relay do that?). But overflow is a problem as valid data must be tossed (and modems just hate that).