R2511-HP MSR Router Series Voice Configuration Guide(V5)
174
[RouterA-voice-sip] listen transport tls
[RouterA-voice-sip] url sips
[RouterA-voice-sip] transport tls
[RouterA-voice-sip] quit
# Configure voice entities.
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2222 voip
[RouterA-voice-dial-entity2222] address sip ip 192.168.2.2 port 5061
[RouterA-voice-dial-entity2222] match-template 2222
[RouterA-voice-dial-entity2222] quit
[RouterA-voice-dial] entity 1111 pots
[RouterA-voice-dial-entity1111] line 1/0
[RouterA-voice-dial-entity1111] match-template 1111
[RouterA-voice-dial-entity1111] quit
[RouterA-voice-dial] quit
2. Configure Router B:
# Configure the IP address of the Ethernet interface.
<RouterB> system-view
[RouterB] interface ethernet 2/1
[RouterB-Ethernet2/1] ip address 192.168.2.2 255.255.255.0
[RouterB-Ethernet2/1] quit
# Reference the created SSL server and client policies for SIP. Specify TLS as the transport layer
protocol for both outgoing and incoming SIP calls, and specify URL scheme for the outgoing SIP
call as SIPS.
[RouterB] voice-setup
[RouterB-voice] sip
[RouterB-voice-sip] crypto ssl-server-policy server
[RouterB-voice-sip] crypto ssl-client-policy client
[RouterB-voice-sip] listen transport tls
[RouterB-voice-sip] url sips
[RouterB-voice-sip] transport tls
[RouterB-voice-sip] quit
# Configure voice entities.
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 2222 pots
[RouterB-voice-dial-entity2222] line 1/0
[RouterB-voice-dial-entity2222] match-template 2222
[RouterB-voice-dial] entity 1111 voip
[RouterB-voice-dial-entity1111] address sip ip 192.168.2.1 port 5061
[RouterB-voice-dial-entity1111] match-template 111
Configuration verification
SIP calls between the two parties use the SIPS URL scheme.










