Hello,
On 03/08/07 22:39, Helge Waastad wrote:
Hi, two small questions this time :-)
1.) From 1.2.x modules dok, default rpid_avp for auth is: modparam("auth", "rpid_avp", "$avp(s:rpid)")
However setting this gives a failure:
parse_avp_name: error - use type (s: or i:) in front of avp name Mar 8 21:33:46 proxy-02 /usr/sbin/openser[16128]: ERROR:auth:init_rpid_avp: invalid rpid AVP specs "$avp(s:rpid)" Mar 8 21:33:46 proxy-02 /usr/sbin/openser[16128]: ERROR:auth:mod_init: failed to process rpid AVPs Mar 8 21:33:46 proxy-02 /usr/sbin/openser[16128]: init_mod(): Error while initializing module auth
The "old" way still works: modparam("auth","rpid_avp","s:rpid")
just tested again on my laptop, and works ok with:
modparam("auth", "rpid_avp", "$avp(s:rpid)")
Have you got the latest SVN version? Please send "openser -V" to see the SVN revision, if you compiled from sources.
2.) Earlier I had modparam("tm","fr_inv_timer_avp","s:inv_timeout")
and: avp_db_load("$tu",s:inv_timeout) [inv_timeout attribute in database]
What would be the equivalent with the new avp configuration?
in 1.2.0 is:
modparam("tm","fr_inv_timer_avp","$avp(s:inv_timeout)")
avp_db_load("$tu","$avp(s:inv_timeout)");
Cheers, Daniel
br hw
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users