Dialogic
®
1000 and 2000 Media Gateway Series User’s Guide
261
Media Gateway Parsers
Rule Syntax
A call-class rule starts with the tag “rule”. All characters following the tag define the rule.
Following the rule are specifiers that define the location in the integration or display string of the
call party information.
For example, to describe the integration string:
[A1500*300#]
the rule might read:
rule A1\d(0-10)\*\d(0-10)*#
dst_number
1
src_number
2
reason
no-answer
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
1
src_name
1
dst_number
2
dst_name
2
reason
1
origin
internal
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”.
\nnn
Octal control character.
No
(min,max)
Braces. Follows other chars. If non-null, length must be
within min/max.
Yes
Table 16. Parser Regular Expressions (Continued)
Characters and
Meta-Characters
Purpose
Analog Parsing
Applicable
Содержание 1000Series
Страница 1: ...Dialogic 1000 and 2000 Media Gateway Series User s Guide December 2014 64 0346 13...
Страница 10: ...10 Dialogic 1000 and 2000 Media Gateway Series User s Guide Contents...
Страница 14: ...14 Dialogic 1000 and 2000 Media Gateway Series User s Guide Contents...
Страница 24: ...24 Dialogic 1000 and 2000 Media Gateway Series User s Guide About This Publication...
Страница 36: ...36 Dialogic 1000 and 2000 Media Gateway Series User s Guide Overview...
Страница 44: ...44 Dialogic 1000 and 2000 Media Gateway Series User s Guide Media Gateway Configuration...
Страница 190: ...190 Dialogic 1000 and 2000 Media Gateway Series User s Guide Parameter Reference...
Страница 200: ...200 Dialogic 1000 and 2000 Media Gateway Series User s Guide Call Progress Tones...
Страница 272: ...272 Dialogic 1000 and 2000 Media Gateway Series User s Guide Data Security...
Страница 286: ...286 Dialogic 1000 and 2000 Media Gateway Series User s Guide Diagnostics Figure 52 TDM Self Verification Web Page...
Страница 326: ...326 Dialogic 1000 and 2000 Media Gateway Series User s Guide...