R2511-HP MSR Router Series Voice Configuration Guide(V5)
183
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter SIP server view.
sip-server N/A
4. Create a user to be registered
with and enter register user
view.
register-user tag
By default, no user is created to be
registered.
5. Apply a call rule set in register
user view.
srs tag
By default, no call rule set is applied
register user view.
Only one call rule set can be applied
in register user view.
Configuring an area prefix
When the local SIP server is connected to the public network, external users can originate calls to internal
users registered with the local SIP server. For calls from external users to internal users, the local SIP server
removes the configured area prefix from each called number to converts it to an internal short number.
For example, if an external user dials number 01050009999, the local SIP server checks whether any
area prefix matches the called number. If the area prefix 0105000 is available, the local SIP server
removes the prefix 0105000 from the called number and sends the call to 9999.
To configure an area prefix:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter SIP server view.
sip-server N/A
4. Configure an area prefix.
area-prefix prefix
By default, no area prefix is
configured.
If multiple area prefixes are
configured, the local SIP server
adopts longest match to deal with
a called number.
Configuring a call route
The local SIP server uses a static routing table to forward outgoing calls. If the called number matches a
static route, the local SIP server forwards the call to the specified destination. The called number does not
need to register on the local SIP server. For example, as an external number, 5552000 does not need to
register on the local SIP server. Configure a static route entry with the area prefix of 333 and called
number of 5552000 on the local SIP server. Upon receiving a call from local number 1000 to external
number 5552000, the local SIP server adds the area prefix 333 to the calling number, and forwards the
call to the destination specified in the static route entry.
To configure a call route entry:










