I am using Asterisk 13.16.0
According to the documentation, symbols “.” and “!” in CID/DID dialplan patterns are valid only at the end of a pattern. However, is there any way to mask “zero or more characters” at the beginning of a pattern?
Real case: my server has multiple trunks, and differens VoIP providers send CID differently. Assuming that the local phone number is 123 4567 and zone code is 495, a CID may potentially come in any of the following formats:
It would be nice to use a single pattern like _.4951234567, but “.” is ignored at the beginning.
Is there any way to avoid creation of multiple patterns?
Your comments are appreciated.