-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
I spent some time to help myself out with this problem. I found that function "dbrow2avp()" in file "modules/avpops/avpops_impl.c" around line 219 has maybe a bug.
It set script flags for loaded AVPs only for type AVPOPS_VAL_PVAR (this means only for avp(name) spec e.g. $avp(i1:10))
For the other types (AVPOPS_VAL_NONE, AVPOPS_VAL_INT, AVPOPS_VAL_STR) (means "i/I", "s/S", "a/A") the scriptflags are never set after loading AVPs from DB.
So just comment out or delete line 219 -> "if(dbp->a.type==AVPOPS_VAL_PVAR)"
so that "db_flags |= dbp->a.u.sval.pvp.pvn.u.isname.type&0xff00;" is always executed.
Dunno if this is the right place or hack to solve my problem cleanly, but currently it works for me to do something like avp_db_load("$fu", "i1") to load all integer AVPs with scriptflags=1 for party A and avp_db_load("$ru", "i2") to load same avp ids für party B with scriptflags=2.
regards Helmut