Behavior Policy Settings

Use this information when you are adding or editing a behavior policy.

Setting Description
Allowable Phone Number

Determines the allowable phone numbers that customers can enter into their favorites slots.

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: ^(?:+?1)?(900|976)[0-9]{7}$ 

  • (?:+?1)? allows for the possibility of 1 or +1, the U.S. country code.
  • (900|976) requires matching either 900 or 976.
  • [0-9]{7} requires matching the digits 0 through 9 exactly 7 times.
  • ^ ensures no characters come before the number.
  • $ ensures no characters come after the number.

Match exactly 6505551212, with or without the U.S. country code: ^(?:+?1)?(6505551212)$

Match any legal U.S. phone number: ^(?:+?1)?[2-9][0-9]{2}[2-9][0-9]{6}$

When a regular expression is entered, it determines what numbers can be added by customers who receive a plan based on the behavior policy. If a customer tries to enter a number in a slot that does not match the regular expression, they will see an error.

Maximum Number of Favs

Required. Determines the number of favorites slots a customer can have.

Once a behavior policy has been added to a filter in a policy and that policy is published, you can only increase the number of slots in the behavior policy.
Behavior Allowed

Determines what a customer can do in each favorites slot. 

  • Add Number
  • Change Existing Number
  • Replace Deleted Number
  • Delete Number

These are separately defined behaviors because you may want to charge for them and you may want to charge different amounts for them. 

Charging a fee for deleting, changing, and replacing numbers in a slot prevents customers from "gaming" the system, from changing a slot from number to different number to different number and gaining access to free calling to more favorite numbers than you want to allow.