R0106-HP MSR Router Series Voice Configuration Guide(V7)

63
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.
<RouterA> 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.
<RouterB> 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 2/1/1
Configuring caller group control
Caller group control allows you to filter outgoing calls on the calling side or filter incoming calls on the
called side based on caller groups. Caller group control is often used on the calling side.
A caller group references a subscriber group that defines the matching calling numbers. After you bind
a caller group to a voice entity on the calling side, only the permitted calling numbers can call the called
numbers on the voice entity.