Dialogic DSI SS7MD Network Card User Manual


 
149
Dialogic
®
DSI SS7MD Programmer’s Manual Issue 3
7.7.5 SCCP_GTT_PATTERN – Define Global Title Pattern
Synopsis
The SCCP_GTT_PATTERN command defines a global title pattern to be matched for a global title translation.
Syntax
SCCP_GTT_PATTERN <pattern_id> <addr_indicator> <pc> <ssn> <global_title> [<gtai_pattern>]
Example
SCCP_GTT_PATTERN 5 0x10 0x0000 0 0x001104 44/+
Parameters
The SCCP_GTT_PATTERN command includes the following parameters:
<pattern_id>
A unique ID identifying the pattern.
<addr_indicator>
The address indicator octets.
<pc>
The point code. This is ignored if bit 0 of <addr_indicator> is not set.
<ssn>
The subsystem number. This is ignored if bit 1 of <addr_indicator> is not set.
<global_title>
The global title, excluding the global title address information, specified as a string of hexadecimal octets
starting with 0x.
<gtai_pattern>
The pattern of global title address information to match, specified as a string of hexadecimal digits in
left-to-right order (that is, the pairs of digits are not swapped as is the case for a BCD string). In addition
to hexadecimal digits, this string can contain the following characters:
7.7.6 SCCP_GTT_ADDRESS – Define Global Title Address
Synopsis
The SCCP_GTT_ADDRESS command defines a global title to be used as the primary or backup destination of
a translation. The global title address information of this command is combined with the global title being
translated by examining the mask provided in the SCCP_GTT command.
Syntax
SCCP_GTT_ADDRESS <address_id> <addr_indicator> <pc> <ssn> <global_title> [<gtai_replacement>]
Example
SCCP_GTT_ADDRESS 9 0x11 0x1234 0 0x001104 0-/-
Parameters
The SCCP_GTT_ADDRESS command includes the following parameters:
Character Function
- Padding (ignored).
+ Wildcard - matches any number of digits.
? Wildcard - matches exactly one digit.
/
Separator used to split the pattern into sections. Each section can be processed
differently, as specified by the <mask> parameter in the SCCP_GTT command.
NOTE: The “+” wildcard is not "greedy". It matches the shortest possible string of digits, that is, a
pattern such as “12+67” matches “1234567”, but does not match “1236767”.