[SR-Users] Kamailio invite counter
Ali Taher
ataher at vanrise.com
Fri Jun 19 15:54:16 CEST 2015
Hello,
I want to define a counter that increase in every invite.
I tried the below :
if (is_method("INVITE"))
{
$var(u)=$var(u)+1;
xlog("L_INFO","Counter : $var(u) " );
}
But the counter is reset to 1 randomly (even before restarting kamailio
service)
How can have a proper counter that count invite messages.
Thanks
Ali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150619/87269013/attachment.html>
More information about the sr-users
mailing list