Hi Guys
What is going to be faster:
if (avp_db_load("$ruri/username", "$avp(s:callfwdimmediate)")) { .... }; if (avp_db_load("$ruri/username", "$avp(s:callfwdbusy)")) { .... }; if (avp_db_load("$ruri/username", "$avp(s:callfwdnoanswer)")) { .... };
or (if it works):
avp_db_load("$ruri/username", "*"); if( is_avp_set("$avp(s:callfwdimmediate)")) { .... }; if( is_avp_set("$avp(s:callfwdbusy)")) { .... }; if( is_avp_set("$avp(s:callfwdnoanswer)")) { .... };
If the second was valid I would have thought it would be quicker.
Thanks Mike