
Allows to adapt the incoming number in the SIP INVITE to match the configured 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/
Example: Phone numbers are configured in the format: - 0287191123450
- 0287191123451

Incoming SIP INVITE contains the number: 0049287191123450 0049287191123450 ≠ 0287191123450 → Incoming call is not working. You need to change that the incoming number is changed: - Strip the 0049
- Add an 0
|