<p>The checking for which functions are allowed in certain types of routes is broken as it fails to perform a valid check over the sub-routes (named routes). <br>
The check cannot be performed at script parsing, but needs to be done after, by walking and following all the routes and sub-routes.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/563">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciW9DWpEa9WTj_XmU4k_bWLXLWMcsks5oYpAmgaJpZM4FO9oL.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/OpenSIPS/opensips/issues/563"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>