Hi Denis,
Please apply this small patch that will provide some extra on startup
(about the dialogs found in DB) - look for a line with marked with "xXx"
and see if the printed values are correct.
Regards,
Bogdan
Denis Putyato wrote:
Hello Bogdan
- Server:: OpenSIPS (1.6.4-2-notls (x86_64/linux))
- fork = yes (default)
-
listen=xxx.xxx.xxx.xxx:5060
listen=xxx.xxx.xxx.xxx:5068
- i do not use tcp
-
loadmodule "db_mysql.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "signaling.so"
loadmodule "auth.so"
loadmodule "rr.so"
loadmodule "maxfwd.so"
loadmodule "textops.so"
loadmodule "mi_fifo.so"
loadmodule "uri.so"
loadmodule "domain.so"
loadmodule "drouting.so"
loadmodule "siptrace.so"
loadmodule "avpops.so"
loadmodule "dialplan.so"
loadmodule "dialog.so"
loadmodule "permissions.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "alias_db.so"
loadmodule "auth_db.so"
loadmodule "nathelper.so"
loadmodule "acc.so"
loadmodule "uac.so"
loadmodule "aaa_radius.so"
-----Original Message-----
From: users-boun...@lists.opensips.org
[mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu
Sent: Monday, February 28, 2011 1:17 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] dialog statistic problem
Hi Denis,
What revision number are you using ?
Also, do you have "fork" enabled?
Do you use multiple UDP interfaces?
Do you have TCP enabled ?
What are the modules you are using ?
Regards,
Bogdan
Denis Putyato wrote:
Hello!
I found active dialog statistic problem
For example in dialog::active_dialogs I have 130 active calls, after
restart Opensips I already have dialog::active_dialogs nearly 260,
i.e. the number of active dialogs increase by 2.
Meanwhile, after restart, opensipsctl fifo dlg_list | grep dialog:: |
wc –l shows me that really number of calls greatly less.
The opensipsctl fifo reset_statistics didn`t help. Only when I stop
all traffic via Opensips (but not Opensips) and then restart one,
dialog::active_dialogs become zero and begin increase when new calls
come to Opensips
Thank you for any help
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 28th February 2011
OpenSIPS solutions and "know-how"
Index: modules/dialog/dialog.c
===================================================================
--- modules/dialog/dialog.c (revision 7754)
+++ modules/dialog/dialog.c (working copy)
@@ -709,6 +709,8 @@
static int child_init(int rank)
{
if (rank==1) {
+ LM_CRIT(" xXx - active dialogs=%d , early=%d \n",
+ active_dlgs_cnt,early_dlgs_cnt);
if_update_stat(dlg_enable_stats, active_dlgs, active_dlgs_cnt);
if_update_stat(dlg_enable_stats, early_dlgs, early_dlgs_cnt);
}
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users