For example, to implement this function, the latest test tool should summarize the following:
First, let's talk about the differences between E1 and T1:
E1 is widely used in China and Europe.
T1 is widely used in the United States and Japan.
E1 = 2.048 Mbit/s = 32 * 8bit * 8000
T1 = 1.544 Mbit/s = (24*(7 + 1) + 1) * 8000
T1 uses one of the eight bits as the control bit, and after 24-channel transmission, A 1-bit control bit is also attached, so (24 path * (7 + 1) + 1) = 193 bits
Because the sampling period of g711 is 20 ms and the size of each 20 ms package is 160 bytes, it takes only 20 ms to transmit on E1, so g711 can be transmitted normally, there will be no errors.
One of the eight bits in T1 is used as the control bit. Therefore, 20 ms can only transmit 140 bytes on T1, while the size of the g711 20 ms package is 160 bytes, there is a 20-byte gap between the two in 20 ms,
So we have to discard some places. How do we do this in g711?
Simple:
If the bytes of g711 data are discarded, the bytes are changed from 160 to 140,
You can rest assured that losing this bit won't have much impact on speech.