beautypg.com

Configuring codecs for a pots entity, Required.) – H3C Technologies H3C MSR 5600 User Manual

Page 63

background image

53

Creating a POTS entity and configuring basic parameters

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter voice view.

voice-setup

N/A

3.

Enter dial program view.

dial-program

N/A

4.

Create a POTS entity and enter

POTS entity view.

entity entity-number pots

By default, no POTS voice
entities exist.

5.

(Optional.) Configure a description

for the POTS entity.

description string

By default, no description is
configured.

6.

Configure a number template for

the POTS entity.

match-template match-string

By default, no number template
is configured for the POTS

entity.
The POTS entity uses the number
template to match phone

numbers. For example, the

match-template 20 command
matches all numbers beginning

with 20.

7.

Bind a voice interface to the POTS
entity.

line line-number

By default, no voice interface is
bound to the POTS entity.

8.

Enable the POTS entity.

undo shutdown

By default, a POTS entity is
enabled.

Configuring codecs for a POTS entity

By default, a POTS entity has four codecs g729r8, g711alaw, g711ulaw, and g723r53 in descending

order of priority.
You can use one of the following methods to configure codecs for a POTS entity:

Method 1: Configure codecs for a POTS entity.

Method 2: Create a codec template, assign priorities to codecs in the codec template, and bind the
codec template to a POTS entity.

Two parties must have the same codecs to communicate with each other. You can use the display voice

sip call command (see Voice Command Reference) to view the codec used by two parties.
To configure codecs for a POTS entity (method 1):

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter voice view.

voice-setup

N/A

3.

Enter dial program view.

dial-program

N/A

4.

Create a POTS entity and
enter POTS entity view.

entity entity-number pots N/A