<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">Hello Takeshi,<br>
<br>
As you probably noticed, the difference comes from several failed
dialogs (most likely from a negative reply). Since only confirmed
dialogs are replicated, the standby server will not receive all
statistics.<br>
<br>
Although the issue is harmless, to me it looks like it needs a
fix. I'll put in on my TODO list.<br>
<br>
Best regards,<br>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Dev
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 09/09/2013 03:29 PM, mayamatakeshi wrote:<br>
</div>
<blockquote
cite="mid:CABaNFCbV_TMXe569Htj9LQCBd9-w+2w9=aRQgQ5wnYgqbN+LFA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I am experimenting with the binary interface to replicate
dialog data between 2 instances of opensips<br>
<br>
</div>
After a batch of tests (done after restarting opensips), I
compared the stats for module dialog and verified they are not
the same:<br>
<div><br>
Active server:<br>
# opensipsctl fifo get_statistics dialog:<br>
dialog:active_dialogs = 0<br>
dialog:early_dialogs = 0<br>
dialog:processed_dialogs = 33<br>
dialog:expired_dialogs = 0<br>
dialog:failed_dialogs = 20<br>
dialog:create_sent = 13<br>
dialog:update_sent = 49<br>
dialog:delete_sent = 48<br>
dialog:create_recv = 0<br>
dialog:update_recv = 0<br>
dialog:delete_recv = 0<br>
<br>
<br>
Standby server:<br>
# opensipsctl fifo get_statistics dialog:<br>
dialog:active_dialogs = 0<br>
dialog:early_dialogs = 0<br>
dialog:processed_dialogs = 13<br>
dialog:expired_dialogs = 0<br>
dialog:failed_dialogs = 0<br>
dialog:create_sent = 0<br>
dialog:update_sent = 0<br>
dialog:delete_sent = 0<br>
dialog:create_recv = 13<br>
dialog:update_recv = 49<br>
dialog:delete_recv = 48<br>
<br>
<br>
</div>
<div>Is the above expected? (obs: repeating the tests always
produce the same numbers).<br>
</div>
<div><br>
</div>
<div>Regards,<br>
</div>
<div>Takeshi<br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>