<p>Well, if you need dynamic match, and We need it, I see no other clean solution.<br>
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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/5#issuecomment-67516261">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZdEoKDE29_vYi4gopqtsRkNZe7wcks5nYv1cgaJpZM4DGTer.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/5#issuecomment-67516261"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>