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.

Received network fax T.38 packets interpretation

Other Parts Discussed in Thread: TMS320C5535

Hi,

     I am using TMS320C5535 Rev3.0 CPU functional simulator. "faxlib" has been provided along with example code. Here the inputs are "pcmIn1.pcm" and "pcmIn2.pcm" which gives ot the output files "pcmOut1.pcm" and "pcmOut2.pcm", respectively.

Now we have tapped the packets  in the function "siuNetInterface" into two .txt files 'packets1.txt' and 'packets2.txt'.

Here I am trying to analyze these packets, which packets stands for what..

In the function "siuFiuDebugInfo", I observed these parameters : msgType, messageCode, msgLength.

and got to know that, there will be different messages for the same values  for the above mentioned parameters.

For example:  

1.  msgType = 0, messageCode = 98, msgLength=2  :  message is :   FIU~ Received T.38 packet with new payload type from network: no signal ind.

2. msgType = 0, messageCode = 98, msgLength=2: message is : FIU~ Received T.38 packet with new payload type from network: preamble ind.

3. msgType = 0, messageCode = 98, msgLength=2: message is : FIU~ Received T.38 packet with new payload type from network: V.17 14400bps - short training ind .

And so on...

 So,  can you please tell me based on what parameter, here we can decide the type of the packet  ?

Thanks in Advance,

Sowmya

  • I am not familiar with the DSP simulator which is part of CCS. I will move this post there to see if they have any suggestion.
    Regards.
  • Sowmya,

    I installed the faxlib and ran the example test_rel_c55l_C55L_COFF on the Rev 3.0 simulator. The output is shown below, which seems very similar to yours.

    Given the message output is coming from the faxlib application itself and not from a simulator component, I guess this question is better suited for the experts that created this example application and library. In other words, we at the Code Composer Studio forum cannot be of further help.

    I am not sure where you originally posted this question, but I think your best shot is to contact the C55x device support forum - I can move this post there if you prefer.

    Hope this helps,

    Rafael

    console output said:

    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

  • Desouza,

    All I want to know from this example program is about fax packets, which we receive from the network.
    That is, what each packet stands for ?
    For example :
    1. Packet "06000001000000" indicates "no signal ind".
    2. Packet "080001010600010100" indicates "v.21 preamble ind"
    which parameter decides the type of the packet here ?

    If I can get help from C55x device support forum, I request you to move this post there..


    Regards,
    Sowmya
  • Sowmya,
    I support C55 device. T.38 is a fax relay standard which is not part of C55 device function and am not able to help you further.
    Regards.
  • Sowmya,
    The FM module detects the PCM input signals from both ends, to see if any CNG, CED, V21, DIS, DCS and any high speed training, data, then pass the info to FIU module. At the siu net work intereface, the packet is the standard T.38 UDPTL packet.
    Regards, Eric