How to put g711 on a T1-56K

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.