All the filter options that you add and configure must match (be true) for the associated policy event(s) to be evaluated.
| Setting | Description |
|---|---|
| Remote Phone Number |
Enter one regular expression that defines a pattern for one or more phone numbers. Do not enter the leading and trailing / (slash) characters. Start the regular expression with the ^ (caret) character and end it with the $ (dollar sign) character. Examples Match only U.S. numbers with a 900 or 976 area code:
Match exactly 6505551212, with or without the U.S. country code: Match any legal U.S. phone number: When a regular expression is entered, the filter criteria matches only when a messaging app attempts to send a message to or receive a message from a number that matches the regular expression. Service Design Center checks the validity of the entered regular expression. If the regular expression is not valid, you will see an error and you will not be able to save the filter. See Regular Expression Tutorial and Examples for some basics on how to build valid regular expressions.
|
| Direction |
Select:
|
| SMS Body |
Enter one regular expression that defines a pattern of text to match any part of the body of text message. When a regular expression is entered, the filter criteria matches only when the regular expression matches some part of the message. Service Design Center checks the validity of the entered regular expression. If the regular expression is not valid, you will see an error and you will not be able to save the filter. See Regular Expression Tutorial and Examples for some basics on how to build valid regular expressions.
|