<p>Hey <a href="https://github.com/miconda" class="user-mention">@miconda</a> </p>

<p>About the memory leak, I think that now is fixed but if you can confirm I'll be great. <br>
About indention, should be ok now. Sorry!</p>

<p>About tags/IP:PORT. When I did this I thought about tagging, but after a few changes I used HOST:PORT. We use evapi mainly with Cgrates, but in the distributed environment when we have n instances of Cgrates we need to send the data to each cgrates, if we send to all instances will be billed few times. </p>

<p>The idea to use host:port is mainly about host and port is given in the <code>evapi:connection-new</code>, so the info can be saved in htables + can be compared with the service discovery tool (in our case consul), so I think that is the easiest way. </p>

<p>If we use tag (uuid for example) more code will be needed in kamailio.cfg, so the simple way that I  found is using host+port. I spoke yesterday with <a href="https://github.com/danbogos" class="user-mention">@danbogos</a> about this, and he was agree with my use case.</p>

<p>If you need I can squash the commits into one, the second one doesn't add a real value. <br>
Regards</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 or <a href="https://github.com/kamailio/kamailio/pull/596#issuecomment-216828268">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZYQeXNNwEHzHDf9lOxwsI75pc8-Pks5p-HvIgaJpZM4IWQgE.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/596#issuecomment-216828268"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>