R2511-HP MSR Router Series Voice Configuration Guide(V5)
173
[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 1111
Configuration verification
SIP calls from Telephone 1111 to telephone 2222 are carried over TLS. You can view the information of all
TLS connections using the display voice sip connection tls command.
Configuring SIPS URL scheme for outgoing SIP calls
Network requriements
Two routers Router A and Router B work as SIP UAs. It is required that the SIP calls from Telephone 1111
to telephone 2222 use the SIPS URL scheme.
Figure 49 Network diagram
Configuration procedure
You can use the SIPS URL scheme only when the transport layer protocol is TLS. Therefore, before
performing following configurations, you need to configure TLS for SIP as described in "Configuring TLS
to
carry outgoing SIP calls."
When a call is initiated, the TLS listening port of the calling party must be open; otherwise, the call
connection cannot be established.
For information about how to configure the TLS policy, see Security Configuration Guide.
1. Configure Router A:
# Configure the IP address of the Ethernet interface.
<RouterA> system-view
[RouterA] interface ethernet 2/1
[RouterA-Ethernet2/1] ip address 192.168.2.1 255.255.255.0
[RouterA-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.
[RouterA] voice-setup
[RouterA-voice] sip
[RouterA-voice-sip] crypto ssl-server-policy server
[RouterA-voice-sip] crypto ssl-client-policy client










