[SR-Users] Inconsistency between dlg_list and 'get_statistics dialog:'
mayamatakeshi
mayamatakeshi at gmail.com
Sat Feb 7 12:35:00 CET 2015
Daniel,
understood,
I checked by state and it is OK:
# kamctl fifo dlg_list |grep 'state:: 4' |wc -l
121
# kamctl fifo get_statistics dialog:
dialog:active_dialogs = 122
dialog:early_dialogs = 0
dialog:expired_dialogs = 280
dialog:failed_dialogs = 33181
dialog:processed_dialogs = 378572
Thanks and regards,
Takeshi.
Obs: for reference for other that might need to check this:
/* states of a dialog */
#define DLG_STATE_UNCONFIRMED 1 /*!< unconfirmed dialog */
#define DLG_STATE_EARLY 2 /*!< early dialog */
#define DLG_STATE_CONFIRMED_NA 3 /*!< confirmed dialog without a ACK yet */
#define DLG_STATE_CONFIRMED 4 /*!< confirmed dialog */
#define DLG_STATE_DELETED 5 /*!< deleted dialog */
From: kamailio-4.1/modules/dialog/dlg_hash.h
On Fri, Feb 6, 2015 at 7:04 PM, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:
> Hello,
>
> look at the details of the dialogs, some of them might be in terminated
> state and therefore no longer in actitive_dialog counter.
>
> The ones in terminated state should be removed from dlg_list with the next
> cleanup timer.
>
> Cheers,
> Daniel
>
>
> On 06/02/15 08:59, mayamatakeshi wrote:
>
> Hello,
>
> I am counting the number o dialogs using this:
>
> # kamctl fifo dlg_list |grep dialog:: |wc -l
> 126
>
> However when I use 'get_statistics dialog:' I get this:
>
> # kamctl fifo get_statistics dialog:
> dialog:active_dialogs = 67
> dialog:early_dialogs = 3
> dialog:expired_dialogs = 253
> dialog:failed_dialogs = 29529
> dialog:processed_dialogs = 338783
>
> The number of dialogs don't match (i tested this several times).
> What could be causing this? (I am using kamailio 4.1).
> Regards,
> Takeshi
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, May 27-29, 2015
> Berlin, Germany - http://www.kamailioworld.com
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150207/0d872a78/attachment.html>
More information about the sr-users
mailing list