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

176
[RouterB-voice] sip
[RouterB-voice-sip] media-protocol srtp
[RouterB-voice-sip] quit
# Specify 2222 as a local number of POTS voice entity 2222.
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 2222 pots
[RouterB-voice-dial-entity2222] line 1/0
[RouterB-voice-dial-entity2222] match-template 2222
# Configure VoIP voice entity 1111, and configure the IP address of the peer VoIP gateway as
192.168.2.1, and the called number as 1111.
[RouterB-voice-dial] entity 1111 voip
[RouterB-voice-dial-entity1111] address sip ip 192.168.2.1 port 5060
[RouterB-voice-dial-entity1111] match-template 1111
Configuration verification
SIP calls use the SRTP protocol to encrypt and authenticate media flows, protecting call conversations.
Troubleshooting
SIP UA configurations are simple. You can identify most problems by viewing configuration and
debugging information.
Failed to set up calls in the proxy server approach to SIP routing
Symptom
The UA could not set up calls when the proxy server approach was adopted to SIP routing.
Solution
Do the following:
Execute the display current-configuration command to check for information about the SIP proxy
server or the registrar.
If the proxy server or the registrar is not configured, configure it in SIP client view.
Failed to register with the registrar
Symptom
The UA could not register with the registrar.
Solution
Check that:
A route to the registrar is available.
The local configuration is consistent with that of the registrar.
A SIP authentication password is configured with the user command on the voice gateway if
authentication is necessary.
The configuration of realm in the authentication information is consistent with that on the registrar.
If the realm argument is locally configured, make sure the local configuration is the same as that on