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

194
5000 5000 online 1.1.1.1:5060
{ Make a call from the external number 55661000 to the internal number 88995000. The local SIP server
Router C removes the area prefix 8899 from 88995000 to convert it into the internal short number 5000. Then, the
local SIP server alerts Phone 5000, and both parties can communicate after Phone 5000 is picked up.
Configuring a call route
Network requirements
As shown in Figure 57:
The internal numbers of a company are four-digit long and the area prefix is 8899.
External phone 55665000 attached to Router B is not registered with the local SIP server on Router
C.
Internal phone 1000 attached to Router A is already registered with Router C.
When a user in the company dials the external number, the local SIP server will route the call according
to the configured call-out route and add area prefix 8899 to the calling number.
Figure 57 Network diagram
Configuration procedure
1. Configure Router C:
# Configure the router to operate in the alone mode.
<RouterC> system-view
[RouterC] voice-setup
[RouterC-voice] sip-server
[RouterC-voice-server] server-bind ipv4 2.1.1.2
[RouterC-voice-server] server enable
# Configure a call route.
[RouterC-voice-server] call-route
[RouterC-voice-server-route] trunk 0 called-number 55665000 ipv4 2.1.1.1 area-prefix
8899
# Configure authentication information for Phone 1000.
[RouterC-voice-server] register-user 1000
[RouterC-voice-server-user1000] number 1000
[RouterC-voice-server-user1000] authentication username 1000 password simple 1000
2. Configure Router A:
# Configure voice entities.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] match-template 1000
[RouterA-voice-dial-entity1000] line 2/0