<div dir="ltr">Hi Opensips Team,<div><br></div><div>We are facing an issue with a 2-node opensips cluster in opensips-2.4 running on Ubuntu.</div><div>We would be really grateful if you could help with this. We have spent a few days putting</div><div>DBG statements in the code, but didn't get anywhere significant.</div><div><div><br></div></div><div>The setup uses db_text module, with two separate files (having same data), in each node.</div><div>The opensips instances are running on AWS EC2 in the same subnet (security groups are </div><div>enabled).</div><div> </div><div>With this setup (please see clusterer_list_cap output below), I get this. Ideally, we only </div><div>require <i>dialog_replication_cluster</i> enabled. But if <i>profile_replication_cluster</i> is not enabled, </div><div>the dialogs do not get replicated. </div><div><span class="gmail-s3" style="font-family:Menlo;font-size:14px;font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s2" style="color:rgb(47,180,29);font-family:Menlo;font-size:14px;font-variant-ligatures:no-common-ligatures">Cluster:: 1</span><br></div><div><p class="gmail-p3" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;margin:0px;color:rgb(47,180,29)"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Capability:: dialog-dlg-repl State=not synced</span></p><p class="gmail-p3" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;margin:0px;color:rgb(47,180,29)"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Capability:: dialog-prof-repl State=Ok</span></p></div><div><br></div><div>This is an Active-Passive setup, with keepalived enabled to switch-over the Virtual IP.</div><div><br></div><div>When I enable INFO logs, I see these messages on startup -  </div><div><font size="1"><br></font><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:14:53.909986+10:00 edge-opensips /usr/local/sbin/opensips[6519]: ERROR:dialog:dlg_replicate_profiles: Failed to replicate dialog profile</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:14:54.011064+10:00 edge-opensips /usr/local/sbin/opensips[6519]: ERROR:dialog:dlg_replicate_profiles: All destinations in cluster: 1 are down or probing</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:14:54.011096+10:00 edge-opensips /usr/local/sbin/opensips[6519]: ERROR:dialog:dlg_replicate_profiles: Failed to replicate dialog profile</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:14:54.013319+10:00 edge-opensips /usr/local/sbin/opensips[6414]: INFO:core:probe_max_sock_buff: using snd buffer of 416 kb</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:14:54.013336+10:00 edge-opensips /usr/local/sbin/opensips[6414]: INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 8</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i style=""><font size="1">2019-06-04T05:14:54.014216+10:00 edge-opensips /usr/local/sbin/opensips[6461]: INFO:clusterer:handle_internal_msg: Node [2] is UP</font></i></span></p></div><div><br></div><div><br></div><div>When I enable DBG logs, these messages appear. </div><div>We saw that <i>dialog-dlg-repl</i>  capability remains in <i>CAP_SYNC_PENDING state. </i><br class="gmail-Apple-interchange-newline"></div><div><p class="gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(66,66,66)"><br></p><p class="gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:52.583634+10:00 edge-opensips /usr/local/sbin/opensips[8867]: DBG:clusterer:cl_register_cap: Registered capability: dialog-prof-repl</font></i></span></p><p class="gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:52.583651+10:00 edge-opensips /usr/local/sbin/opensips[8867]: DBG:clusterer:cl_register_cap: Registered capability: dialog-dlg-repl</font></i></span></p><p class="gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:52.583659+10:00 edge-opensips /usr/local/sbin/opensips[8867]: DBG:clusterer:cl_request_sync: requesting dialog-dlg-repl sync in cluster 1</font></i></span></p><p class="gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(66,66,66)"></p><p class="gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:52.583668+10:00 edge-opensips /usr/local/sbin/opensips[8867]: DBG:clusterer:cl_request_sync: failed to find sync source</font></i></span></p><br class="gmail-Apple-interchange-newline"></div><div>The following logs keep running all the time (right after startup, without any calls). </div><div>It appears that it is retrying to send some message but is stuck in a big loop </div><div>due to a state which does not get changed. Similar logs are seen on the other </div><div>node as well.</div><div><br></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i style=""><font size="1">2019-06-04T05:39:53.599460+10:00 edge-opensips /usr/local/sbin/opensips[8919]: INFO:clusterer:handle_internal_msg: Node [2] is UP</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599467+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:clusterer:match_node: matched node 2</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599483+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:core:tcp_conn_get: con found in state 0</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599485+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:core:tcp_conn_get: tcp connection found (0x7feee3585a98), acquiring fd</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599492+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:core:tcp_conn_get: c= 0x7feee3585a98, n=16, Usock=303</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599545+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:core:tcp_conn_get: after receive_fd: c= 0x7feee3585a98 n=8 fd=304</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599552+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:proto_bin_send: sending via fd 304...</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599560+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:async_tsend_stream: Async successful write from first try on 0x7feee3585a98</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599562+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:proto_bin_send: after write: c= 0x7feee3585a98 n/len=48/48 fd=304</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599565+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:clusterer:msg_send_retry: sent bin packet to node [2]</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599574+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_read_req: tcp_read_req end</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599689+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_read_req: Using the global ( per process ) buff</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599698+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_parse_headers: received a COMPLETE message</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599700+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_handle_req: completely received a message</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599702+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_handle_req: Nothing more to read on TCP conn 0x7feee35857e0, currently in state 0</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599706+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:core:call_callbacks: binary Packet CMD: 8. Capability: clusterer-internal</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599709+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:clusterer:bin_rcv_cl_packets: received clusterer message from: <a href="http://10.100.0.142:41737">10.100.0.142:41737</a> with source id: 2 and cluster id: 1</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599711+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:clusterer:handle_internal_msg: Received capability update with source [2]</font></i></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599713+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:core:bin_pop_str: Popped: 'dialog-dlg-repl' [15]</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599715+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:core:bin_pop_str: Popped: 'dialog-prof-repl' [16]</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599718+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_read_req: tcp_read_req end</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.624271+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_read_req: Using the global ( per process ) buff</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.624280+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_parse_headers: received a COMPLETE message</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.624282+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_handle_req: completely received a message</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.624284+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_handle_req: Nothing more to read on TCP conn 0x7feee35857e0, currently in state 0</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.624288+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:core:call_callbacks: binary Packet CMD: 4. Capability: dialog-prof-repl</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.624291+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:clusterer:bin_rcv_mod_packets: received bin packet from: <a href="http://10.100.0.142:41737">10.100.0.142:41737</a> with source id: 2 and cluster id: 1</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.624295+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:core:bin_pop_str: Popped: 'inbound' [7]</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.624298+10:00 edge-opensips /usr/local/sbin/opensips[8919]: DBG:proto_bin:bin_read_req: tcp_read_req end</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.699828+10:00 edge-opensips /usr/local/sbin/opensips[8983]: DBG:clusterer:match_node: matched node 2</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.699852+10:00 edge-opensips /usr/local/sbin/opensips[8983]: DBG:core:tcp_conn_get: con found in state 0</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.699855+10:00 edge-opensips /usr/local/sbin/opensips[8983]: DBG:core:tcp_conn_get: tcp connection found (0x7feee3585a98), acquiring fd</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.699863+10:00 edge-opensips /usr/local/sbin/opensips[8983]: DBG:core:tcp_conn_get: c= 0x7feee3585a98, n=16, Usock=429</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.599515+10:00 edge-opensips /usr/local/sbin/opensips[8984]: message repeated 2 times: [ DBG:core:handle_worker: read response= 7feee3585a98, 1, fd -1 from 52 (8919)]</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.699885+10:00 edge-opensips /usr/local/sbin/opensips[8984]: DBG:core:handle_worker: read response= 7feee3585a98, 1, fd -1 from 116 (8983)</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.699899+10:00 edge-opensips /usr/local/sbin/opensips[8983]: DBG:core:tcp_conn_get: after receive_fd: c= 0x7feee3585a98 n=8 fd=8</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.699910+10:00 edge-opensips /usr/local/sbin/opensips[8983]: DBG:proto_bin:proto_bin_send: sending via fd 8...</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.699952+10:00 edge-opensips /usr/local/sbin/opensips[8983]: DBG:proto_bin:async_tsend_stream: Async successful write from first try on 0x7feee3585a98</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i><font size="1">2019-06-04T05:39:53.699980+10:00 edge-opensips /usr/local/sbin/opensips[8983]: DBG:proto_bin:proto_bin_send: after write: c= 0x7feee3585a98 n/len=61/61 fd=8</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><i style=""><font size="1">2019-06-04T05:39:53.699994+10:00 edge-opensips /usr/local/sbin/opensips[8983]: DBG:clusterer:msg_send_retry: sent bin packet to node [2]</font></i></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif"><br></span></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><br></p><p class="gmail-p1" style="margin:0px;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif">===================== SETUP ============================</span></p></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><font size="1"># salt -G hosttype:edge-opensips cmd.run 'opensipsctl fifo clusterer_list'</font></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(46,174,187)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">edge-opensips.10-100-0-142</span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)">:</span></font></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Cluster:: 1</span></font></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Node:: 1 DB_ID=-1 URL=bin:<a href="http://10.100.0.141:5555">10.100.0.141:5555</a> Enabled=1 Link_state=Up<span class="gmail-Apple-converted-space">      </span>Next_hop=1 Description=none</span></font></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(46,174,187)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">edge-opensips.10-100-0-141</span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)">:</span></font></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Cluster:: 1</span></font></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Node:: 2 DB_ID=-1 URL=bin:<a href="http://10.100.0.142:5555">10.100.0.142:5555</a> Enabled=1 Link_state=Up<span class="gmail-Apple-converted-space">      </span>Next_hop=2 Description=none</span></font></p>
<p class="gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures;color:rgb(192,192,192)"><font size="1"><br></font></span></p><p class="gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(66,66,66)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><font size="1"># salt -G hosttype:edge-opensips cmd.run 'opensipsctl fifo clusterer_list_topology'</font></span></p><p class="gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(46,174,187)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">edge-opensips.10-100-0-141</span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)">:</span></font></p><p class="gmail-p3" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Cluster:: 1</span></font></p><p class="gmail-p3" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Node:: 1 Neighbours=2<span class="gmail-Apple-converted-space"> </span></span></font></p><p class="gmail-p3" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Node:: 2 Neighbours=1</span></font></p><p class="gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(46,174,187)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">edge-opensips.10-100-0-142</span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)">:</span></font></p><p class="gmail-p3" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Cluster:: 1</span></font></p><p class="gmail-p3" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Node:: 2 Neighbours=1<span class="gmail-Apple-converted-space"> </span></span></font></p><p class="gmail-p3" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;margin:0px;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Node:: 1 Neighbours=2</span></font></p><p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(159,160,28)"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space"><font size="1">  </font></span></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures"><font size="1"># salt -G hosttype:edge-opensips cmd.run 'opensipsctl fifo clusterer_list_cap'</font></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(46,174,187)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">edge-opensips.10-100-0-142</span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)">:</span></font></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Cluster:: 1</span></font></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Capability:: dialog-dlg-repl State=not synced</span></font></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Capability:: dialog-prof-repl State=Ok</span></font></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(46,174,187)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">edge-opensips.10-100-0-141</span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)">:</span></font></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Cluster:: 1</span></font></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Capability:: dialog-dlg-repl State=not synced</span></font></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">        </span></span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures">Capability:: dialog-prof-repl State=Ok</span></font></p>
<p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(159,160,28)"><font size="1"><br></font></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1"># salt -G hosttype:edge-opensips cmd.run 'netstat -anp | grep 5555'</font></span></p><p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(46,174,187);background-color:rgb(255,255,255)"><font size="1"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">edge-opensips.10-100-0-141</span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)">:</span></font></p><p class="gmail-p3" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29);background-color:rgb(255,255,255)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">tcp<span class="gmail-Apple-converted-space">        </span>0<span class="gmail-Apple-converted-space">      </span>0 <a href="http://10.100.0.141:5555">10.100.0.141:5555</a> <span class="gmail-Apple-converted-space">      </span>0.0.0.0:* <span class="gmail-Apple-converted-space">              </span>LISTEN<span class="gmail-Apple-converted-space">      </span>6409/opensips<span class="gmail-Apple-converted-space">   </span></span></font></p><p class="gmail-p3" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29);background-color:rgb(255,255,255)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">tcp<span class="gmail-Apple-converted-space">        </span>0<span class="gmail-Apple-converted-space">      </span>0 <a href="http://10.100.0.141:38272">10.100.0.141:38272</a><span class="gmail-Apple-converted-space">      </span><a href="http://10.100.0.142:5555">10.100.0.142:5555</a> <span class="gmail-Apple-converted-space">      </span>ESTABLISHED 6526/opensips<span class="gmail-Apple-converted-space">   </span></span></font></p><p class="gmail-p3" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29);background-color:rgb(255,255,255)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">tcp<span class="gmail-Apple-converted-space">        </span>0<span class="gmail-Apple-converted-space">      </span>0 <a href="http://10.100.0.141:5555">10.100.0.141:5555</a> <span class="gmail-Apple-converted-space">      </span><a href="http://10.100.0.142:38355">10.100.0.142:38355</a><span class="gmail-Apple-converted-space">      </span>ESTABLISHED 6461/opensips</span></font></p><p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(46,174,187);background-color:rgb(255,255,255)"><font size="1"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">edge-opensips.10-100-0-142</span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)">:</span></font></p><p class="gmail-p3" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29);background-color:rgb(255,255,255)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">tcp<span class="gmail-Apple-converted-space">        </span>0<span class="gmail-Apple-converted-space">      </span>0 <a href="http://10.100.0.142:5555">10.100.0.142:5555</a> <span class="gmail-Apple-converted-space">      </span>0.0.0.0:* <span class="gmail-Apple-converted-space">              </span>LISTEN<span class="gmail-Apple-converted-space">      </span>29658/opensips <span class="gmail-Apple-converted-space"> </span></span></font></p><p class="gmail-p3" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29);background-color:rgb(255,255,255)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">tcp<span class="gmail-Apple-converted-space">        </span>0<span class="gmail-Apple-converted-space">      </span>0 <a href="http://10.100.0.142:5555">10.100.0.142:5555</a> <span class="gmail-Apple-converted-space">      </span><a href="http://10.100.0.141:38272">10.100.0.141:38272</a><span class="gmail-Apple-converted-space">      </span>ESTABLISHED 29710/opensips <span class="gmail-Apple-converted-space"> </span></span></font></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)">













