yes, you can do this. If you specify as first
parameter an avp alias,
its value will be used
as UUID. (please see
http://www.voice-system.ro/docs/avpops/ar01s04.html)
So, you can do something like:
modparam("avpops","avp_aliases","canonical_uri=i:34")
.
.
avp_write("$ruri","$canonical_uri");
.
.
avp_load("$canonical_uri" , "....."); # this will load avp which have
as
UUID the canonical uri
.
.
Hi Elena,
I tried this,
modparam("avpops","avp_aliases","canonical_uri=I:108")
avp_write("$ruri","$canonical_uri");
avp_db_load("$canonical_uri", "s:");
and got this error,
ERROR:avpops:fixup_db_avp: source/flags "canonical_uri" unknown!
Do I miss something?
Thanks,
Richard