[Users] Help with pseudo-variable

Daryl Sanders daryl.sanders at gmail.com
Tue Nov 8 04:52:44 CET 2005


First I want to say thank you to everyone for all the kind help I've
received as I start to dig into OpenSER.

I think I'm starting to get a grasp of avps, as I've worked with SER
for a while, but I am seriously struggling to understand the proper
use of pseudo variables in OpenSER.

My thought was to try something like this...

if (avp_check("s:myavp", "eq/$fU/i")) {
# do something here...
};

I was hoping to match against the From URI username with the $fU
pseudo-variable, but this doesn't appear to work. I read the doc but
it's still pretty gray to me.

- Daryl




More information about the Users mailing list