R2511-HP MSR Router Series Voice Configuration Guide(V5)

57
Configuration outline
Configure one-to-one binding between FXS and FXO voice subscriber lines.
When the IP network is available, the VoIP entity is preferably used to make calls over the IP
network.
When the IP network is unavailable, the POTS entity is used to make calls through the bound FXO
voice subscriber line over the PSTN.
Configuration procedure
Routing-related configurations are beyond the scope of this example. This example assumes that Router
A and Router B are reachable to each other.
1. Configure Router A:
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
# Configure a VoIP entity for IP calls and set the match template to 210….
[RouterA-voice-dial] entity 210 voip
[RouterA-voice-dial-entity210] match-template 210....
[RouterA-voice-dial-entity210] address sip ip 192.168.0.76
[RouterA-voice-dial-entity210] quit
# Configure a POTS entity for the FXS voice subscriber line.
[RouterA-voice-dial] entity 0101001 pots
[RouterA-voice-dial-entity101001] match-template 0101001
[RouterA-voice-dial-entity101001] line 6/24
[RouterA-voice-dial-entity101001] 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.
[RouterA-voice-dial] entity 211 pots
[RouterA-voice-dial-entity211] match-template .T
[RouterA-voice-dial-entity211] line 6/0
[RouterA-voice-dial-entity211] send-number all
[RouterA-voice-dial-entity211] caller-permit 0101001
[RouterA-voice-dial-entity211] quit
[RouterA-voice-dial] quit
[RouterA-voice] quit
# Configure the PLAR function and the delay off-hook binding.
[RouterA] subscriber-line 6/0
[RouterA-subscriber-line6/0] private-line 0101001
[RouterA-subscriber-line6/0] hookoff-mode delay bind 6/24
[RouterA-subscriber-line6/0] quit
# Configure a dial plan where the VoIP entity is preferred.
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] select-rule type-first 2 1 3 4
2. Configure Router B:
<RouterB> system-view