[OpenSIPS-Users] Feature Request - drouting

Mark Farmer farmorg at gmail.com
Thu Aug 5 12:54:51 EST 2021


Hi everyone

I am using drouting() which is working well but I am finding the prefix
matching a little limited. It would be really useful to be able to match
mid-range prefixes. For example, in Asterisk you can do do things like:

_+44123456789[2,3]
Which only matches prefixes ending 2 or 3.

Or:
_+44123456789[2-5]
Which matches prefixes ending 2,3,4 or 5

Would it be feasible to add this ability to drouting()?

Thanks and regards
Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210805/98612b52/attachment.html>


More information about the Users mailing list