DID Pattern and Caller ID Pattern
When you set up DID (Direct Inward Dialing, a phone number that routes callers straight to a specific destination on your system) numbers or Caller IDs in Cloud Voice, you can enter a Pattern instead of a single fixed number. A pattern uses special characters to describe a whole group of numbers at once, so one entry can match many callers or dialed numbers. This page explains each character you can use and shows how sample patterns behave.
The Pattern field
Section titled “The Pattern field”A Pattern field is shown wherever you configure DID numbers or Caller IDs. In it you can type a complete number, or combine the special characters below to match a range of numbers rather than an exact one.
| Character | What it matches |
|---|---|
X | Any single digit, 0 through 9. |
Z | Any single digit, 1 through 9. |
N | Any single digit, 2 through 9. |
[###] | Any one of the digits listed inside the brackets. For example, [123] matches 1, 2, or 3. |
. | One or more trailing digits. For example, 9011. matches any number that begins with 9011 but is longer than 9011 itself. |
! | Zero or more trailing characters. For example, 9011! matches any number that begins with 9011, including 9011 on its own. |
Pattern examples
Section titled “Pattern examples”The following patterns show which numbers each one accepts and which it rejects.
| Pattern | Matches | Does not match |
|---|---|---|
0591. | 05910, 0591012345 | 0591, 0592229929 |
+[13-5]XZN! | +4022, +1136282882 | +0136282882, +1106282882 |
0591ZXXXX | 059123456, 059133456 | 05912345, 059103456 |