Hi,

You can use the statistics module, and create a new statistic, that you can increment once a new call gets in. See [1] .

[1] http://www.opensips.org/html/docs/modules/devel/statistics

Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com


On 05/07/2012 05:00 PM, prasad kelkar wrote:
hello,
I want to declare one "count"variable which count number of calls.
I declared it in global parameter section of opensips.cfg as $var(count)=0;
It did not work.
Please tell me where to declare new variable and how to use in route block.
An example will help.
thank you.


_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to