beautypg.com

Examples – H3C Technologies H3C MSR 5600 User Manual

Page 72

background image

62

Step Command

Remarks

5.

Configure permitted calling
numbers.

caller-permit calling-string

By default, the voice entity permits
all calling numbers.
The calling-string argument is in the
format of { [ + ] string [ $ ] }| $. For

details, see Voice Command
Reference
.

Examples

As shown in

Figure 24

, configure caller control to permit only the number 1000 to call the number 2000.

Figure 24 Caller control diagram

You can configure caller control either on the calling side or on the called side to meet the requirement.

Method 1: Configure the calling side to permit only the calling number 1000 to call the number
2000.

system-view

[RouterA] voice-setup

[RouterA-voice] dial-program

[RouterA-voice-dial] entity 2000 voip

[RouterA-voice-dial-entity2000] match-template 2000

[RouterA-voice-dial-entity2000] address sip ip 1.1.1.2

[RouterA-voice-dial-entity2000] caller-permit 1000$

Method 2: Configure the called side to permit only the calling number 1000 to call the number

2000.

system-view

[RouterB] voice-setup

[RouterB-voice] dial-program

[RouterB-voice-dial] entity 2000 pots

[RouterB-voice-dial-entity2000] match-template 2000

[RouterB-voice-dial-entity2000] caller-permit 1000$

[RouterB-voice-dial-entity2000] line 1/0