[OpenSIPS-Users] maximum function in opensips

Vlad Paiu vladpaiu at opensips.org
Wed Apr 24 10:43:43 CEST 2013


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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130424/4ec48090/attachment.htm>


More information about the Users mailing list