Hi,
On Fri, Jul 28, 2017 at 6:03 PM, hdssdsdsdsfsdf hdssdsdsdsfsdf hdssdsdsdsfsdf@mail.com wrote:
if (avp_db_load("$to/username", "$avp(s:email)")) { xlog("bla02"); }
$to is not a valid pseudo variable. You probably want to replace "$to/username" by "$tU" or "$rU" or some variable where the user you are searching is written in the SIP packet.
BR Sebastian