[OpenSIPS-Users] to use integer values in avpops
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Jun 22 00:28:27 CEST 2012
Hi,
Use the {s.int} transformation:
http://www.opensips.org/Resources/DocsCoreTran18#toc3
-> if ( $(avp(i:1){s.int}) < $(avp(i:(2){s.int}) )
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 06/21/2012 06:34 PM, prasad kelkar wrote:
> hello,
> Avpops with string works well.
> But how to use int values if you want to compare two of them?
> example if you have if(avp(i:1<avp(i:(2))
> please help
> thank you
>
>
> _______________________________________________
> 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/20120622/23d028cc/attachment.htm>
More information about the Users
mailing list