This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Regrding CNG and CED tone detection in FAX Library (FAXLIB) for C64x+ provided by ti

Hai,

Iam trying to implement t.38 (fax over ip) in my project using FAXLIB provided by ti.I want to detect CNG ,CED tones and V.21 Preamble and send it to my server.Can any one tell how this faxlibrary is detecting these tones?

  • Madhuri,

    This is a fairly old library that was create for our older C64x+ DSP architecture that we currently don`t have expertise on. Let me check the documentation and try contact some the developers who may have previously supported the offering and get back to you on the questions.

    I will get back to you by the end of the week. 

    Regards,

    Rahul

  • Thank you Rahul.Please try as soon as possible.

    Regards,

    Madhuri

  • Iam trying to implement t.38 in TMS320C6486 DSP .I want to detect ced tone which we recieve from terminating fax.Please suggest which algorithm i need to implement to detect this tone?

  • Hi,

    The FAXLIB has two main modules, FM and FIU. 

    The Facsimile Modem Unit (FM) is a software module that performs all the modulation and demodulation functions required of a fax modem: demodulation of PCM data received at the analog interface, and modulation of facsimile protocol messages received from the FIU. The FM module has the following capabilities and features:

    • V.21 300 bps channel 2 (1750 Hz nominal frequency) binary signal modulation and demodulation
    • HDLC framing / deframing (0 bit insertion & removal, CRC generation & checking)
    • V.27ter (2400 / 4800 bps),
    • V.29 (7200 / 9600 bps),
    • V.17 (7200 / 9600 / 12000 / 14400 bps),
    • V.33 (12000 / 14400 bps) high-speed data modulation and demodulation
    • Control the generation of fax tones (i.e. CNG / CED) by an external tone generation utility through API's 

    I recall that FM module should be able to detect V21, CED and CNG. The package should have some PCM captures for a real fax call recorded. Then you ran the simulation, which reads the both signals and print out all the progress.

    Regards, Eric  

  • Attach an example print out when you run it.

    Regards, Eric

    input file ..//pcmIn1.pcm is opened!
    output file ..//pcmOut1.pcm is opened!
    0000(+0000ms)GW1:FIU~ FRP successful startup
    0000(+0000ms)GW1:FIU~ T.38 version 0
    0000(+0000ms)GW1:FIU~ FND successful startup: T.38 UDPTL network protocol
    0000(+0000ms)GW1:FIU~ FIU is opened: frame size = 10 ms
    0000(+0000ms)GW1:FIU~ FRP has been activated in state: startup
    input file ..//pcmIn2.pcm is opened!
    output file ..//pcmOut2.pcm is opened!
    0000(+0000ms)GW2:FIU~ FRP successful startup
    0000(+0000ms)GW2:FIU~ T.38 version 0
    0000(+0000ms)GW2:FIU~ FND successful startup: T.38 UDPTL network protocol
    0000(+0000ms)GW2:FIU~ FIU is opened: frame size = 10 ms
    0000(+0000ms)GW2:FIU~ FRP has been activated in state: startup
    Tone detect control is called.
    0000(+0000ms)GW1:FM ~ State transition: low speed rx
    0000(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    0000(+0000ms)GW1:FM ~ State transition: low speed rx
    Tone detect control is called.
    0000(+0000ms)GW2:FM ~ State transition: low speed rx
    0000(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    0000(+0000ms)GW2:FM ~ State transition: low speed rx
    0000(+0000ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    0000(+0000ms)GW2:FIU~ Sent T.38 packet to network: no signal ind
    0000(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    000A(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: no signal ind
    006E(+0100ms)GW1:FIU~ Sent T.38 packet to network: CNG ind
    006E(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: CNG ind
    006E(+0000ms)GW2:FIU~ Detected tone from remote: CNG
    006E(+0000ms)GW2:FIU~ Start of local tone generation: CNG
    1AEA(+6780ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1C8E(+0420ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_LOSS
    2896(+3080ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    2A3A(+0420ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_LOSS
    2BF2(+0440ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    3AB6(+3780ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_LOSS
    3B60(+0170ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    3BA6(+0070ms)GW2:FM ~ Carrier detected in state: low speed rx
    3BA6(+0000ms)GW2:FM ~ Preamble detected in state: low speed rx
    3BA6(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    3BA6(+0000ms)GW2:FIU~ FRP state change: local low-speed receive
    3BB0(+0010ms)GW2:FIU~ Sent T.38 packet to network: V.21 preamble ind
    3BBA(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: preamble ind
    3BBA(+0000ms)GW1:FIU~ FND T.38 decoder state change: transparent
    3BBA(+0000ms)GW1:FIU~ Received ignored network event in current FRP state: FND_FRP_PREAMBLE_NOTIF
    3CD2(+0280ms)GW1:FIU~ FRP state change: remote low-speed receive
    3CDC(+0010ms)GW1:FM ~ Beginning of the delay message processing: msgData = 4b
    3D2C(+0080ms)GW1:FM ~ State transition: low speed tx flag
    3D2C(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    3D2C(+0000ms)GW1:FM ~ State transition: low speed tx flag
    3D4A(+0030ms)GW1:FM ~ Beginning of the delay message processing: msgData = 352
    3F66(+0540ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    3F7A(+0020ms)GW1:FIU~ Received T.38 packet with new payload type from network: V.21 data
    3F7A(+0000ms)GW1:FIU~ FND T.38 decoder state change: low-speed data
    3F98(+0030ms)GW2:FIU~ FCF of current frame: NSF (0x4)
    4092(+0250ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    40BA(+0040ms)GW1:FM ~ Beginning of data RX or TX during transmission
    40BA(+0000ms)GW1:FM ~ State transition: low speed tx data
    40CE(+0020ms)GW1:FIU~ FCF of current frame: NSF (0x4)
    4114(+0070ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    4196(+0130ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    41AA(+0020ms)GW2:FIU~ Received the final frame of a low-speed transmission
    41C8(+0030ms)GW2:FIU~ FCF of current frame: DIS (0x1)
    4272(+0170ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    429A(+0040ms)GW1:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    429A(+0000ms)GW1:FM ~ State transition: low speed tx flag
    429A(+0000ms)GW2:FM ~ Carrier loss detected in state: low speed rx
    429A(+0000ms)GW2:FIU~ FRP state change: idle
    42A4(+0010ms)GW2:FM ~ State transition: low speed rx
    42A4(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    42A4(+0000ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    42AE(+0010ms)GW1:FIU~ FND T.38 decoder state change: transparent
    42AE(+0000ms)GW2:FIU~ Sent T.38 packet to network: no signal ind
    42B8(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: no signal ind
    42C2(+0010ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    42E0(+0030ms)GW1:FIU~ Received the final frame of a low-speed transmission
    42EA(+0010ms)GW1:FM ~ Beginning of data RX or TX during transmission
    42EA(+0000ms)GW1:FM ~ State transition: low speed tx data
    42FE(+0020ms)GW1:FIU~ FCF of current frame: DIS (0x1)
    4394(+0150ms)GW1:FIU~ FRP state change: idle
    43EE(+0090ms)GW1:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    43EE(+0000ms)GW1:FM ~ State transition: low speed tx flag
    448E(+0160ms)GW1:FM ~ State transition: offline
    448E(+0000ms)GW1:FM ~ State transition: offline
    4498(+0010ms)GW1:FM ~ Beginning of the delay message processing: msgData = 3c
    44D4(+0060ms)GW1:FM ~ State transition: low speed rx
    44D4(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    44D4(+0000ms)GW1:FM ~ State transition: low speed rx
    4542(+0110ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    457E(+0060ms)GW1:FM ~ Carrier detected in state: low speed rx
    457E(+0000ms)GW1:FM ~ Preamble detected in state: low speed rx
    457E(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    457E(+0000ms)GW1:FIU~ FRP state change: local low-speed receive
    4588(+0010ms)GW1:FIU~ Sent T.38 packet to network: V.21 preamble ind
    4588(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: preamble ind
    4588(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    46AA(+0290ms)GW2:FIU~ FRP state change: remote low-speed receive
    46B4(+0010ms)GW2:FM ~ State transition: low speed tx flag
    46B4(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    46B4(+0000ms)GW2:FM ~ State transition: low speed tx flag
    46D2(+0030ms)GW2:FM ~ Beginning of the delay message processing: msgData = 352
    48EE(+0540ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    48F8(+0010ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.21 data
    48F8(+0000ms)GW2:FIU~ FND T.38 decoder state change: low-speed data
    490C(+0020ms)GW1:FIU~ Received the final frame of a low-speed transmission
    4920(+0020ms)GW1:FIU~ FCF of current frame: DCS (0x41)
    Tone detect control is called.
    4998(+0120ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    49B6(+0030ms)GW1:FM ~ Carrier loss detected in state: low speed rx
    49B6(+0000ms)GW1:FIU~ FRP state change: idle
    49C0(+0010ms)GW1:FM ~ State transition: high speed rx
    49C0(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - long training
    49C0(+0000ms)GW1:FM ~ State transition: high speed rx
    49C0(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    49C0(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    49CA(+0010ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    49CA(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    49CA(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    4A1A(+0080ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    4A38(+0030ms)GW2:FIU~ Received the final frame of a low-speed transmission
    4A42(+0010ms)GW2:FM ~ Beginning of data RX or TX during transmission
    4A42(+0000ms)GW2:FM ~ State transition: low speed tx data
    4A4C(+0010ms)GW1:FM ~ TEP detected in state: high speed rx
    4A4C(+0000ms)GW1:FIU~ FRP state change: local TCF receive
    4A56(+0010ms)GW1:FIU~ Sent T.38 packet to network: V.17 14400bps - long training ind
    4A56(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.17 14400bps - long training ind
    4A56(+0000ms)GW2:FIU~ FCF of current frame: DCS (0x41)
    Tone detect control is called.
    4ABA(+0100ms)GW2:FIU~ SLP page mode: transparent
    4ABA(+0000ms)GW2:FIU~ FRP state change: idle
    4ABA(+0000ms)GW2:FIU~ FRP state change: remote TCF receive
    4AF6(+0060ms)GW1:FM ~ P2 detected in state: high speed rx
    4B14(+0030ms)GW2:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    4B14(+0000ms)GW2:FM ~ State transition: low speed tx flag
    4BB4(+0160ms)GW2:FM ~ State transition: offline
    4BB4(+0000ms)GW2:FM ~ State transition: offline
    4BBE(+0010ms)GW2:FM ~ Beginning of the delay message processing: msgData = 3c
    4BFA(+0060ms)GW2:FM ~ State transition: high speed rx
    4BFA(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - long training
    4BFA(+0000ms)GW2:FM ~ State transition: high speed rx
    4C04(+0010ms)GW2:FM ~ State transition: high speed tx training
    4C04(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - long training
    4C04(+0000ms)GW2:FM ~ State transition: high speed tx training
    5064(+1120ms)GW1:FM ~ Carrier detected in state: high speed rx
    5064(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_LOSS
    5064(+0000ms)GW1:FIU~ Received first high-speed data bytes by FRP from either modem or network
    5078(+0020ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.17 14400bps data
    5078(+0000ms)GW2:FIU~ FND T.38 decoder state change: high-speed data
    519A(+0290ms)GW2:FIU~ Received first high-speed data bytes by FRP from either modem or network
    526C(+0210ms)GW2:FM ~ Beginning of data RX or TX during transmission
    526C(+0000ms)GW2:FM ~ State transition: high speed tx data
    5686(+1050ms)GW1:FM ~ Carrier loss detected in state: high speed rx
    5686(+0000ms)GW1:FIU~ FRP state change: idle
    5690(+0010ms)GW1:FM ~ State transition: high speed rx
    5690(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - short training
    5690(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.17 14400bps data
    5690(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    569A(+0010ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    569A(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    57BC(+0290ms)GW2:FIU~ FRP state change: idle
    588E(+0210ms)GW2:FM ~ End of data RX or TX during transmission
    588E(+0000ms)GW2:FM ~ State transition: high speed tx preamble off
    58A2(+0020ms)GW2:FM ~ State transition: offline
    58A2(+0000ms)GW2:FM ~ State transition: offline
    58AC(+0010ms)GW2:FM ~ State transition: high speed rx
    58AC(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    58AC(+0000ms)GW2:FM ~ State transition: high speed rx
    5992(+0230ms)GW2:FM ~ Preamble detected in state: high speed rx
    5992(+0000ms)GW2:FIU~ FRP state change: local low-speed receive
    599C(+0010ms)GW2:FM ~ State transition: low speed rx
    599C(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    599C(+0000ms)GW2:FM ~ State transition: low speed rx
    599C(+0000ms)GW2:FIU~ Sent T.38 packet to network: V.21 preamble ind
    59A6(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: preamble ind
    5A0A(+0100ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    5A50(+0070ms)GW2:FM ~ Carrier detected in state: low speed rx
    5A50(+0000ms)GW2:FM ~ Preamble detected in state: low speed rx
    5A50(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    5ABE(+0110ms)GW1:FIU~ FRP state change: remote low-speed receive
    5AC8(+0010ms)GW1:FM ~ State transition: low speed tx flag
    5AC8(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    5AC8(+0000ms)GW1:FM ~ State transition: low speed tx flag
    5AE6(+0030ms)GW1:FM ~ Beginning of the delay message processing: msgData = 352
    5C76(+0400ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    5C8A(+0020ms)GW1:FIU~ Received T.38 packet with new payload type from network: V.21 data
    5C8A(+0000ms)GW1:FIU~ FND T.38 decoder state change: low-speed data
    5C94(+0010ms)GW2:FIU~ Received the final frame of a low-speed transmission
    5CB2(+0030ms)GW2:FIU~ FCF of current frame: CFR (0x21)
    5CBC(+0010ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    5CDA(+0030ms)GW2:FM ~ Carrier loss detected in state: low speed rx
    5CDA(+0000ms)GW2:FIU~ FRP state change: idle
    5CE4(+0010ms)GW2:FM ~ State transition: high speed rx
    5CE4(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    5CE4(+0000ms)GW2:FM ~ State transition: high speed rx
    5CE4(+0000ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    5CEE(+0010ms)GW1:FIU~ FND T.38 decoder state change: transparent
    5CEE(+0000ms)GW2:FIU~ Sent T.38 packet to network: no signal ind
    5CEE(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    5CF8(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: no signal ind
    5DA2(+0170ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    5DC0(+0030ms)GW1:FIU~ Received the final frame of a low-speed transmission
    5DDE(+0030ms)GW1:FIU~ FCF of current frame: CFR (0x21)
    5DDE(+0000ms)GW1:FIU~ FRP state change: idle
    5E56(+0120ms)GW1:FM ~ Beginning of data RX or TX during transmission
    5E56(+0000ms)GW1:FM ~ State transition: low speed tx data
    5EBA(+0100ms)GW1:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    5EBA(+0000ms)GW1:FM ~ State transition: low speed tx flag
    5F5A(+0160ms)GW1:FM ~ State transition: offline
    5F5A(+0000ms)GW1:FM ~ State transition: offline
    5F64(+0010ms)GW1:FM ~ Beginning of the delay message processing: msgData = 3c
    5FA0(+0060ms)GW1:FM ~ State transition: high speed rx
    5FA0(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - short training
    5FA0(+0000ms)GW1:FM ~ State transition: high speed rx
    604A(+0170ms)GW1:FM ~ TEP detected in state: high speed rx
    604A(+0000ms)GW1:FIU~ FRP state change: local high-speed receive
    6054(+0010ms)GW1:FIU~ Sent T.38 packet to network: V.17 14400bps - short training ind
    6054(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.17 14400bps - short training ind
    60F4(+0160ms)GW1:FM ~ P2 detected in state: high speed rx
    6176(+0130ms)GW2:FIU~ FRP state change: remote high-speed receive
    6180(+0010ms)GW1:FM ~ Carrier detected in state: high speed rx
    6180(+0000ms)GW2:FM ~ State transition: high speed tx training
    6180(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    6180(+0000ms)GW2:FM ~ State transition: high speed tx training
    6180(+0000ms)GW1:FIU~ Received first high-speed data bytes by FRP from either modem or network
    6194(+0020ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.17 14400bps data
    6194(+0000ms)GW2:FIU~ FND T.38 decoder state change: high-speed data
    62B6(+0290ms)GW2:FIU~ Received first high-speed data bytes by FRP from either modem or network
    62FC(+0070ms)GW2:FM ~ Beginning of data RX or TX during transmission
    62FC(+0000ms)GW2:FM ~ State transition: high speed tx data
    0E8C(+-21616ms)GW1:FM ~ Carrier loss detected in state: high speed rx
    0E8C(+0000ms)GW1:FIU~ FRP state change: idle
    0E96(+0010ms)GW1:FM ~ State transition: high speed rx
    0E96(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - short training
    0E96(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.17 14400bps data
    0E96(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    0EA0(+0010ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    0EA0(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    0FAE(+0270ms)GW2:FIU~ FRP state change: idle
    0FEA(+0060ms)GW1:FM ~ Preamble detected in state: high speed rx
    0FEA(+0000ms)GW1:FIU~ FRP state change: local low-speed receive
    0FF4(+0010ms)GW1:FM ~ State transition: low speed rx
    0FF4(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    0FF4(+0000ms)GW1:FM ~ State transition: low speed rx
    0FF4(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.21 preamble ind
    0FF4(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: preamble ind
    0FF4(+0000ms)GW2:FIU~ FRP state change: remote low-speed receive
    1008(+0020ms)GW2:FM ~ End of data RX or TX during transmission
    1008(+0000ms)GW2:FM ~ State transition: high speed tx preamble off
    101C(+0020ms)GW2:FM ~ State transition: offline
    101C(+0000ms)GW2:FM ~ State transition: offline
    1026(+0010ms)GW2:FM ~ Beginning of the delay message processing: msgData = 3c
    1062(+0060ms)GW2:FM ~ State transition: high speed rx
    1062(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    1062(+0000ms)GW2:FM ~ State transition: high speed rx
    1062(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    106C(+0010ms)GW2:FM ~ State transition: low speed tx flag
    106C(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    106C(+0000ms)GW2:FM ~ State transition: low speed tx flag
    106C(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    108A(+0030ms)GW2:FM ~ Beginning of the delay message processing: msgData = 352
    10A8(+0030ms)GW1:FM ~ Carrier detected in state: low speed rx
    10A8(+0000ms)GW1:FM ~ Preamble detected in state: low speed rx
    10A8(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    13AA(+0770ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    13B4(+0010ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.21 data
    13B4(+0000ms)GW2:FIU~ FND T.38 decoder state change: low-speed data
    13C8(+0020ms)GW1:FIU~ Received the final frame of a low-speed transmission
    13DC(+0020ms)GW1:FIU~ FCF of current frame: EOP (0x74)
    13E6(+0010ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    140E(+0040ms)GW1:FM ~ Carrier loss detected in state: low speed rx
    140E(+0000ms)GW1:FIU~ FRP state change: idle
    1418(+0010ms)GW1:FM ~ State transition: high speed rx
    1418(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - short training
    1418(+0000ms)GW1:FM ~ State transition: high speed rx
    1418(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    1418(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    1422(+0010ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    1422(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1422(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    14D6(+0180ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    14F4(+0030ms)GW2:FIU~ Received the final frame of a low-speed transmission
    14FE(+0010ms)GW2:FM ~ Beginning of data RX or TX during transmission
    14FE(+0000ms)GW2:FM ~ State transition: low speed tx data
    1512(+0020ms)GW2:FIU~ FCF of current frame: EOP (0x74)
    1512(+0000ms)GW2:FIU~ FRP state change: idle
    156C(+0090ms)GW2:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    156C(+0000ms)GW2:FM ~ State transition: low speed tx flag
    160C(+0160ms)GW2:FM ~ State transition: offline
    160C(+0000ms)GW2:FM ~ State transition: offline
    1616(+0010ms)GW2:FM ~ Beginning of the delay message processing: msgData = 3c
    1652(+0060ms)GW2:FM ~ State transition: high speed rx
    1652(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    1652(+0000ms)GW2:FM ~ State transition: high speed rx
    165C(+0010ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1738(+0220ms)GW2:FM ~ Preamble detected in state: high speed rx
    1738(+0000ms)GW2:FIU~ FRP state change: local low-speed receive
    1742(+0010ms)GW2:FM ~ State transition: low speed rx
    1742(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    1742(+0000ms)GW2:FM ~ State transition: low speed rx
    1742(+0000ms)GW2:FIU~ Sent T.38 packet to network: V.21 preamble ind
    174C(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: preamble ind
    17B0(+0100ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    17EC(+0060ms)GW2:FM ~ Carrier detected in state: low speed rx
    17EC(+0000ms)GW2:FM ~ Preamble detected in state: low speed rx
    17EC(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    1864(+0120ms)GW1:FIU~ FRP state change: remote low-speed receive
    186E(+0010ms)GW1:FM ~ State transition: low speed tx flag
    186E(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    186E(+0000ms)GW1:FM ~ State transition: low speed tx flag
    188C(+0030ms)GW1:FM ~ Beginning of the delay message processing: msgData = 352
    1A4E(+0450ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    1A62(+0020ms)GW1:FIU~ Received T.38 packet with new payload type from network: V.21 data
    1A62(+0000ms)GW1:FIU~ FND T.38 decoder state change: low-speed data
    1A6C(+0010ms)GW2:FIU~ Received the final frame of a low-speed transmission
    1A8A(+0030ms)GW2:FIU~ FCF of current frame: MCF (0x31)
    1A94(+0010ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    1AB2(+0030ms)GW2:FM ~ Carrier loss detected in state: low speed rx
    1AB2(+0000ms)GW2:FIU~ FRP state change: idle
    1ABC(+0010ms)GW2:FM ~ State transition: high speed rx
    1ABC(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    1ABC(+0000ms)GW2:FM ~ State transition: high speed rx
    1ABC(+0000ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    1AC6(+0010ms)GW1:FIU~ FND T.38 decoder state change: transparent
    1AC6(+0000ms)GW2:FIU~ Sent T.38 packet to network: no signal ind
    1AC6(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1AD0(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: no signal ind
    1B7A(+0170ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    1B98(+0030ms)GW1:FIU~ Received the final frame of a low-speed transmission
    1BB6(+0030ms)GW1:FIU~ FCF of current frame: MCF (0x31)
    1BB6(+0000ms)GW1:FIU~ FRP state change: idle
    1BFC(+0070ms)GW1:FM ~ Beginning of data RX or TX during transmission
    1BFC(+0000ms)GW1:FM ~ State transition: low speed tx data
    1C60(+0100ms)GW1:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    1C60(+0000ms)GW1:FM ~ State transition: low speed tx flag
    1D00(+0160ms)GW1:FM ~ State transition: offline
    1D00(+0000ms)GW1:FM ~ State transition: offline
    1D0A(+0010ms)GW1:FM ~ Beginning of the delay message processing: msgData = 3c
    1D46(+0060ms)GW1:FM ~ State transition: high speed rx
    1D46(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - short training
    1D46(+0000ms)GW1:FM ~ State transition: high speed rx
    1D50(+0010ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1E40(+0240ms)GW1:FM ~ Preamble detected in state: high speed rx
    1E40(+0000ms)GW1:FIU~ FRP state change: local low-speed receive
    1E4A(+0010ms)GW1:FM ~ State transition: low speed rx
    1E4A(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    1E4A(+0000ms)GW1:FM ~ State transition: low speed rx
    1E4A(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.21 preamble ind
    1E4A(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: preamble ind
    1EB8(+0110ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1EFE(+0070ms)GW1:FM ~ Carrier detected in state: low speed rx
    1EFE(+0000ms)GW1:FM ~ Preamble detected in state: low speed rx
    1EFE(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    1F6C(+0110ms)GW2:FIU~ FRP state change: remote low-speed receive
    1F76(+0010ms)GW2:FM ~ State transition: low speed tx flag
    1F76(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    1F76(+0000ms)GW2:FM ~ State transition: low speed tx flag
    1F94(+0030ms)GW2:FM ~ Beginning of the delay message processing: msgData = 352
    20C0(+0300ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    20CA(+0010ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.21 data
    20CA(+0000ms)GW2:FIU~ FND T.38 decoder state change: low-speed data
    20DE(+0020ms)GW1:FIU~ Received the final frame of a low-speed transmission
    20F2(+0020ms)GW1:FIU~ FCF of current frame: DCN (0x5F)
    20FC(+0010ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    2124(+0040ms)GW1:FM ~ Carrier loss detected in state: low speed rx
    2124(+0000ms)GW1:FIU~ FRP state change: switch out pending
    2124(+0000ms)GW1:FIU~ Expiration of protocol timer: cleardown timer
    2124(+0000ms)GW1:FIU~ Fax cleardown: DCN message received from local
    212E(+0010ms)GW1:FM ~ State transition: offline
    212E(+0000ms)GW1:FM ~ State transition: offline
    212E(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    212E(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    2138(+0010ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    2138(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    21EC(+0180ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    220A(+0030ms)GW2:FIU~ Received the final frame of a low-speed transmission
    2228(+0030ms)GW2:FIU~ FCF of current frame: DCN (0x5F)
    2304(+0220ms)GW2:FM ~ Beginning of data RX or TX during transmission
    2304(+0000ms)GW2:FM ~ State transition: low speed tx data
    2368(+0100ms)GW2:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    2368(+0000ms)GW2:FM ~ State transition: low speed tx flag
    2408(+0160ms)GW2:FM ~ State transition: offline
    2408(+0000ms)GW2:FM ~ State transition: offline
    2412(+0010ms)GW2:FM ~ Beginning of the delay message processing: msgData = 3c
    244E(+0060ms)GW2:FM ~ Processed sync message
    244E(+0000ms)GW2:FIU~ FRP state change: switch out pending
    244E(+0000ms)GW2:FIU~ Fax cleardown: DCN message received from remote
    2458(+0010ms)GW2:FM ~ State transition: offline
    27BE(+0870ms)GW1:FIU~ FIU is closed
    27BE(+0000ms)GW2:FIU~ FIU is closed
    

  • Attach an example print out when you run it.

    Regards, Eric

    input file ..//pcmIn1.pcm is opened!
    output file ..//pcmOut1.pcm is opened!
    0000(+0000ms)GW1:FIU~ FRP successful startup
    0000(+0000ms)GW1:FIU~ T.38 version 0
    0000(+0000ms)GW1:FIU~ FND successful startup: T.38 UDPTL network protocol
    0000(+0000ms)GW1:FIU~ FIU is opened: frame size = 10 ms
    0000(+0000ms)GW1:FIU~ FRP has been activated in state: startup
    input file ..//pcmIn2.pcm is opened!
    output file ..//pcmOut2.pcm is opened!
    0000(+0000ms)GW2:FIU~ FRP successful startup
    0000(+0000ms)GW2:FIU~ T.38 version 0
    0000(+0000ms)GW2:FIU~ FND successful startup: T.38 UDPTL network protocol
    0000(+0000ms)GW2:FIU~ FIU is opened: frame size = 10 ms
    0000(+0000ms)GW2:FIU~ FRP has been activated in state: startup
    Tone detect control is called.
    0000(+0000ms)GW1:FM ~ State transition: low speed rx
    0000(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    0000(+0000ms)GW1:FM ~ State transition: low speed rx
    Tone detect control is called.
    0000(+0000ms)GW2:FM ~ State transition: low speed rx
    0000(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    0000(+0000ms)GW2:FM ~ State transition: low speed rx
    0000(+0000ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    0000(+0000ms)GW2:FIU~ Sent T.38 packet to network: no signal ind
    0000(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    000A(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: no signal ind
    006E(+0100ms)GW1:FIU~ Sent T.38 packet to network: CNG ind
    006E(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: CNG ind
    006E(+0000ms)GW2:FIU~ Detected tone from remote: CNG
    006E(+0000ms)GW2:FIU~ Start of local tone generation: CNG
    1AEA(+6780ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1C8E(+0420ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_LOSS
    2896(+3080ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    2A3A(+0420ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_LOSS
    2BF2(+0440ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    3AB6(+3780ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_LOSS
    3B60(+0170ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    3BA6(+0070ms)GW2:FM ~ Carrier detected in state: low speed rx
    3BA6(+0000ms)GW2:FM ~ Preamble detected in state: low speed rx
    3BA6(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    3BA6(+0000ms)GW2:FIU~ FRP state change: local low-speed receive
    3BB0(+0010ms)GW2:FIU~ Sent T.38 packet to network: V.21 preamble ind
    3BBA(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: preamble ind
    3BBA(+0000ms)GW1:FIU~ FND T.38 decoder state change: transparent
    3BBA(+0000ms)GW1:FIU~ Received ignored network event in current FRP state: FND_FRP_PREAMBLE_NOTIF
    3CD2(+0280ms)GW1:FIU~ FRP state change: remote low-speed receive
    3CDC(+0010ms)GW1:FM ~ Beginning of the delay message processing: msgData = 4b
    3D2C(+0080ms)GW1:FM ~ State transition: low speed tx flag
    3D2C(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    3D2C(+0000ms)GW1:FM ~ State transition: low speed tx flag
    3D4A(+0030ms)GW1:FM ~ Beginning of the delay message processing: msgData = 352
    3F66(+0540ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    3F7A(+0020ms)GW1:FIU~ Received T.38 packet with new payload type from network: V.21 data
    3F7A(+0000ms)GW1:FIU~ FND T.38 decoder state change: low-speed data
    3F98(+0030ms)GW2:FIU~ FCF of current frame: NSF (0x4)
    4092(+0250ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    40BA(+0040ms)GW1:FM ~ Beginning of data RX or TX during transmission
    40BA(+0000ms)GW1:FM ~ State transition: low speed tx data
    40CE(+0020ms)GW1:FIU~ FCF of current frame: NSF (0x4)
    4114(+0070ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    4196(+0130ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    41AA(+0020ms)GW2:FIU~ Received the final frame of a low-speed transmission
    41C8(+0030ms)GW2:FIU~ FCF of current frame: DIS (0x1)
    4272(+0170ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    429A(+0040ms)GW1:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    429A(+0000ms)GW1:FM ~ State transition: low speed tx flag
    429A(+0000ms)GW2:FM ~ Carrier loss detected in state: low speed rx
    429A(+0000ms)GW2:FIU~ FRP state change: idle
    42A4(+0010ms)GW2:FM ~ State transition: low speed rx
    42A4(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    42A4(+0000ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    42AE(+0010ms)GW1:FIU~ FND T.38 decoder state change: transparent
    42AE(+0000ms)GW2:FIU~ Sent T.38 packet to network: no signal ind
    42B8(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: no signal ind
    42C2(+0010ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    42E0(+0030ms)GW1:FIU~ Received the final frame of a low-speed transmission
    42EA(+0010ms)GW1:FM ~ Beginning of data RX or TX during transmission
    42EA(+0000ms)GW1:FM ~ State transition: low speed tx data
    42FE(+0020ms)GW1:FIU~ FCF of current frame: DIS (0x1)
    4394(+0150ms)GW1:FIU~ FRP state change: idle
    43EE(+0090ms)GW1:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    43EE(+0000ms)GW1:FM ~ State transition: low speed tx flag
    448E(+0160ms)GW1:FM ~ State transition: offline
    448E(+0000ms)GW1:FM ~ State transition: offline
    4498(+0010ms)GW1:FM ~ Beginning of the delay message processing: msgData = 3c
    44D4(+0060ms)GW1:FM ~ State transition: low speed rx
    44D4(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    44D4(+0000ms)GW1:FM ~ State transition: low speed rx
    4542(+0110ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    457E(+0060ms)GW1:FM ~ Carrier detected in state: low speed rx
    457E(+0000ms)GW1:FM ~ Preamble detected in state: low speed rx
    457E(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    457E(+0000ms)GW1:FIU~ FRP state change: local low-speed receive
    4588(+0010ms)GW1:FIU~ Sent T.38 packet to network: V.21 preamble ind
    4588(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: preamble ind
    4588(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    46AA(+0290ms)GW2:FIU~ FRP state change: remote low-speed receive
    46B4(+0010ms)GW2:FM ~ State transition: low speed tx flag
    46B4(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    46B4(+0000ms)GW2:FM ~ State transition: low speed tx flag
    46D2(+0030ms)GW2:FM ~ Beginning of the delay message processing: msgData = 352
    48EE(+0540ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    48F8(+0010ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.21 data
    48F8(+0000ms)GW2:FIU~ FND T.38 decoder state change: low-speed data
    490C(+0020ms)GW1:FIU~ Received the final frame of a low-speed transmission
    4920(+0020ms)GW1:FIU~ FCF of current frame: DCS (0x41)
    Tone detect control is called.
    4998(+0120ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    49B6(+0030ms)GW1:FM ~ Carrier loss detected in state: low speed rx
    49B6(+0000ms)GW1:FIU~ FRP state change: idle
    49C0(+0010ms)GW1:FM ~ State transition: high speed rx
    49C0(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - long training
    49C0(+0000ms)GW1:FM ~ State transition: high speed rx
    49C0(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    49C0(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    49CA(+0010ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    49CA(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    49CA(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    4A1A(+0080ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    4A38(+0030ms)GW2:FIU~ Received the final frame of a low-speed transmission
    4A42(+0010ms)GW2:FM ~ Beginning of data RX or TX during transmission
    4A42(+0000ms)GW2:FM ~ State transition: low speed tx data
    4A4C(+0010ms)GW1:FM ~ TEP detected in state: high speed rx
    4A4C(+0000ms)GW1:FIU~ FRP state change: local TCF receive
    4A56(+0010ms)GW1:FIU~ Sent T.38 packet to network: V.17 14400bps - long training ind
    4A56(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.17 14400bps - long training ind
    4A56(+0000ms)GW2:FIU~ FCF of current frame: DCS (0x41)
    Tone detect control is called.
    4ABA(+0100ms)GW2:FIU~ SLP page mode: transparent
    4ABA(+0000ms)GW2:FIU~ FRP state change: idle
    4ABA(+0000ms)GW2:FIU~ FRP state change: remote TCF receive
    4AF6(+0060ms)GW1:FM ~ P2 detected in state: high speed rx
    4B14(+0030ms)GW2:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    4B14(+0000ms)GW2:FM ~ State transition: low speed tx flag
    4BB4(+0160ms)GW2:FM ~ State transition: offline
    4BB4(+0000ms)GW2:FM ~ State transition: offline
    4BBE(+0010ms)GW2:FM ~ Beginning of the delay message processing: msgData = 3c
    4BFA(+0060ms)GW2:FM ~ State transition: high speed rx
    4BFA(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - long training
    4BFA(+0000ms)GW2:FM ~ State transition: high speed rx
    4C04(+0010ms)GW2:FM ~ State transition: high speed tx training
    4C04(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - long training
    4C04(+0000ms)GW2:FM ~ State transition: high speed tx training
    5064(+1120ms)GW1:FM ~ Carrier detected in state: high speed rx
    5064(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_LOSS
    5064(+0000ms)GW1:FIU~ Received first high-speed data bytes by FRP from either modem or network
    5078(+0020ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.17 14400bps data
    5078(+0000ms)GW2:FIU~ FND T.38 decoder state change: high-speed data
    519A(+0290ms)GW2:FIU~ Received first high-speed data bytes by FRP from either modem or network
    526C(+0210ms)GW2:FM ~ Beginning of data RX or TX during transmission
    526C(+0000ms)GW2:FM ~ State transition: high speed tx data
    5686(+1050ms)GW1:FM ~ Carrier loss detected in state: high speed rx
    5686(+0000ms)GW1:FIU~ FRP state change: idle
    5690(+0010ms)GW1:FM ~ State transition: high speed rx
    5690(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - short training
    5690(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.17 14400bps data
    5690(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    569A(+0010ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    569A(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    57BC(+0290ms)GW2:FIU~ FRP state change: idle
    588E(+0210ms)GW2:FM ~ End of data RX or TX during transmission
    588E(+0000ms)GW2:FM ~ State transition: high speed tx preamble off
    58A2(+0020ms)GW2:FM ~ State transition: offline
    58A2(+0000ms)GW2:FM ~ State transition: offline
    58AC(+0010ms)GW2:FM ~ State transition: high speed rx
    58AC(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    58AC(+0000ms)GW2:FM ~ State transition: high speed rx
    5992(+0230ms)GW2:FM ~ Preamble detected in state: high speed rx
    5992(+0000ms)GW2:FIU~ FRP state change: local low-speed receive
    599C(+0010ms)GW2:FM ~ State transition: low speed rx
    599C(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    599C(+0000ms)GW2:FM ~ State transition: low speed rx
    599C(+0000ms)GW2:FIU~ Sent T.38 packet to network: V.21 preamble ind
    59A6(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: preamble ind
    5A0A(+0100ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    5A50(+0070ms)GW2:FM ~ Carrier detected in state: low speed rx
    5A50(+0000ms)GW2:FM ~ Preamble detected in state: low speed rx
    5A50(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    5ABE(+0110ms)GW1:FIU~ FRP state change: remote low-speed receive
    5AC8(+0010ms)GW1:FM ~ State transition: low speed tx flag
    5AC8(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    5AC8(+0000ms)GW1:FM ~ State transition: low speed tx flag
    5AE6(+0030ms)GW1:FM ~ Beginning of the delay message processing: msgData = 352
    5C76(+0400ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    5C8A(+0020ms)GW1:FIU~ Received T.38 packet with new payload type from network: V.21 data
    5C8A(+0000ms)GW1:FIU~ FND T.38 decoder state change: low-speed data
    5C94(+0010ms)GW2:FIU~ Received the final frame of a low-speed transmission
    5CB2(+0030ms)GW2:FIU~ FCF of current frame: CFR (0x21)
    5CBC(+0010ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    5CDA(+0030ms)GW2:FM ~ Carrier loss detected in state: low speed rx
    5CDA(+0000ms)GW2:FIU~ FRP state change: idle
    5CE4(+0010ms)GW2:FM ~ State transition: high speed rx
    5CE4(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    5CE4(+0000ms)GW2:FM ~ State transition: high speed rx
    5CE4(+0000ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    5CEE(+0010ms)GW1:FIU~ FND T.38 decoder state change: transparent
    5CEE(+0000ms)GW2:FIU~ Sent T.38 packet to network: no signal ind
    5CEE(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    5CF8(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: no signal ind
    5DA2(+0170ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    5DC0(+0030ms)GW1:FIU~ Received the final frame of a low-speed transmission
    5DDE(+0030ms)GW1:FIU~ FCF of current frame: CFR (0x21)
    5DDE(+0000ms)GW1:FIU~ FRP state change: idle
    5E56(+0120ms)GW1:FM ~ Beginning of data RX or TX during transmission
    5E56(+0000ms)GW1:FM ~ State transition: low speed tx data
    5EBA(+0100ms)GW1:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    5EBA(+0000ms)GW1:FM ~ State transition: low speed tx flag
    5F5A(+0160ms)GW1:FM ~ State transition: offline
    5F5A(+0000ms)GW1:FM ~ State transition: offline
    5F64(+0010ms)GW1:FM ~ Beginning of the delay message processing: msgData = 3c
    5FA0(+0060ms)GW1:FM ~ State transition: high speed rx
    5FA0(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - short training
    5FA0(+0000ms)GW1:FM ~ State transition: high speed rx
    604A(+0170ms)GW1:FM ~ TEP detected in state: high speed rx
    604A(+0000ms)GW1:FIU~ FRP state change: local high-speed receive
    6054(+0010ms)GW1:FIU~ Sent T.38 packet to network: V.17 14400bps - short training ind
    6054(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.17 14400bps - short training ind
    60F4(+0160ms)GW1:FM ~ P2 detected in state: high speed rx
    6176(+0130ms)GW2:FIU~ FRP state change: remote high-speed receive
    6180(+0010ms)GW1:FM ~ Carrier detected in state: high speed rx
    6180(+0000ms)GW2:FM ~ State transition: high speed tx training
    6180(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    6180(+0000ms)GW2:FM ~ State transition: high speed tx training
    6180(+0000ms)GW1:FIU~ Received first high-speed data bytes by FRP from either modem or network
    6194(+0020ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.17 14400bps data
    6194(+0000ms)GW2:FIU~ FND T.38 decoder state change: high-speed data
    62B6(+0290ms)GW2:FIU~ Received first high-speed data bytes by FRP from either modem or network
    62FC(+0070ms)GW2:FM ~ Beginning of data RX or TX during transmission
    62FC(+0000ms)GW2:FM ~ State transition: high speed tx data
    0E8C(+-21616ms)GW1:FM ~ Carrier loss detected in state: high speed rx
    0E8C(+0000ms)GW1:FIU~ FRP state change: idle
    0E96(+0010ms)GW1:FM ~ State transition: high speed rx
    0E96(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - short training
    0E96(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.17 14400bps data
    0E96(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    0EA0(+0010ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    0EA0(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    0FAE(+0270ms)GW2:FIU~ FRP state change: idle
    0FEA(+0060ms)GW1:FM ~ Preamble detected in state: high speed rx
    0FEA(+0000ms)GW1:FIU~ FRP state change: local low-speed receive
    0FF4(+0010ms)GW1:FM ~ State transition: low speed rx
    0FF4(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    0FF4(+0000ms)GW1:FM ~ State transition: low speed rx
    0FF4(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.21 preamble ind
    0FF4(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: preamble ind
    0FF4(+0000ms)GW2:FIU~ FRP state change: remote low-speed receive
    1008(+0020ms)GW2:FM ~ End of data RX or TX during transmission
    1008(+0000ms)GW2:FM ~ State transition: high speed tx preamble off
    101C(+0020ms)GW2:FM ~ State transition: offline
    101C(+0000ms)GW2:FM ~ State transition: offline
    1026(+0010ms)GW2:FM ~ Beginning of the delay message processing: msgData = 3c
    1062(+0060ms)GW2:FM ~ State transition: high speed rx
    1062(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    1062(+0000ms)GW2:FM ~ State transition: high speed rx
    1062(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    106C(+0010ms)GW2:FM ~ State transition: low speed tx flag
    106C(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    106C(+0000ms)GW2:FM ~ State transition: low speed tx flag
    106C(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    108A(+0030ms)GW2:FM ~ Beginning of the delay message processing: msgData = 352
    10A8(+0030ms)GW1:FM ~ Carrier detected in state: low speed rx
    10A8(+0000ms)GW1:FM ~ Preamble detected in state: low speed rx
    10A8(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    13AA(+0770ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    13B4(+0010ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.21 data
    13B4(+0000ms)GW2:FIU~ FND T.38 decoder state change: low-speed data
    13C8(+0020ms)GW1:FIU~ Received the final frame of a low-speed transmission
    13DC(+0020ms)GW1:FIU~ FCF of current frame: EOP (0x74)
    13E6(+0010ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    140E(+0040ms)GW1:FM ~ Carrier loss detected in state: low speed rx
    140E(+0000ms)GW1:FIU~ FRP state change: idle
    1418(+0010ms)GW1:FM ~ State transition: high speed rx
    1418(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - short training
    1418(+0000ms)GW1:FM ~ State transition: high speed rx
    1418(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    1418(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    1422(+0010ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    1422(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1422(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    14D6(+0180ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    14F4(+0030ms)GW2:FIU~ Received the final frame of a low-speed transmission
    14FE(+0010ms)GW2:FM ~ Beginning of data RX or TX during transmission
    14FE(+0000ms)GW2:FM ~ State transition: low speed tx data
    1512(+0020ms)GW2:FIU~ FCF of current frame: EOP (0x74)
    1512(+0000ms)GW2:FIU~ FRP state change: idle
    156C(+0090ms)GW2:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    156C(+0000ms)GW2:FM ~ State transition: low speed tx flag
    160C(+0160ms)GW2:FM ~ State transition: offline
    160C(+0000ms)GW2:FM ~ State transition: offline
    1616(+0010ms)GW2:FM ~ Beginning of the delay message processing: msgData = 3c
    1652(+0060ms)GW2:FM ~ State transition: high speed rx
    1652(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    1652(+0000ms)GW2:FM ~ State transition: high speed rx
    165C(+0010ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1738(+0220ms)GW2:FM ~ Preamble detected in state: high speed rx
    1738(+0000ms)GW2:FIU~ FRP state change: local low-speed receive
    1742(+0010ms)GW2:FM ~ State transition: low speed rx
    1742(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    1742(+0000ms)GW2:FM ~ State transition: low speed rx
    1742(+0000ms)GW2:FIU~ Sent T.38 packet to network: V.21 preamble ind
    174C(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: preamble ind
    17B0(+0100ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    17EC(+0060ms)GW2:FM ~ Carrier detected in state: low speed rx
    17EC(+0000ms)GW2:FM ~ Preamble detected in state: low speed rx
    17EC(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    1864(+0120ms)GW1:FIU~ FRP state change: remote low-speed receive
    186E(+0010ms)GW1:FM ~ State transition: low speed tx flag
    186E(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    186E(+0000ms)GW1:FM ~ State transition: low speed tx flag
    188C(+0030ms)GW1:FM ~ Beginning of the delay message processing: msgData = 352
    1A4E(+0450ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    1A62(+0020ms)GW1:FIU~ Received T.38 packet with new payload type from network: V.21 data
    1A62(+0000ms)GW1:FIU~ FND T.38 decoder state change: low-speed data
    1A6C(+0010ms)GW2:FIU~ Received the final frame of a low-speed transmission
    1A8A(+0030ms)GW2:FIU~ FCF of current frame: MCF (0x31)
    1A94(+0010ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    1AB2(+0030ms)GW2:FM ~ Carrier loss detected in state: low speed rx
    1AB2(+0000ms)GW2:FIU~ FRP state change: idle
    1ABC(+0010ms)GW2:FM ~ State transition: high speed rx
    1ABC(+0000ms)GW2:FM ~ New modulation: V.17 14400bps - short training
    1ABC(+0000ms)GW2:FM ~ State transition: high speed rx
    1ABC(+0000ms)GW2:FIU~ Sent T.38 packet to network: V.21 data
    1AC6(+0010ms)GW1:FIU~ FND T.38 decoder state change: transparent
    1AC6(+0000ms)GW2:FIU~ Sent T.38 packet to network: no signal ind
    1AC6(+0000ms)GW2:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1AD0(+0010ms)GW1:FIU~ Received T.38 packet with new payload type from network: no signal ind
    1B7A(+0170ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    1B98(+0030ms)GW1:FIU~ Received the final frame of a low-speed transmission
    1BB6(+0030ms)GW1:FIU~ FCF of current frame: MCF (0x31)
    1BB6(+0000ms)GW1:FIU~ FRP state change: idle
    1BFC(+0070ms)GW1:FM ~ Beginning of data RX or TX during transmission
    1BFC(+0000ms)GW1:FM ~ State transition: low speed tx data
    1C60(+0100ms)GW1:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    1C60(+0000ms)GW1:FM ~ State transition: low speed tx flag
    1D00(+0160ms)GW1:FM ~ State transition: offline
    1D00(+0000ms)GW1:FM ~ State transition: offline
    1D0A(+0010ms)GW1:FM ~ Beginning of the delay message processing: msgData = 3c
    1D46(+0060ms)GW1:FM ~ State transition: high speed rx
    1D46(+0000ms)GW1:FM ~ New modulation: V.17 14400bps - short training
    1D46(+0000ms)GW1:FM ~ State transition: high speed rx
    1D50(+0010ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1E40(+0240ms)GW1:FM ~ Preamble detected in state: high speed rx
    1E40(+0000ms)GW1:FIU~ FRP state change: local low-speed receive
    1E4A(+0010ms)GW1:FM ~ State transition: low speed rx
    1E4A(+0000ms)GW1:FM ~ New modulation: V.21 300bps
    1E4A(+0000ms)GW1:FM ~ State transition: low speed rx
    1E4A(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.21 preamble ind
    1E4A(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: preamble ind
    1EB8(+0110ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_SIGNAL_DETECT
    1EFE(+0070ms)GW1:FM ~ Carrier detected in state: low speed rx
    1EFE(+0000ms)GW1:FM ~ Preamble detected in state: low speed rx
    1EFE(+0000ms)GW1:FIU~ Received ignored modem event in current FRP state: FM_FP_CARRIER_DETECT
    1F6C(+0110ms)GW2:FIU~ FRP state change: remote low-speed receive
    1F76(+0010ms)GW2:FM ~ State transition: low speed tx flag
    1F76(+0000ms)GW2:FM ~ New modulation: V.21 300bps
    1F76(+0000ms)GW2:FM ~ State transition: low speed tx flag
    1F94(+0030ms)GW2:FM ~ Beginning of the delay message processing: msgData = 352
    20C0(+0300ms)GW1:FIU~ Received first byte of a low-speed data frame: 0xFF
    20CA(+0010ms)GW2:FIU~ Received T.38 packet with new payload type from network: V.21 data
    20CA(+0000ms)GW2:FIU~ FND T.38 decoder state change: low-speed data
    20DE(+0020ms)GW1:FIU~ Received the final frame of a low-speed transmission
    20F2(+0020ms)GW1:FIU~ FCF of current frame: DCN (0x5F)
    20FC(+0010ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    2124(+0040ms)GW1:FM ~ Carrier loss detected in state: low speed rx
    2124(+0000ms)GW1:FIU~ FRP state change: switch out pending
    2124(+0000ms)GW1:FIU~ Expiration of protocol timer: cleardown timer
    2124(+0000ms)GW1:FIU~ Fax cleardown: DCN message received from local
    212E(+0010ms)GW1:FM ~ State transition: offline
    212E(+0000ms)GW1:FM ~ State transition: offline
    212E(+0000ms)GW1:FIU~ Sent T.38 packet to network: V.21 data
    212E(+0000ms)GW2:FIU~ FND T.38 decoder state change: transparent
    2138(+0010ms)GW1:FIU~ Sent T.38 packet to network: no signal ind
    2138(+0000ms)GW2:FIU~ Received T.38 packet with new payload type from network: no signal ind
    21EC(+0180ms)GW2:FIU~ Received first byte of a low-speed data frame: 0xFF
    220A(+0030ms)GW2:FIU~ Received the final frame of a low-speed transmission
    2228(+0030ms)GW2:FIU~ FCF of current frame: DCN (0x5F)
    2304(+0220ms)GW2:FM ~ Beginning of data RX or TX during transmission
    2304(+0000ms)GW2:FM ~ State transition: low speed tx data
    2368(+0100ms)GW2:FM ~ TX or RX of a good HDLC frame: number of bytes in the frame = 0
    2368(+0000ms)GW2:FM ~ State transition: low speed tx flag
    2408(+0160ms)GW2:FM ~ State transition: offline
    2408(+0000ms)GW2:FM ~ State transition: offline
    2412(+0010ms)GW2:FM ~ Beginning of the delay message processing: msgData = 3c
    244E(+0060ms)GW2:FM ~ Processed sync message
    244E(+0000ms)GW2:FIU~ FRP state change: switch out pending
    244E(+0000ms)GW2:FIU~ Fax cleardown: DCN message received from remote
    2458(+0010ms)GW2:FM ~ State transition: offline
    27BE(+0870ms)GW1:FIU~ FIU is closed
    27BE(+0000ms)GW2:FIU~ FIU is closed
    

  • Hai Eric,

    Thank you so much for replying.I have found the following 3 functions in code regarding tone detection in which Ist 2 functions does nothing(He gave them as empty) and last function is doing something .

    void siuToneOnFax (void *TargetInst, tgnParams_t *toneParams)
    {

    }//Routine called by FM to initialize generation of single frequency tone cadence (i.e. CNG/CED) by an external tone generator utility. The parameter 'params' is a pointer to a data structure defining the frequency, amplitude, and on/off cadence of the tone. 

    void siuToneOffFax (void *TargetInst)
    {

    } //Routine called by FM to terminate generation of a tone cadence by an external tone generator utility. 

    fmToneDetect (siuInst[0].fmInst, iffax_TONE_CNG, NULL, NULL); //This function notifies FM that a tone detection indication has been received from an external tone detection module.

    Following is the output 

    006E(+0000ms)GW2:FIU~ Detected tone from remote: CNG
    006E(+0000ms)GW2:FIU~ Start of local tone generation: CNG

    why to generate tone locally and which function is doing the tone detection here?

  • Hi,

    I used FAXLIB many years ago and currently we don't have expertise on the FAXLIB.

    From I recall, the CNG, CED signal is not passing through the network. But it is detected on remote side, then sending the T.38 packets over the network for an indication that a certain tone is detected. Then on the local side, tone generation can be implemented by TI TGU (tone generation unit).

    TI has another module called TDU (tone detection unit), that is used to detect various tones.

    TGU and TDU are parts of TI VOLIB. http://software-dl.ti.com/sdoemb/sdoemb_public_sw/volib/latest/index_FDS.html

    Regards, Eric