dial plan should allow is stripping digits and either keeping the stripped digits or portion that is left. Kind of equivalent of a substring.
Use case example: I own a block of DIDs and I want to force all calls to those DIDs to go to a particular destination, leaving only last 4 digits of a number. DIDs are:
781-555-14xx
781-555-16xx
781-555-18xx
Right now I have to create a separate dial plan for each match and then use 14+vdigits, 16+vdigits and 18+vdigits in each plan. This could have been done with just one dial plan if I could program it to only keep last 4 digits of a number. One customer I have is setting up a toll bypass with several dozens DID ranges.
[This issue is created from Alex's comments to
XCF-926]
I am actually not sure if this is sipXconfig or sipXregistrar problem but I do not want it to remain untracked.
XCF-1142is fixed you can create a single rule:from 7815551[468] - 2 digits => 1 + "variable part of matched number"