You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

Allows to adapt the outgoing called number. Software 2.01 or higher is needed !!!


Special Characters Used in Pattern Matching

Within the pattern, we use various letters and characters to represent sets or ranges of numbers. Here are the most common letters:

  • X The letter X or x represents a single digit from 0 to 9.
  • Z The letter Z or z represents any digit from 1 to 9.
  • N The letter N or n matches any digit from 2-9

Ranges used in Pattern Matching

A numeric range can be used to match against a dialed number. This is also called a Character Set

  • [1237-9] This pattern matches any digit in the brackets. In this example, the pattern will match: 1,2,3,7,8,9

Wildcards used in Pattern Matching

The following special characters are considered wildcards

  • The '.' character matches one or more digits
  • The '!' character matches zero or more digits immediately


More information can be found here: https://docs.asterisk.org/Configuration/Dialplan/Pattern-Matching/


Name

Enter the name for this pattern.

Pattern

Pattern: "12." The number starting with "12" followed by one or more digits

Cut: "2" Removes the first 2 digits 

Prepend: "34" Add a "34" in front of the number

VoIP Connection

Select the VoIP provider where the Pattern should be used.


  • No labels