Hi!
When I load AVPs during authentication - what type is the content of the AVP? string? integer? Is it automatically derived from the column type (like avp_db_query)?
My problem is: I want to load an integer value and compare it against an integer:
modparam("auth_db", "load_credentials", "s:maxcalls=maxcalls") ... if(avp_check("$avp(i:40)", "ge/$avp(s:maxcalls)/g") {
Does this work? What happens if I compare an integer with a string - will there be a conversion?
thanks klaus