I am going to use module statistics for collection sip reasons which are 
interesting to me. I tried it at the lab and all works fine. It's time for 
prod. I have there about 1k active dialogs and about 400-500 rcv requests per 
second. 
 
One of my section for «stat» looks like:
 
#### Statistics
loadmodule "statistics.so"
## fs
modparam("statistics", "variable", "fs200")
modparam("statistics", "variable", "fs403")
modparam("statistics", "variable", "fs404")
modparam("statistics", "variable", "fs408")
modparam("statistics", "variable", "fs480")
modparam("statistics", "variable", "fs487")
modparam("statistics", "variable", "fs488")
modparam("statistics", "variable", "fs4xx")
modparam("statistics", "variable", "fs500")
modparam("statistics", "variable", "fs603")
 
##mss
The same lines
…
modparam("statistics", "variable", "mss487")
….
 
##sip_app
...
The same lines
…
modparam("statistics", "variable", "sip_app480")
...
 
## statistics for fs
        if ($rs == "403")
        {
            update_stat("fs403", 1);
        } 
        else if ($rs == "408")
        {
            update_stat("fs408", 1);
        }    
        else if ($rs == "480")
        {
            update_stat("fs480", 1);
        }
        else if ($rs == "fs487")
        {
            update_stat("487", 1);
        }
        else if ($rs == "fs488")
        {
            update_stat("fs488", 1);
        }
        else if ($rs == "500")
        {
            update_stat("fs500", 1);
        }
        else if ($rs == "603")
        {
            update_stat("fs603", 1);
        }
        else
        {
            update_stat("fs4xx", 1);
        }
 
and so on.
 
 
 
I have three such section: for freeswitch, msc and  another sip application
 
 
My question is  will this configuration has any influence  loading opensips? Do 
I need add some shem memory for example? Now I have 256. Do I need to reset 
such variables periodically? 
Or will it not have a significant impact on how opensips works?
 
--
Oleg Podguyko
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to