Hello,

lines starting with # (or what is after # in a line) are comments, excepting the #! preprocessor directives. So the loadmodule for counters is a comment. See more at:

https://www.kamailio.org/wiki/cookbooks/5.2.x/core#comments

https://www.kamailio.org/wiki/cookbooks/5.2.x/core#config_pre-processor_directives

Also to have in mind for the future, sr-dev mailing list is intended for development discussions. Question related to configuration file and use of kamailio have to be posted to sr-users mailing list.

Cheers,
Daniel

On 26.03.19 03:56, Zhong, Alec (NSB - CN/Qingdao) wrote:

Hello,

 

Could you please help check below error?

 

I would like to add a script counter to count the number of received message by kamailio.

Anything wrong to use counters module?

Thank you in advance.

 

Kamailio.cfg change

 

Kamailo log


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com