R2511-HP MSR Router Series Voice Configuration Guide(V5)
58
[RouterB] voice-setup
[RouterB-voice] dial-program
# Configure a VoIP entity for IP calls and set the match template to 010….
[RouterB-voice-dial] entity 010 voip
[RouterB-voice-dial-entity10] match-template 010....
[RouterB-voice-dial-entity10] address sip ip 192.168.0.71
[RouterB-voice-dial-entity10] quit
# Configure a POTS entity on the FXS voice subscriber line.
[[RouterB-voice-dial] entity 2101002 pots
[RouterB-voice-dial-entity2101002] match-template 2101002
[RouterB-voice-dial-entity2101002] line 6/24
[RouterB-voice-dial-entity2101002] quit
# Configure a backup POTS entity on the FXO voice subscriber line, set the match template to .T,
enable the sending of all digits of a called number, and configure a calling number permitted to
originate calls to the POTS entity.
[RouterB-voice-dial] entity 011 pots
[RouterB-voice-dial-entity11] match-template .T
[RouterB-voice-dial-entity11] line 6/0
[RouterB-voice-dial-entity11] send-number all
[RouterB-voice-dial-entity11] caller-permit 2101002
[RouterB-voice-dial-entity11] quit
[RouterB-voice-dial] quit
[RouterB-voice] quit
# Configure the PLAR function and the delay off-hook binding.
[RouterB] subscriber-line 6/0
[RouterB-line6/0] private-line 2101002
[RouterB-line6/0] hookoff-mode delay bind 6/24
[RouterB-line6/0] quit
# Configure a dial plan where the VoIP entity is preferred.
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] select-rule type-first 2 1 3 4
3. In the case that the IP network is unavailable, configure Router A and Router B as follows:
# Configure Router A, with the POTS entity preferred and the other configurations remaining
unchanged.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] select-rule type-first 1 2 3 4
# Configure Router B, with the POTS preferred and the other configurations remaining unchanged.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] select-rule type-first 1 2 3 4










