To strip the leading digits from an inbound DID, so as to send only the last 4 digits, and have them match extension numbers directly, follow the below process.
7. Select Accept
8. Review Apply
9.Select Options in right corner of Path added
10. Select Add Route
11. Select Match, at Routing mode.
12. At the Pattern enter the first 6 digits followed by pipe character, and then X. (The pipe character indicates the strip position, in which the digits before pipe character stripped away, and matches the proceeding)
13. At Destination select Inbound Direct
By assigning the configured flexpath to the trunk where calls come in over, the firs 6 digits of "021700" will be stripped away and match the last 4 digits directly to extension.