Hello,
You can simply compare them with an 'if' statement, like
if ($avp(value1) > $avp(value2))
xlog("$avp(value1) is bigger than $avp(value2) \n");
Best Regards,
Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com
On 04/24/2013 08:48 AM, Pinky harish chandran wrote:
how to find the maximum of two values in opensips?
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users