Snom ONE IP Technical Manual page 142

Table of Contents

Advertisement

Deploying the snom ONE IP Telephone System
122
Replacement: The replacement field tells the system which expression to use
when dialing. In our example, expression 2 has been defined (as is indicated
by
\2
), so if
dialed.
The Request-URI (
By default, the system will look at the Request-URI ("u"). However, if you
want the system to look at the
(some Internet service providers provide the destination information in the
header). SIP recommends the Request-URI.
Delimiters (field separators): Each part must be separated by a delimiter (a
unique character which is not used elsewhere in the setting string). In the
example shown in Figure 4-12, an exclamation mark has been used.
Note: Expressions are written without any spaces:
Expression 1
Numbers
accepted
( [ 0- 9 ] { 7} )
!
Figure 4-12. Regular Expressions String—Multiple Expressions
Important: The example shown in Figure 4-12 simply shows that numerous expres-
sions can be used in one string; however, a single expression in many cases would be
sufficient. For example, to specify that only the last three digits of a number should be
used for dialing, you could use
!
Figure 4-13. Regular Expressions String—a Single Expression
9781234567
had been the incoming number,
To
header flag): This flag tells the system where to look.
PATTERN
Number of
Numbers
digits
accepted
([ 0 - 9 ] {3 }$)
!([0-9]{3}$)!\1
PATTERN
Expression 1
Numbers
Number of
accepted
digits
( [ 0 -9 ] { 3 } $)
To
header, use a
![0-9]{7}([0-9]{3}$)!\1!
Expression 2
Number of
digits
!
as shown in Figure 4-13:
REPLACEMENT
Expression
used
\ 1
!
567
would be
t
as shown in Figure 4-14
REPLACEMENT
Expression
used
!
\2
!
To

Advertisement

Table of Contents
loading

Related Products for Snom ONE IP

Table of Contents