[OpenSIPS-Users] Loading rpid_avp from auth
Julian Yap
julianokyap at gmail.com
Sun Feb 22 13:36:18 CET 2009
Hi all,
I'm intending on loading rpid_avp from auth. This will be used with a
P-Asserted-Identity header. I am storing the RPID in the 'rpid' of
the subscriber column of my database.
I believe that s:rpid should then get loaded during authentication but
I think I'm missing something.
Here is my module load line:
modparam("^auth$|lcr", "rpid_avp", "$avp(i:302)")
Then later on, setting the $avp(i:302) manually works:
$avp(i:302) = "<sip:8085331000 at mysip.server.com>";
append_hf("P-Asserted-Identity: $avp(i:302)\r\n");
Any clues here? Basically I want to eliminate the line where I'm
hard-coding in the $avp(i:302) value. I'm kinda confused with the
documentation and haven't found any examples.
Thanks,
Julian
More information about the Users
mailing list