R2511-HP MSR Router Series Voice Configuration Guide(V5)
285
Configuration procedure
1. Configure Router A:
# Set the switching mode to Re-Invite switching and the codec type to g711alaw for SIP modem
pass-through.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] default entity modem protocol pcm standard g711ulaw
# Configure VoIP voice entity 2000, and configure the IP address and the fax number of the peer
VoIP gateway as 2.2.2.2 and 2000 respectively.
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] match-template 2000
[RouterA-voice-dial-entity2000] address sip ip 2.2.2.2
[RouterA-voice-dial-entity2000] quit
# Specify 1000 as the local fax number of POTS voice entity 1000.
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] match-template 1000
[RouterA-voice-dial-entity1000] line 1/0
2. Configure Router B:
# Set the switching mode to Re-Invite switching and the codec type to g711alaw for SIP modem
pass-through.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] default entity modem protocol pcm standard g711ulaw
# Configure VoIP voice entity 1000, and configure the IP address and the fax number of the peer
VoIP gateway as 1.1.1.1 and 1000 respectively.
[RouterB-voice-dial] entity 1000 voip
[RouterB-voice-dial-entity1000] match-template 1000
[RouterB-voice-dial-entity1000] address sip ip 1.1.1.1
[RouterB-voice-dial-entity1000] quit
# Specify 2000 as the local fax number of POTS voice entity 2000.
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] match-template 2000
[RouterB-voice-dial-entity2000] line 1/0










