R0106-HP MSR Router Series Voice Configuration Guide(V7)
81
Configuration procedure
1. Configure Router A:
# Configure the called number template as 010…. for VoIP entity 2000, and configure the
destination IP address as 1.1.1.3.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] match-template 010....
[RouterA-voice-dial-entity2000] address sip ip 1.1.1.3
[RouterA-voice-dial-entity2000] quit
# Configure the local number as 1000 for POTS entity 1000, and bind FXS interface line 2/1/1
to the POTS entity.
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] match-template 1000
[RouterA-voice-dial-entity1000] line 2/1/1
[RouterA-voice-dial-entity1000] quit
# Configure the local number as 1001 for POTS entity 1001, and bind FXS interface line 2/1/2
to the POTS entity.
[RouterA-voice-dial] entity 1001 pots
[RouterA-voice-dial-entity1001] match-template 1001
[RouterA-voice-dial-entity1001] line 2/1/2
[RouterA-voice-dial-entity1001] quit
# Configure the maximum number of total calls allowed by VoIP entity 2000 as 2.
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] max-conn 2
2. Configure Router B:
# Configure the called number template as 010…. for VoIP entity 1000, and configure the
destination IP address as 1.1.1.3.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 1000 voip
[RouterB-voice-dial-entity1000] match-template 010....
[RouterB-voice-dial-entity1000] address sip ip 1.1.1.3
[RouterB-voice-dial-entity1000] quit
# Configure the local number as 2000 for POTS entity 2000, and bind FXS interface line 2/1/1
to the POTS entity.
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] match-template 2000
[RouterB-voice-dial-entity2000] line 2/1/1
[RouterB-voice-dial-entity2000] quit
# Configure the local number as 2001 for POTS entity 2001, and bind FXS interface line 2/1/2
to the POTS entity.
[RouterB-voice-dial] entity 2001 pots
[RouterB-voice-dial-entity2001] match-template 2001