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
On 18 Dec 2014, at 17:50, Victor Seva notifications@github.com wrote:
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.
I see that the functionality is cool, but wonder if we should make it easier to dynamically manipulate dialplans instead.
On that topic - why avp stacks, why not hash tables?
/O