Well, if you need dynamic match, and We need it, I see no other clean solution.
Now you can already use an avp inside the match like '^(00|\+)?$avp(s:match)$' but If you have more than one value to check... you have to do a bucle to acomplish that.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/5#issuecomment-67516261