R0106-HP MSR Router Series Voice Configuration Guide(V7)

145
[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
# Configure modem pass-through for POTS entity 1000.
[RouterA-voice-dial-entity1000] modem passthrough protocol codec g711alaw
2. Configure Router B:
# Configure the called number as 1000 for VoIP entity 1000, and configure the destination IP
address as 1.1.1.1.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 1000 voip
[RouterB-voice-dial-entity1000] match-template 1000
[RouterB-voice-dial-entity1000] address sip ip 1.1.1.1
# Configure modem pass-through for VoIP entity 1000.
[RouterB-voice-dial-entity1000] modem passthrough protocol codec g711alaw
[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
# Configure modem pass-through for POTS entity 2000.
[RouterB-voice-dial-entity2000] modem passthrough protocol codec g711alaw