Deploying the snom ONE IP Telephone System
124
Samples of regular expressions are shown in Table 4-2.
Table 4-2.
Examples of Regular Expressions
Example 1
![0-9]{7}([0-9]*)!\1!t!100
This example is common in Europe. It is used to strip the main
number of the system so that the remaining numbers can be used
to identify the extension. If the extension is not found, the call
will be sent to the auto attendant. This example assumes that the
number starts with 7 digits (e.g., 0228123) and that the auto at-
tendant is located on extension 100.
Example 2
!([0-9]{4}$)!\1!t!100
This example always uses the last 4 digits of the number, regard-
less of how long the number is. This example assumes that the
number of digits is always the same.
Example 3
100
This example is common in U.S. offices, where it is typical to
send all calls to an auto attendant. This example assumes that the
auto attendant is located on account 100.
Example 4
!1([0-9]*)!\1!u!100
This example can be used to strip the first digit from a DID
number (default destination would be 100).
Regular Expressions and Direct Inward Dialing (DID)
Direct Inward Dialing (DID) allows users on your system to have their own (or even
multiple) local numbers assigned to them. With DIDs, anyone outside the company
can call the user’s unique phone number and reach the user on the same phone as those
who dial the user’s extension number internally. Before you can use DID numbers, you
will need to purchase them from a DID service provider, then link the DID numbers
to the extension accounts. The easiest way of doing this is by entering the DID number
into the
Account Number(s)
setting of the extension that will be using the DID.
Summary of Contents for ONE IP
Page 4: ......
Page 19: ...Part I Getting Started...
Page 20: ...Part I Getting Started...
Page 47: ...Part II Administering the System...
Page 48: ...Part II Administering the System...
Page 195: ...Deploying the snom ONE IP Telephone System 526...
Page 223: ......