R0106-HP MSR Router Series Voice Configuration Guide(V7)
79
Configuration procedure
This example does not provide SIP server and digital voice interface configurations. For information
about configuring SIP servers and digital voice interfaces, see "Configuring SIP" and "Configuring voice
interfaces."
1. Configure Router A:
# Configure subscriber group 1 that matches calling numbers starting with 1100 and configure
subscriber group 2 that matches calling numbers starting with 1200.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] subscriber-group 1
[RouterA-voice-dial-group1] match-template 1100..
[RouterA-voice-dial-group1] quit
[RouterA-voice-dial] subscriber-group 2
[RouterA-voice-dial-group2] match-template 1200..
[RouterA-voice-dial-group2] quit
# Configure VoIP entity 2000 to use the SIP proxy server to find call destination addresses and to
match called numbers in area B.
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] address sip proxy
[RouterA-voice-dial-entity2000] match-template 2...
[RouterA-voice-dial-entity2000] quit
# Configure VoIP entity 3000 to use the SIP proxy server to find call destination addresses and to
match called numbers in area C.
[RouterA-voice-dial] entity 3000 voip
[RouterA-voice-dial-entity3000] address sip proxy
[RouterA-voice-dial-entity3000] match-template 3...
[RouterA-voice-dial-entity3000] quit
# Configure a caller group to permit subscriber groups 1 and 2 on POTS entity 2100 so the phone
numbers starting with 1100 or 1200 in area A can call the phone numbers in area B.
[RouterA-voice-dial] entity 2100 pots
[RouterA-voice-dial-entity2100] line 2/4/1:15
[RouterA-voice-dial-entity2100] send-number all
[RouterA-voice-dial-entity2100] match-template 2...
[RouterA-voice-dial-entity2100] caller-group permit 1
[RouterA-voice-dial-entity2100] caller-group permit 2
[RouterA-voice-dial-entity2100] quit
# Configure a caller group to permit subscriber group 2 on POTS entity 3100 so the phone
numbers starting with 1200 in area A can call the phone numbers in area C.
[RouterA-voice-dial] entity 3100 pots
[RouterA-voice-dial-entity3100] line 2/4/1:15
[RouterA-voice-dial-entity3100] send-number all
[RouterA-voice-dial-entity3100] match-template 3...
[RouterA-voice-dial-entity3100] caller-group permit 2
[RouterA-voice-dial] quit
# Configure POTS entity 2100 to match local numbers and bind line 2/4/1:15 to the entity.
[RouterA-voice-dial] entity 2100 pots