[sr-dev] add script counter.

Zhong, Alec (NSB - CN/Qingdao) alec.zhong at nokia-sbell.com
Tue Mar 26 04:22:47 CET 2019


Hello,

Thanks for your response and clarification.

BR,
Alec
From: Daniel-Constantin Mierla [mailto:miconda at gmail.com]
Sent: 2019年3月26日 11:20
To: Kamailio (SER) - Development Mailing List <sr-dev at lists.kamailio.org>; Zhong, Alec (NSB - CN/Qingdao) <alec.zhong at nokia-sbell.com>
Subject: Re: [sr-dev] add script counter.


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
[cid:image001.png at 01D4E3C6.36A74A70]

Kamailo log
[cid:image002.png at 01D4E3C6.36A74A70]



_______________________________________________

Kamailio (SER) - Development Mailing List

sr-dev at lists.kamailio.org<mailto:sr-dev at lists.kamailio.org>

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

--

Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>

www.twitter.com/miconda<http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com<http://www.kamailioworld.com>

Kamailio Advanced Training - Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com<http://www.asipto.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190326/c45eb974/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 11873 bytes
Desc: image001.png
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190326/c45eb974/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 56969 bytes
Desc: image002.png
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190326/c45eb974/attachment-0003.png>


More information about the sr-dev mailing list