<p>Hello,</p>

<ul>
<li>You cannot put unset_dlg_profile in a "normal" route (route[FOO])</li>
<li>You cannot call a named onreply_route from another onreply_route()</li>
<li>You cannot use more than one named onreply_route using t_on_reply()</li>
</ul>

<p>This makes it effectively impossible to split a huge onreply_route into several subroutes if you want to use unset_dlg_profile().</p>

<p>Maybe there should be a onreply_route() function to call onreply_route(), or the check for route type at startup time should be more relaxed somehow.</p>

<p>This happend using opensips 1.8</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/554">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciXwoAE6x2Zv-rOwjLqdCClTvVrbtks5oStqNgaJpZM4FBCLw.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/554"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>