User`s guide
254 Dialogic
®
1000 and 2000 Media Gateway Series User’s Guide
Media Gateway Parsers
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:
Any other call reason token specified in a rule will cause the Media Gateway to ignore the received
string (if the received string matches the rule).
Table 17. Parser Reason Codes
Reason String Used by Media Gateway
no-answer Call is tagged as a forwarded on no-answer call.
busy Call is tagged as a forwarded on busy call.
direct Call is tagged as a direct call.
fwd-all Call is tagged as a forwarded all call.
disconnect Call is disconnected.