Hi Julian. Are you using the syntax you pasted for modparam?
Try the following syntax: modparam("auth|lcr", "rpid_avp", "$avp(i:302)") Regards. Sergio G. On Sun, Feb 22, 2009 at 7:36 AM, Julian Yap <julianok...@gmail.com> wrote: > 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:8085331...@mysip.server.com<sip%3a8085331...@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 > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Sergio GutiƩrrez
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users