<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
reposting<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit, Amsterdam, May 2020
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2020Amsterdam/">https://www.opensips.org/events/Summit-2020Amsterdam/</a>
OpenSIPS Bootcamp, Miami, March 2020
<a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_Bootcamp_2020/">https://opensips.org/training/OpenSIPS_Bootcamp_2020/</a>
</pre>
<div class="moz-cite-prefix">On 1/6/20 4:21 AM, SamyGo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAJUJwtj6OC1xJ5x4vX73c=P-ZyPNcyr-RfSwrrZHs+_WHvSqVQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Bogdan, <br>
Thanks for taking time out, here are the related config params.
<div><br>
</div>
<div><font face="monospace">listen=bin:OPENSIPS_IP:6677<br>
</font></div>
<div><font face="monospace"><br>
</font></div>
<div><font face="monospace">### dialog module for
profiles/limits<br>
loadmodule "dialog.so"<br>
modparam("dialog", "db_mode", 0)<br>
modparam("dialog", "profiles_with_value",
"userConcurrent/b;userInbound/b;userOutbound/b;userInternational/b;userTotalCalls/b;inboundDomain/b;outboundDomain/b;globalDomain/b;prefixx<br>
/b;countryPrefix/b")<br>
modparam("dialog", "profile_replication_cluster", 1)<br>
modparam("dialog", "replicate_profiles_timer", 3000)<br>
modparam("dialog", "replicate_profiles_check", 10)<br>
</font></div>
<div><font face="monospace"><br>
</font></div>
<div><font face="monospace">### Clustering Module<br>
loadmodule "clusterer.so"<br>
modparam("clusterer", "db_mode", 1)<br>
modparam("clusterer", "my_node_id", 3)<br>
modparam("clusterer", "sharing_tag", "</font>gw1/1=active<font
face="monospace">")<br>
modparam("clusterer", "node_timeout", 20)<br>
</font></div>
<div><font face="monospace">modparam("clusterer",
"db_url","DB_MODULE://DB_USER:DB_PASS@DB_HOST/DB_NAME")</font><br>
</div>
<div><br>
</div>
<div>Routing logic: </div>
<div><a href="https://pastebin.com/6whjkhCs"
moz-do-not-send="true">https://pastebin.com/6whjkhCs</a> <br>
</div>
<div><br>
</div>
<div>Related Logs are here.</div>
<div><a href="https://pastebin.com/a9a3iDQh"
moz-do-not-send="true">https://pastebin.com/a9a3iDQh</a> </div>
<div><br>
</div>
<div>
<div><img src="cid:part3.12977015.50AE3672@opensips.org"
alt="image.png" class="" width="562" height="235"><br>
</div>
</div>
<div> Wireshark graph showing storm of binary packets when SIP
invite initiates the related route.<br>
</div>
<div><br>
</div>
<div><b>BONUS CRASH: </b>When in a cluster I add a new
profile_with_value , say someVariable/b and restart the first
box with this variable, the other boxes in cluster crash by
saying something along the lines of "unexpected someVariable
received"</div>
<div><br>
</div>
<div>I'm trying to get hold of the core files and as soon as
possible will share that here.</div>
<div><br>
</div>
<div><br>
</div>
<div>Regards,.</div>
<div>Sammy.</div>
<div><br>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>