[OpenSIPS-Users] Stats for module dialog using binary interface

Liviu Chircu liviu at opensips.org
Tue Sep 10 12:01:38 CEST 2013


Hello Takeshi,

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.

Although the issue is harmless, to me it looks like it needs a fix. I'll 
put in on my TODO list.

Best regards,

Liviu Chircu
OpenSIPS Dev
http://www.opensips-solutions.com

On 09/09/2013 03:29 PM, mayamatakeshi wrote:
> I am experimenting with the binary interface to replicate dialog data 
> between 2 instances of opensips
>
> After a batch of tests (done after restarting opensips), I compared 
> the stats for module dialog and verified they are not the same:
>
> Active server:
> # opensipsctl fifo get_statistics dialog:
> dialog:active_dialogs = 0
> dialog:early_dialogs = 0
> dialog:processed_dialogs = 33
> dialog:expired_dialogs = 0
> dialog:failed_dialogs = 20
> dialog:create_sent = 13
> dialog:update_sent = 49
> dialog:delete_sent = 48
> dialog:create_recv = 0
> dialog:update_recv = 0
> dialog:delete_recv = 0
>
>
> Standby server:
> # opensipsctl fifo get_statistics dialog:
> dialog:active_dialogs = 0
> dialog:early_dialogs = 0
> dialog:processed_dialogs = 13
> dialog:expired_dialogs = 0
> dialog:failed_dialogs = 0
> dialog:create_sent = 0
> dialog:update_sent = 0
> dialog:delete_sent = 0
> dialog:create_recv = 13
> dialog:update_recv = 49
> dialog:delete_recv = 48
>
>
> Is the above expected? (obs: repeating the tests always produce the 
> same numbers).
>
> Regards,
> Takeshi
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130910/e6070540/attachment.htm>


More information about the Users mailing list