I want to use the RURI username in an avp query. I've seen a bunch of different ways to select it. Which way is correct?
I am currently using $ruri/username, because I got an error with $rU.
http://openser.org/docs/pseudo-variables.html shows '$rU', which complains when I try to reference that.
Aug 21 06:55:58 www openser[89119]: ERROR:avpops:fixup_pushto_avp: unsupported destination "$rU"; expected $ru,$du,$br Aug 21 06:55:58 www openser[89119]: ERROR: fix_actions: fixing failed (code=-1) at cfg line 82
It's weird, the source code in items.c reads:
{{"ru", (sizeof("ru")-1)}, /* */ { XL_RURI, 0, xl_get_ruri, {{0, 0}, 0}, {0, 0}}}, {{"ruri", (sizeof("ruri")-1)}, /* */ { XL_RURI, 0, xl_get_ruri, {{0, 0}, 0}, {0, 0}}}, {{"rU", (sizeof("rU")-1)}, /* */ { XL_RURI_USERNAME, 0, xl_get_ruri_attr, {{0, 1}, 0}, {0, 0}}},
Is there a list of the variables that are available in an avp operation?
-g