
How Call Addresses Are Processed
95
Diva SIPcontrol uses the style of regular expressions used by Perl. Most tutorials and how-
to's covering Perl regular expressions can apply to Diva SIPcontrol.
Common Expressions:
Matches the beginning of an address
Matches the end of an address
Matches the plus sign ("+")
Matches any number of occurrences of the previous character
Matches the previous character exactly n times
Matches the previous character between n and m times, both
inclusive
Marks a sub-condition to be referenced in result string and also
groups sets of characters
Alternate operator, matches either the left or right sub-condition
Matches any character given within the square brackets, i.e [123]
matches either 1, 2, or 3, but not 4, 5, or 123.
Considers case for everything after the tag.
For example "username@(?i) hosthame.tld" matches
"username$HOSTNAME.TLD" and "username@hostname.TLD", but
not "USERNAME@hostname.tld".
Common Results
Inserts the respective character into the output
Inserts the digits given only if the n
th
sub-condition of the condition
matched
Outputs what matched the whole condition
Komentarze do niniejszej Instrukcji