[Users] question about avp
Joachim Fabini
Joachim.Fabini at tuwien.ac.at
Fri Jan 20 13:56:20 CET 2006
You can use the member functions provided by the
avp-module, namely avp_pushto():
avp_pushto("$P-hint","s:function");
--Joachim
> -----Original Message-----
> From: users-bounces at openser.org
> [mailto:users-bounces at openser.org] On Behalf Of unplug
> Sent: Freitag, 20. Jänner 2006 12:04
> To: users at openser.org
> Subject: [Users] question about avp
>
> Say I have a record in the table usr_preferences with username,
> attribute=function, value=voicemail. I use
> avp_db_load("$from/username", "s:function") to get the value. I can
> print out the value in xlog function by using $avp(s:function). How
> can I put that value in the header by using append_hf? As I found
> that it doens't work if I use
> append_hf("P-hint: $avp(s:function)\r\n"). In other words, how can I
> get back the value of the variable stored in avp for other functions
> processing?
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list