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

170
[RouterB] voice-setup
[RouterB-voice] sip
[RouterB-voice-sip] listen transport tcp
[RouterB-voice-sip] quit
# Configure the 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
[RouterB-voice-dial-entity1111] match-template 1111
Configuration verification
SIP calls from Telephone 1111 to telephone 2222 are carried over TCP. You can view the information of
all TCP connections using the display voice sip connection tcp command.
Configuring TLS to carry outgoing SIP calls
Network requirements
Two routers Router A and Router B work as SIP UAs. It is required that the SIP calls between the two
parties be carried over TLS.
Figure 48 Network diagram
Confguration procedure
The certification authority (CA) server runs RSA Keon in this configuration example.
For information about how to configure the TLS policy, see Security Configuration Guide.
IMPORTANT:
To make sure the certificate on the device can be used, be sure that the device system time falls within the
v
alidity time of the certificate.
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