Figure 9-1: Prefix To Add Field With Notation - AudioCodes Mediant 2000 User Manual

Media gateway
Hide thumbs Also See for Mediant 2000:
Table of Contents

Advertisement

Notation
x
Represents any single digit.
Pound sign (#)
Represents the end of a number.
at the end of a
number
A single
Represents any number.
asterisk (*)
x[n,l]y
For a description, refer to the text
appearing after this table.
The device also supports a notation for adding a prefix where part of the prefix is first
extracted from a user-defined location in the original destination or source number. This
notation is entered in the 'Prefix to Add' field in the Number Manipulation tables:
x[n,l]y...
where,
x
= any number of characters/digits to add at the beginning of the number (i.e. first
digits in the prefix).
[n,l] = defines the location in the original destination or source number where the digits
y
are added:
n
= location (number of digits counted from the left of the number) of a specific
string in the original destination or source number.
l
= number of digits that this string includes.
y = prefix to add at the specified location.
For example, assume that you want to manipulate an incoming IP call with destination
number +5492028888888 (area code 202 and phone number 8888888) to the number
0202158888888. To perform such a manipulation, the following configuration is required in
the Number Manipulation table:
1.
The following notation is used in the 'Prefix to Add' field:
0[5,3]15
where,
0 is the number to add at the beginning of the original destination number.
[5,3] denotes a string that is located after (and including) the fifth character (i.e.,
the first '2' in the example) of the original destination number, and its length being
three digits (i.e., the area code 202, in the example).
15 is the number to add immediately after the string denoted by [5,3] - in other
words, 15 is added after (i.e. to the right of) the digits 202.
2.
The first seven digits from the left are removed from the original number, by entering
"7" in the 'Stripped Digits From Left' field.
In this configuration, the following manipulation process occurs: 1) the prefix is calculated,
020215 in the example; 2) the first seven digits from the left are removed from the original
SIP User's Manual
Description

Figure 9-1: Prefix to Add Field with Notation

400
Example
-
54324xx#: represents a 7-digit number
that starts with 54324.
*: represents any number (i.e., all
numbers).
0[5,3]15
Document #: LTRT-68809
Mediant 2000

Advertisement

Table of Contents
loading

Table of Contents