Rule Order; Reason Tokens - Dialogic DMG1000 User Manual

Dialogic 1000 and 2000 media gateway series
Hide thumbs Also See for DMG1000:
Table of Contents

Advertisement

[A1500*300#]
the rule might read:
rule A1\d(0-10)\*\d(0-10)*#
dst_number
src_number
reason
This means that when the regular expression is satisfied, the first digits string is the destination
number, the second digit string is the source number, and the reason code is 'no-answer'.
In order to describe the display:
[a= JOE 123 to BILL 456 b]
the rule might read:
rule .= \w*\s\d* to \w*\s\d*\s*~*
src_number
src_name
dst_number
dst_name
reason
origin
This means that when the regular expression is satisfied, the first digits string is the source number,
the second digits string is the destination number, the first word string is the source name, the
second word string is the destination name, and the reason code is at the end. The origin of the call
is "internal".

Rule Order

The parser attempts to match an input integration or display string with a rule contained in the
configuration data. The rules are compared to the specified string from the top rule to the bottom
rule. Because of this, rules that contain the most specific information should be listed in the
configuration file first. In this way, exact matches can occur before a more generic 'catch-all' rule is
reached.
If a rule does not match, the parser attempts to match the next rule in the list. If no rules match, then
the integration parsing fails. For this reason, the last rule in the rule list should be a very generic
rule that provides the best possibility of extracting the desired information from the integration
string.

Reason Tokens

The reason token specified in a rule is translated by the DMG1000 into corresponding IP call
information. The following reason token strings specified in a rule are recognized by the
DMG1000:
®
Dialogic
1000 and 2000 Media Gateway Series User's Guide — September 2007
Dialogic Corporation
1
2
no-answer
1
1
2
2
1
internal
Media Gateway Parsers
169

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents