Hi Jeremy,
For openser 1.2 it will be:
if (avp_db_load("$ru/username", "$avp(s:anonreject)")) {
if (avp_check("$avp(s:anonreject)", "eq/y/i)") &&
search("^(f|F)rom:.*(a|A)nonymous")) {
avp_delete("$avp(s:anonreject)");
regards,
bogdan
PS: see
http://www.openser.org/docs/modules/1.2.x/avpops.html
Jeremy George wrote:
Can someone help me with translating this ser config
snippet to openser?
Thanks.
if (avp_db_load("$ruri/username", "s:anonreject")) {
if (avp_check("s:anonreject", "eq/y/i)") &&
search("^(f|F)rom:.*(a|A)nonymous")) {
avp_delete("$avp(s:anonreject)");
- Jeremy
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users