<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">RE: the per session uuid:&nbsp; I've looked
      at the code recently, and I already don't recall the exact
      details.&nbsp; :-)&nbsp; However, if you have libuuid installed, it (apr
      and/or apr-util) defaults to using libuuid's functions and acts as
      nothing more than a shim.&nbsp; I think part of the computation is
      based upon /dev/urandom and part on the timestamp and possibly a
      counter, but I might be merging things in my head incorrectly as
      that might be the non-libuuid segment of the code...&nbsp; It's highly
      random, but as with any finite set, there is always a remote
      possibility of a collision.<br>
      <br>
      The FS core UUID is instantiated at start-up of FS, so every time
      FS is restarted, it gets a new FS core UUID.<br>
      <br>
      -Yossi<br>
      <br>
      On 05/20/2013 07:18 AM, Michael Jerris wrote:<br>
    </div>
    <blockquote
      cite="mid:1B994D4B-F3E1-4492-85FB-26610F19BF49@jerris.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      The apr uuid stuff already has a portion of the uuid thats
      per-instance. I've seen a lot of details in this thread that are
      not accurate to my recollection of this code. &nbsp;Has anyone actually
      dug in and looked at it? &nbsp;Its been a while by my recollection is
      each instance gets a certain number of bits from random at
      startup, then its a combination of time + counter. &nbsp;The only
      collision possibility would be the random at startup portion which
      would be much less likely than getting struck by lightning.
      <div><br>
      </div>
      <div>Mike</div>
      <div><br>
        <div>
          <div>On May 20, 2013, at 2:20 AM, Steven Ayre &lt;<a
              moz-do-not-send="true" href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;
            wrote:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">Sorry I meant to say with the daemon.
            (uuidd). That would be unique between <span></span>multiple
            &nbsp;instances too.&nbsp;If the time one is used its already unique
            to the server. But as I said, I'm not sure if that's the one
            FS uses.<br>
            <br>
            On Monday, May 20, 2013, Yossi Neiman wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">If
              you're running multiple FS instances, you could also use
              both the FS<br>
              server UUID in addition to the session UUID together.
              &nbsp;That'd mean<br>
              storing more data but it would probably be on the order of
              winning a<br>
              $500 million USD Powerball game twice within the same
              month...<br>
              <br>
              -Yossi<br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true" href="javascript:;"
                onclick="_e(event, 'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com/"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a moz-do-not-send="true" href="http://www.cudatel.com/"
                target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true"
                href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com/"
                target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true" href="javascript:;"
                onclick="_e(event, 'cvml',
                'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
            </blockquote>
_________________________________________________________________________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
            <br>
            FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
            <a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
            <a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
            <a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>