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

165
[RouterB-voice-dial-entity2222] quit
[RouterB-voice-dial] entity 1111 voip
[RouterB-voice-dial-entity1111] address sip proxy
[RouterB-voice-dial-entity1111] match-template 1111
[RouterB-voice-dial-entity1111] quit
Configuration verification
After the local numbers of the two sides are registered on the registrar successfully, you can make calls
between telephone 1111 and telephone 2222 through the proxy server.
Configuring DNS involved calling for SIP UAs
Network requirements
Two routers work as SIP UAs and SIP calls are made through DNS.
Figure 44 Network diagram
Configuration procedure
1. Configure Router A:
# Configure the Ethernet interface.
<RouterA> system-view
[RouterA] interface ethernet 2/1
[RouterA-Ethernet2/1] ip address 192.168.2.1 255.255.255.0
# Map the IP address 192.168.2.2 to the host name cc.news.com.
<Sysname> system-view
[Sysname] ip host cc.news.com 192.168.2.2
# Configure voice entities.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2222 voip
[RouterA-voice-dial-entity2222] address sip dns cc.news.com
[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
2. Configure Router B:
# Configure the Ethernet interface.