- Help center
- Developers
- Voice
Parse phone numbers and reference resulting token rules
Numbering plan allows to parse phone numbers and store parsed tokens in call variables.
Names of the variables holding the parsed tokens are defined by regular expression matching groups, which are in format (?<varialbeName>...). For example, ^(?<iddPrefixDialed>(011|019|00))(?<numberDialed>\d{7,})$
After you've filled in the {Pattern} field make sure to test it using {Test} button available in the bottom of the form. Testing will show variables that will be created during actual call processing.
NOTE: by convention all names of all variables created by numbering plan rules are automatically prefixed with FSCTXT_
The variables can be referenced in call routing rules via {Variable} rule condition.
NOTE: the system will automatically prompt all variable names referenced in the numbering plan.