Configuring global default parameters for voice entities

For each voice entity, if the certain command is not performed to configure a parameter, the system uses the default value of the parameter.

When there are too many voice entities on one router and the values of most voice entity parameters are the same as the default values, the default values can be adopted to improve the efficiency.

In cases where the manually configured parameter values of most voice entities are almost the same but different from the default values, to specify suitable voice parameters for these voice entities one by one will be time-consuming. In this case, you can use the default command to generate new default values globally. In this way, each voice entity will directly inherit new default values, making the configuration more flexible, simple and convenient.

Difference between the default command and the undo default command

To configure default values for parameters of voice entities globally, use the default command (such as the default entity vad-on command).

To restore the global parameters to the defaults, use the undo default command.

Configuration procedure

To configure global default voice parameters:

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. Enable VAD globally as the default.

default entity vad-on

Optional.

Not enabled by default.

5. Specify the default global codecs and their priority levels.

default 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.

The default entity compression command takes no effect on IVR voice entities.

6. Configure globally the default voice packetization period for different codecs.

default entity payload-size { g711 | g723 | g726r16 | g726r24 | g726r32 | g726r40 | g729 }

Optional.

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