Configuring basic functions

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter voice view.

voice-setup

N/A

3. Enter voice dial program view.

dial-program

N/A

4. Create a VoIP voice entity and enter VoIP voice entity view.

entity entity-number voip

N/A

5. Specify the codecs and their priority levels for the POTS voice entity.

compression { 1st-level | 2nd-level | 3rd-level | 4th-level } { g711alaw | g711ulaw | g723r53 | g723r63 | g726r16 | g726r24 | g726r32 | g726r40 | g729a | g729br8 | g729r8 }

Optional.

By default, the codec with the first priority is g729r8, that with the second priority is g711alaw, that with the third priority is g711ulaw, and that with the fourth priority is g723r53.

Only the following interface cards support the g726 codec:

  • 1-port, 2-port, and 4-port FXS interface cards.

  • 1-port, 2-port, and 4-port FXO interface cards.

  • 2-port and 4-port E&M interface cards.

6. Configure the voice packetization period for different codecs.

payload-size { g711 | g723 | g726r16 | g726r24 | g726r32 | g726r40 | g729 } time-length

Optional.

The default is 20 milliseconds for a G.711 codec, and 30 milliseconds for G.723, G.726, and G.729 codecs.

7. Configure voice entity description.

description string

Optional.

No description is configured by default.