80 • Routing
[
S N O M
4 S P
R O X Y
/ R
E G I S T R A R
M
A N U A L
]
snom technology AG • 81
[
S N O M
4 S P
R O X Y
/ R
E G I S T R A R
M
A N U A L
]
Rules 2 through 4 match destinations with 1 to 3 digits. They are
marked as “incomplete”, giving the user the chance to enter more digits.
Example 2: North American Dial Plan
This example is suitable for a proxy located in the USA.
Rule
Mode
User/
Group
Pattern
Destination
1
Incomplete
*
*
2
Use Gateway
*
sip:911*@~*
sip:911@gw1
3
Use Gateway
*
sip:[1-9]$$$$$$@~*
sip:{user}@gw2
4
Use Gateway
*
sip:0[1-
9]$$$$$$$$$@~*
sip:{user}@gw2
5
Use Gateway
*
sip:00%@~*
sip:{user}@gw2
Rule 1 defaults all calls (not for registered users) to “incomplete”.
Rule 2 redirects all emergency calls to the gateway number one, which
could be connected a local analog line. Rule 3 redirects local calls (7 digits
not starting with 0) to the second gateway; rule 4 does this for national
calls (a prefix of 0 indicates a national call). International calls start with
two 0s and get redirected in any case to the gateway; this works only if
the gateway is able to generate incomplete responses.
Example 3: Do not allow cell phone numbers to
certain users
In this example, only certain users may call cell phone numbers
(400-499 and 101). This example makes sense if the users 101 and 400-
499 are listed in the “well known” user list in the User Management list.
This example is for Germany.
Mode
User/Group
Pattern
Destination
1
Incomplete
*
sip:$@~*
2
Incomplete
*
sip:$$@~*
10.
Summary of Contents for 4S Media Server
Page 1: ...Administrator s Manual snom 4S SIP Proxy Registrar Version 2 30 ...
Page 14: ...14 VoIP Protocol S N O M 4 S P R O X Y R E G I S T R A R M A N U A L 1 ...
Page 84: ...84 Routing S N O M 4 S P R O X Y R E G I S T R A R M A N U A L 10 ...
Page 98: ...98 Maintenance S N O M 4 S P R O X Y R E G I S T R A R M A N U A L 13 ...