Creating a VoIP voice entity

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 VoIP voice entity and enter its view.

entity entity-number voip

N/A

5. Configure a number template on the terminating router.

match-template match-string

By default, no called number template is configured for the voice entity.

6. Configure a policy for routing from the VoIP voice entity to the terminating VoIP gateway.

  • address sip { dns domain-name [ port port-number ] | enum-group group-number | ip ip-address [ port port-number ] | proxy | server-group group-number }

  • address { ip ip-address | ras }

Use either command.

By default, no policy is configured.

7. Configure an area ID.

area-id string

Optional.

By default, no area ID is configured.

If the routing policy is SIP, this command is unavailable.

8. Configure the DSCP subfield of the ToS field in IP packets of the RTP stream carried by the VoIP voice entity.

dscp media dscp-value

Optional.

The default is EF (101110).