Hello Marco,

so, restarting is not indicating any issue for you, right?

Are you defining other stats via config? Or just use the one defined internally?

I will dig in more to see if I can spot what can be the reason.

Cheers,
Daniel


On 27.09.17 10:56, Marco Capetta wrote:
Hi Daniel,

I'm Marco a colleague of Andrew.
When we restart kamailio all the counters are correctly set to 0.
If there are active calls in the system the active_dialogs counter is then set to the number of records (dialogs) saved in db.

Regards,
Marco


On 09/26/2017 08:33 PM, Daniel-Constantin Mierla wrote:
Hello,

is the sip server restarted? After a quick investigation, it appears
that the saved dialogs in db are counted twice at startup ... I need to
look more at it to confirm or not.

Cheers,
Daniel


On 26.09.17 14:39, Andrew Pogrebennyk wrote:
Hi Daniel,

On 09/26/2017 08:48 AM, Daniel-Constantin Mierla wrote:
do you have dialogs terminated due to timeout or via rpc commands?
the rpc is not being used, but we do have a dlg_timeout of 12 hours.
There are a few calls every day that are terminated on timeout, but this
is a very small number compared to the total amount of calls on that system.

Andrew

--
Marco Capetta
Operations Engineer

Sipwise GmbH , Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Phone:  +43(0)1 301 2044
Email:  mcapetta@sipwise.com
Website:  www.sipwise.com

Particulars according Austrian Companies Code paragraph 14
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge
FN:305595f, Commercial Court Vienna, ATU64002206


-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com