<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">We do something similar for zrtp already. &nbsp;<div><br></div><div>Mike</div><div><br><div><div>On Jun 9, 2013, at 2:16 AM, Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">is there a particular reason why it should change every time?</blockquote>

<div><br></div><div>It's a UUID of the instance rather than the server (hostname is probably sufficient for that). That said there probably isn't a reason you couldn't set a persistent UUID yourself in a config file.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">anyway to configure it to not change?</blockquote>

<div><br></div><div>Currently no. It's generated anew on every start in switch_core.c:1701:switch_core_init()</div><div><div><br></div><div>It occurs after the switch.conf.xml file is loaded (line 1679) so it would be trivial to make a patch that reads it from that file and generates a random one if it hasn't been set in the config file.</div>

<div><br></div><div>It'd be more involved to generate a random one on the first startup that's then remembered on future startups. That should be possible too by caching it in a local file, as with freeswitch.serial.</div>

<div><br></div><div>-Steve</div><div><br></div><div><br></div><div><br></div><div><br><div class="gmail_quote">On 9 June 2013 05:03, Seven Du <span dir="ltr">&lt;<a href="mailto:dujinfang@gmail.com" target="_blank">dujinfang@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                    <div>As per&nbsp;<a href="http://www.mail-archive.com/freeswitch-dev@lists.freeswitch.org/msg02600.html" target="_blank">http://www.mail-archive.com/freeswitch-dev@lists.freeswitch.org/msg02600.html</a></div>

<div><div><br></div><div>The Core-UUID changes every time FS restart, is there a particular reason why it should change every time? &nbsp;anyway to configure it to not change? Or possible to add a Persistent-Core-UUID so it never changes when managing multiple FS instance at the same place?</div>

<div><br></div><div>Thanks.</div></div><span class="HOEnZb"><font color="#888888">
                </font></span></div><span class="HOEnZb"><font color="#888888">
                <div><div><br></div><div>--&nbsp;</div><div>Seven Du</div><div><span style="font-size:10pt"><a href="http://www.freeswitch.org.cn/" target="_blank">http://www.freeswitch.org.cn</a></span></div><div><a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a></div>

<div><a href="http://www.dujinfang.com/" target="_blank">http://www.dujinfang.com</a></div><div><br></div></div>
            </font></span><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-dev mailing list<br>FreeSWITCH-dev@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>