<ul class="task-list">
<li>removed unnecessary code from tm; </li>
<li>made difference in script_cb callbacks: there are callbacks which must be applied on all the messages like the one in dialog and are registered only once and callbacks that must be called only on some messages. The last ones must be freed so a difference must be done between them when registering. </li>
<li>modified msg_send to accept sip_msg* to avoid unnecessary double casting from sip_msg* to void* and vice versa;</li>
</ul>

<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/pull/386#issuecomment-64412565">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciSjw6xhj6q7aVZqNJQzPRkZitryNks5nRJH9gaJpZM4C_IPf.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/pull/386#issuecomment-64412565"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>