<p><a href="https://github.com/miconda" class="user-mention">@miconda</a> there's no problem to copy dispatcher. But who's gonna test the new one?</p>

<p>About code duplication: the whole dispatcher logic is common for these 2 modules. The only difference is how we iterate through the "list" of pools and indexed search. The only way for improvement I see at the moment is to unify iteration and that was in my todo's.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/578#issuecomment-234224643">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZbEfhrei3w8SNXShOs8T911N0_3Cks5qX1Q5gaJpZM4IMihm">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZVk6extZGmN_RSi7Z14Kjglzly0fks5qX1Q5gaJpZM4IMihm.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/pull/578#issuecomment-234224643"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>