<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>DMQ is a good option and you can test if restarting one Kamailio,
this kamailio sync the data with the other/s.</p>
<p>DMQ_USRLOC using this logic with parameter sync.<br>
</p>
Regards
<pre class="moz-signature" cols="72">---
I'm SoCIaL, MayBe</pre>
<div class="moz-cite-prefix">El 26/11/2021 a las 7:38 a. m., Karsten
Horsmann escribió:<br>
</div>
<blockquote type="cite"
cite="mid:CAFArqsbLFQ02nBPV16Zg=PZy5hPPQbG=m9QXUi18TYpByD5YEQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">Hi,
<div><br>
</div>
<div>using dialog or dlg makes your life easier.</div>
<div><br>
</div>
<div>-> Counting calls with htable and replicating with DMQ
to other node<br>
(can the data survive from a restart?)<br>
</div>
<div><br>
</div>
<div>htable can write back to the database. But that solution
needs a bit more (getting the data - manually or via
dialog/dlg and replicate that htable, how to work with
htable)?</div>
<div><br>
</div>
<div>As an untested idea - you can define two htables. One
htable_nodeA the other htable_nodeB. </div>
<div>Node A writes only into htable_nodeA and vice versa. So
there should no race condition.</div>
<div>And then you may check htable_nodeA customerX calls and
htable_nodeB customerX calls (sum that) on new calls.</div>
<div><br>
</div>
<div>Many ways.</div>
<div><br>
</div>
<div>Kind regards</div>
<div>Karsten</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Am Fr., 26. Nov. 2021 um
13:26 Uhr schrieb Henning Westerholt <<a
href="mailto:hw@gilawa.com" moz-do-not-send="true"
class="moz-txt-link-freetext">hw@gilawa.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
you could also use dialog profile functionality (single
server or also with DMQ sync), also probably also the new
dlgs module (single server)<br>
<br>
Cheers,<br>
<br>
Henning<br>
</blockquote>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
</body>
</html>