</p><p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(47,180,29)"><font size="1"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">    </span></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">tcp<span class="gmail-Apple-converted-space" style="">        </span>0<span class="gmail-Apple-converted-space" style="">      </span>0 <a href="http://10.100.0.142:38355">10.100.0.142:38355</a><span class="gmail-Apple-converted-space" style="">      </span><a href="http://10.100.0.141:5555">10.100.0.141:5555</a> <span class="gmail-Apple-converted-space" style="">      </span>ESTABLISHED 29775/opensips</span></font></p><p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(159,160,28)"><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(66,66,66)"><span class="gmail-Apple-converted-space">===========================================================</span></span></p><p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(159,160,28)"><br></p><p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(159,160,28)">******************* CONFIG ************************</p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">loadmodule "proto_bin.so"</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("proto_bin", "bin_port", 5555)</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("proto_bin", "bin_send_timeout", 200)</font></span></p><p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255);min-height:16px"><font size="1"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></font></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1"># CLUSTERER</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">loadmodule "clusterer.so"</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("clusterer", "db_mode", 0)</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("clusterer", "db_url", "text:///etc/opensips/db/")</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("clusterer", "db_table", "clusterer")</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("clusterer", "ping_interval", 4)</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("clusterer", "ping_timeout", 1000)   # tried setting higher value</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("clusterer", "node_timeout", 60)</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("clusterer", "current_id", 1)</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("clusterer", "current_info", "cluster_id=1,node_id=1,url=bin:<a href="http://10.100.0.141:5555">10.100.0.141:5555</a>")</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("clusterer", "neighbor_info", "cluster_id=1,node_id=2,url=bin:<a href="http://10.100.0.142:5555">10.100.0.142:5555</a>")</font></span></p><p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255);min-height:16px"><font size="1"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span></font></p><p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255);min-height:16px"><font size="1"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></font></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">## Dialog Module</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">loadmodule "dialog.so"</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("dialog", "dlg_match_mode", 1) #<span class="gmail-Apple-converted-space">  </span>DID_FALLBACK best method for now</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("dialog", "db_mode", 0)</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("dialog", "db_url", "text:///etc/opensips/db/")</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("dialog", "profiles_no_value", "inbound/b")</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1"># For dialog replication</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("dialog", "profile_replication_cluster", 1)</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("dialog", "dialog_replication_cluster", 1)</font></span></p><p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(159,160,28)">







































</p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">modparam("dialog", "dlg_sharing_tag", "vip=active")  # set to "vip=backup" in the other node</font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1"><br></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">---------------------------------</font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1"><br></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1"># DB_TEXT</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1"># cat /etc/opensips/db/clusterer<span class="gmail-Apple-converted-space"> </span></font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">id(int,auto) cluster_id(int) node_id(int) url(string) state(int) no_ping_retries(int) priority(int) sip_addr(string,null) flags(string,null) description(string,null)</font></span></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">10:1:1:bin\:10.100.0.141\:5555:1:3:50:NULL:NULL:primary</font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">








</font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1">20:1:2:bin\:10.100.0.142\:5555:1:3:50:NULL:NULL:secondary</font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><font size="1"><br></font></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">**************************************************</span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span style="font-variant-ligatures:no-common-ligatures">best regards,</span></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(66,66,66)"><span style="font-variant-ligatures:no-common-ligatures">Hari</span></p></div></div></div>