___________________________________________________________________________________
LTGSM User Manual C32 Confidential
Destination Transform
The purpose of this transform is to modify the dialled number into any alternative form as
required by the gateway. For example, the gateway may be required to dial external numbers
using international number format e.g. 441845528002 when the user has dialled
01845528002. As with the CLI transform, an output mask is required. In the example above,
the mask would be 44XXXXXXXXXX (10 X’s) so that the number dialled by the gateway
would be ‘44’ followed by the last 10 digits of the number entered by the caller. PMX therefore
adds ‘44’ and drops the leading zero. Not only is an output mask required but we need to
know when to apply that mask. Therefore, at least one pattern is also required. In this case,
the pattern applies to the calling extension numbers i.e. when PMX sees a call from
extensions matching the pattern, the destination transform will be applied. Where PMX
extensions are in the range 78000 to 78999, a pattern of 78XXX (3 X’s) could be applied so
that calls from any extension in the 78xxx range would use the transform.
Click on the ‘Dest Transforms’ tab to see the list of destination transforms.
Click on ‘Add Destination Transform’ to create a description and output mask (including
‘Truncate Characters’ rule if required):
The output mask may take values from the configured patterns based on two wild card
character types:
X or _ - by entering an X or an underscore, the output mask (as shown in the screenshot
above) will use any literal value and suffix it with digits taken from the pattern. In this example,
a prefix of “44” will be used and the last ten digits of the output number will be the last ten
digits derived from the number on the pattern. So, if the destination is “01845528100” the
output will be “441845528100”.
$ - entering the dollar wild card in the output mask brings the “Truncate Characters” function
into play. Instead of taking the set number of characters from the end of the pattern (as in the
example above), truncating the pattern means that a set number of characters from the
beginning of a pattern will be dropped. So, if this transform were to allow patterns of differing
lengths but where the prefix was the same, the prefix could be removed without the need to
define separate transforms. For example, patterns of “0XXXXXXXXX” and “0XXXXXXXXXX”