[Users] Call-specific AVP DBS storage for OpenSER

Joachim Fabini Joachim.Fabini at tuwien.ac.at
Mon Jan 23 20:58:54 CET 2006


> 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





More information about the sr-users mailing list