Regarding Joachim's first post...
# This load obviously does also not work.
avp_db_load("$hdr(call-id)","s:myTmpHeaderValue");
You could do:
modparam("avpops", "avp_aliases",
"myTmpHeaderAlias=s:myTmpHeaderName")
avp_db_store("$myTmpHeaderAlias", "s:myTmpHeaderValue");
I tried something similar and it worked.
Thanks for the hint, I'll try this tomorrow. If it really
works then adding the support for dynamic variable names
to OpenSER might be only a matter of parser changes.
regards
--Joachim