<h3>Description</h3>
<p>Not shure is this relevant issue.<br>
according to rfc3261:</p>
<blockquote>
<p>When a tag is generated by a UA for insertion into a request or<br>
response, it MUST be globally unique and cryptographically random<br>
with at least 32 bits of randomness.</p>
</blockquote>
<p>Kamailio has 16 instead and distribution is not good.<br>
I look at tags for 419485 sip flows (different callid) and table below (top keys ordered by count):<br>
tag suffix; count for different flows with this suffix<br>
ed54 6258<br>
d118 5988<br>
56ce 5923<br>
a7a5 5220<br>
de51 2150<br>
82d8 1143<br>
cf52 890<br>
af92 740<br>
7b5f 534<br>
85f7 307<br>
e553 163<br>
7f7e 138<br>
1d55 130<br>
1afe 62<br>
5a69 43<br>
7caa 18<br>
8474 18<br>
9db2 18<br>
11d3 18<br>
f9ff 18<br>
5420 17<br>
dae6 17<br>
908d 17<br>
ede4 17<br>
09ee 17<br>
96be 17<br>
25dc 17<br>
af6d 16<br>
2506 16<br>
3da0 16<br>
f161 16<br>
1c29 16</p>
<h4>SIP Traffic</h4>
<p>To: sip:039*101@host:5071;tag=555d2c3eafafcba8ac92b676e91bb6ed.58eb</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/issues/1164">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZamhICVdIJy9vxfLbgvL7q_dmA3Eks5sG-p7gaJpZM4ODywm">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZRNcaCFVRw0MghOHh6hteUzaqw2Iks5sG-p7gaJpZM4ODywm.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/issues/1164"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"to tags generation (#1164)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1164"}}}</script>