Dialogic 4000 Series SU4.1 Guida Utente Pagina 253

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 316
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 252
Dialogic
®
1000 and 2000 Media Gateway Series User’s Guide 253
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.
Ye s
Table 16. Parser Regular Expressions (Continued)
Characters and
Meta-Characters
Purpose
Analog Parsing
Applicable
Vedere la pagina 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 315 316

Commenti su questo manuale

Nessun commento