[Users] avp questions

Klaus Darilion klaus.mailinglists at pernau.at
Tue Aug 2 23:36:14 CEST 2005


Hi!

I'm playing with AVPs stored in a database and wonder about the 
following example found in the doc:

avp_db_load("$from","i:678");

This loads all AVPs with attribute==678, regardless of the from URI. Is 
there a usecase for this? If not, why not use the specifier /uri as 
default if no specifier is selected.

Also, in avp_db_load the source may be an avp-alias. Thus, how do you 
differ between the From: header URI "$from" and the avp-alias "$from"?

regards,
Klaus

PS: Maybe I'm a little bit too academic ;-)




More information about the sr-users mailing list